1 // SPDX-License-Identifier: GPL-2.0
3 * Check Point L-50 Board Description
4 * Copyright 2020 Pawel Dembicki <paweldembicki@gmail.com>
9 #include "kirkwood.dtsi"
10 #include "kirkwood-6281.dtsi"
13 model = "Check Point L-50";
14 compatible = "checkpoint,l-50", "marvell,kirkwood-88f6281", "marvell,kirkwood";
17 device_type = "memory";
18 reg = <0x00000000 0x20000000>;
22 bootargs = "console=ttyS0,115200n8";
27 pinctrl: pin-controller@10000 {
28 pinctrl-0 = <&pmx_led38 &pmx_sysrst &pmx_button29>;
29 pinctrl-names = "default";
31 pmx_sysrst: pmx-sysrst {
32 marvell,pins = "mpp6";
33 marvell,function = "sysrst";
36 pmx_button29: pmx_button29 {
37 marvell,pins = "mpp29";
38 marvell,function = "gpio";
41 pmx_led38: pmx_led38 {
42 marvell,pins = "mpp38";
43 marvell,function = "gpio";
46 pmx_sdio_cd: pmx-sdio-cd {
47 marvell,pins = "mpp46";
48 marvell,function = "gpio";
58 cd-gpios = <&gpio1 14 9>;
63 clock-frequency = <400000>;
65 gpio2: gpio-expander@20{
67 #interrupt-cells = <2>;
68 compatible = "semtech,sx1505q";
74 /* Three GPIOs from 0x21 exp. are undescribed in dts:
75 * 1: DSL module reset (active low)
76 * 5: mPCIE reset (active low)
77 * 6: Express card reset (active low)
79 gpio3: gpio-expander@21{
81 #interrupt-cells = <2>;
82 compatible = "semtech,sx1505q";
89 compatible = "s35390a";
96 compatible = "gpio-leds";
99 label = "l-50:green:status";
100 gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
104 label = "l-50:red:status";
105 gpios = <&gpio3 2 GPIO_ACTIVE_LOW>;
109 label = "l-50:green:wifi";
110 gpios = <&gpio2 7 GPIO_ACTIVE_LOW>;
111 linux,default-trigger = "phy0tpt";
115 label = "l-50:green:internet";
116 gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
120 label = "l-50:red:internet";
121 gpios = <&gpio2 1 GPIO_ACTIVE_LOW>;
125 label = "l-50:green:usb1";
126 gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
127 linux,default-trigger = "usbport";
128 trigger-sources = <&hub_port3>;
132 label = "l-50:red:usb1";
133 gpios = <&gpio2 4 GPIO_ACTIVE_LOW>;
137 label = "l-50:green:usb2";
138 gpios = <&gpio2 2 GPIO_ACTIVE_LOW>;
139 linux,default-trigger = "usbport";
140 trigger-sources = <&hub_port1>;
144 label = "l-50:red:usb2";
145 gpios = <&gpio2 5 GPIO_ACTIVE_LOW>;
150 compatible = "regulator-fixed";
151 regulator-name = "usb2_pwr";
153 regulator-min-microvolt = <5000000>;
154 regulator-max-microvolt = <5000000>;
155 gpio = <&gpio3 3 GPIO_ACTIVE_LOW>;
160 compatible = "regulator-fixed";
161 regulator-name = "usb1_pwr";
163 regulator-min-microvolt = <5000000>;
164 regulator-max-microvolt = <5000000>;
165 gpio = <&gpio3 4 GPIO_ACTIVE_LOW>;
170 compatible = "regulator-fixed";
171 regulator-name = "mpcie_pwr";
173 regulator-min-microvolt = <3300000>;
174 regulator-max-microvolt = <3300000>;
175 gpio = <&gpio3 5 GPIO_ACTIVE_HIGH>;
181 compatible = "regulator-fixed";
182 regulator-name = "express_card_pwr";
184 regulator-min-microvolt = <3300000>;
185 regulator-max-microvolt = <3300000>;
186 gpio = <&gpio3 7 GPIO_ACTIVE_HIGH>;
192 compatible = "gpio-keys";
195 label = "factory_defaults";
196 gpios = <&gpio0 29 GPIO_ACTIVE_LOW>;
197 linux,code = <KEY_RESTART>;
205 ethphy8: ethernet-phy@8 {
210 compatible = "marvell,mv88e6085";
211 #address-cells = <1>;
217 #address-cells = <1>;
245 switch0port5: port@5 {
247 phy-mode = "rgmii-txid";
248 link = <&switch1port5>;
258 phy-mode = "rgmii-id";
259 ethernet = <ð1port>;
269 compatible = "marvell,mv88e6085";
270 #address-cells = <1>;
276 #address-cells = <1>;
299 switch1port5: port@5 {
301 phy-mode = "rgmii-txid";
302 link = <&switch0port5>;
324 phy-handle = <ðphy8>;
338 pinctrl-0 = <&pmx_nand>;
339 pinctrl-names = "default";
343 reg = <0x00000000 0x000c0000>;
347 label = "bootldr-env";
348 reg = <0x000c0000 0x00040000>;
353 reg = <0x00100000 0x00800000>;
358 reg = <0x00900000 0x07100000>;
363 reg = <0x07a00000 0x00800000>;
368 reg = <0x08200000 0x07100000>;
372 label = "default_sw";
373 reg = <0x0f300000 0x07900000>;
378 reg = <0x16c00000 0x01800000>;
382 label = "preset_cfg";
383 reg = <0x18400000 0x00100000>;
388 reg = <0x18500000 0x00100000>;
393 reg = <0x18600000 0x07a00000>;
418 #address-cells = <1>;
423 #address-cells = <1>;
426 #trigger-source-cells = <0>;
430 #trigger-source-cells = <0>;
435 #trigger-source-cells = <0>;