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>;
69 compatible = "semtech,sx1505q";
75 /* Three GPIOs from 0x21 exp. are undescribed in dts:
76 * 1: DSL module reset (active low)
77 * 5: mPCIE reset (active low)
78 * 6: Express card reset (active low)
80 gpio3: gpio-expander@21 {
82 #interrupt-cells = <2>;
84 compatible = "semtech,sx1505q";
91 compatible = "s35390a";
98 compatible = "gpio-leds";
101 label = "l-50:green:status";
102 gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
106 label = "l-50:red:status";
107 gpios = <&gpio3 2 GPIO_ACTIVE_LOW>;
111 label = "l-50:green:wifi";
112 gpios = <&gpio2 7 GPIO_ACTIVE_LOW>;
113 linux,default-trigger = "phy0tpt";
117 label = "l-50:green:internet";
118 gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
122 label = "l-50:red:internet";
123 gpios = <&gpio2 1 GPIO_ACTIVE_LOW>;
127 label = "l-50:green:usb1";
128 gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
129 linux,default-trigger = "usbport";
130 trigger-sources = <&hub_port3>;
134 label = "l-50:red:usb1";
135 gpios = <&gpio2 4 GPIO_ACTIVE_LOW>;
139 label = "l-50:green:usb2";
140 gpios = <&gpio2 2 GPIO_ACTIVE_LOW>;
141 linux,default-trigger = "usbport";
142 trigger-sources = <&hub_port1>;
146 label = "l-50:red:usb2";
147 gpios = <&gpio2 5 GPIO_ACTIVE_LOW>;
152 compatible = "regulator-fixed";
153 regulator-name = "usb2_pwr";
155 regulator-min-microvolt = <5000000>;
156 regulator-max-microvolt = <5000000>;
157 gpio = <&gpio3 3 GPIO_ACTIVE_LOW>;
162 compatible = "regulator-fixed";
163 regulator-name = "usb1_pwr";
165 regulator-min-microvolt = <5000000>;
166 regulator-max-microvolt = <5000000>;
167 gpio = <&gpio3 4 GPIO_ACTIVE_LOW>;
172 compatible = "regulator-fixed";
173 regulator-name = "mpcie_pwr";
175 regulator-min-microvolt = <3300000>;
176 regulator-max-microvolt = <3300000>;
177 gpio = <&gpio3 5 GPIO_ACTIVE_HIGH>;
183 compatible = "regulator-fixed";
184 regulator-name = "express_card_pwr";
186 regulator-min-microvolt = <3300000>;
187 regulator-max-microvolt = <3300000>;
188 gpio = <&gpio3 7 GPIO_ACTIVE_HIGH>;
194 compatible = "gpio-keys";
197 label = "factory_defaults";
198 gpios = <&gpio0 29 GPIO_ACTIVE_LOW>;
199 linux,code = <KEY_RESTART>;
207 ethphy8: ethernet-phy@8 {
212 compatible = "marvell,mv88e6085";
213 #address-cells = <1>;
219 #address-cells = <1>;
247 switch0port5: port@5 {
249 phy-mode = "rgmii-txid";
250 link = <&switch1port5>;
259 phy-mode = "rgmii-id";
260 ethernet = <ð1port>;
270 compatible = "marvell,mv88e6085";
271 #address-cells = <1>;
277 #address-cells = <1>;
300 switch1port5: port@5 {
302 phy-mode = "rgmii-txid";
303 link = <&switch0port5>;
325 phy-handle = <ðphy8>;
340 pinctrl-0 = <&pmx_nand>;
341 pinctrl-names = "default";
345 reg = <0x00000000 0x000c0000>;
349 label = "bootldr-env";
350 reg = <0x000c0000 0x00040000>;
355 reg = <0x00100000 0x00800000>;
360 reg = <0x00900000 0x07100000>;
365 reg = <0x07a00000 0x00800000>;
370 reg = <0x08200000 0x07100000>;
374 label = "default_sw";
375 reg = <0x0f300000 0x07900000>;
380 reg = <0x16c00000 0x01800000>;
384 label = "preset_cfg";
385 reg = <0x18400000 0x00100000>;
390 reg = <0x18500000 0x00100000>;
395 reg = <0x18600000 0x07a00000>;
420 #address-cells = <1>;
425 #address-cells = <1>;
428 #trigger-source-cells = <0>;
432 #trigger-source-cells = <0>;
437 #trigger-source-cells = <0>;