1 // SPDX-License-Identifier: GPL-2.0
2 #include "kirkwood.dtsi"
3 #include "kirkwood-6281.dtsi"
7 bootargs = "console=ttyS0,115200n8 earlyprintk";
12 pinctrl: pin-controller@10000 {
13 pmx_power_hdd: pmx-power-hdd {
14 marvell,pins = "mpp10";
15 marvell,function = "gpo";
17 pmx_usb_vbus: pmx-usb-vbus {
18 marvell,pins = "mpp11";
19 marvell,function = "gpio";
21 pmx_fan_high: pmx-fan-high {
22 marvell,pins = "mpp18";
23 marvell,function = "gpo";
25 pmx_fan_low: pmx-fan-low {
26 marvell,pins = "mpp19";
27 marvell,function = "gpo";
29 pmx_led_function_blue: pmx-led-function-blue {
30 marvell,pins = "mpp36";
31 marvell,function = "gpio";
33 pmx_led_alarm: pmx-led-alarm {
34 marvell,pins = "mpp37";
35 marvell,function = "gpio";
37 pmx_led_info: pmx-led-info {
38 marvell,pins = "mpp38";
39 marvell,function = "gpio";
41 pmx_led_power: pmx-led-power {
42 marvell,pins = "mpp39";
43 marvell,function = "gpio";
45 pmx_fan_lock: pmx-fan-lock {
46 marvell,pins = "mpp40";
47 marvell,function = "gpio";
49 pmx_button_function: pmx-button-function {
50 marvell,pins = "mpp41";
51 marvell,function = "gpio";
53 pmx_power_switch: pmx-power-switch {
54 marvell,pins = "mpp42";
55 marvell,function = "gpio";
57 pmx_power_auto_switch: pmx-power-auto-switch {
58 marvell,pins = "mpp43";
59 marvell,function = "gpio";
61 pmx_led_function_red: pmx-led-function_red {
62 marvell,pins = "mpp48";
63 marvell,function = "gpio";
78 compatible = "m25p40", "jedec,spi-nor";
80 spi-max-frequency = <25000000>;
90 reg = <0x60000 0x10000>;
96 reg = <0x70000 0x10000>;
104 compatible = "gpio-keys";
105 #address-cells = <1>;
107 pinctrl-0 = <&pmx_button_function &pmx_power_switch
108 &pmx_power_auto_switch>;
109 pinctrl-names = "default";
112 label = "Function Button";
113 linux,code = <KEY_OPTION>;
114 gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;
117 label = "Power-on Switch";
118 linux,code = <KEY_RESERVED>;
119 linux,input-type = <5>;
120 gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;
123 label = "Power-auto Switch";
124 linux,code = <KEY_ESC>;
125 linux,input-type = <5>;
126 gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
131 compatible = "gpio-leds";
132 pinctrl-0 = <&pmx_led_function_red &pmx_led_alarm
133 &pmx_led_info &pmx_led_power
134 &pmx_led_function_blue>;
135 pinctrl-names = "default";
138 label = "lsxl:blue:func";
139 gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
143 label = "lsxl:red:alarm";
144 gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
148 label = "lsxl:amber:info";
149 gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
153 label = "lsxl:blue:power";
154 gpios = <&gpio1 7 GPIO_ACTIVE_LOW>;
155 default-state = "keep";
159 label = "lsxl:red:func";
160 gpios = <&gpio1 16 GPIO_ACTIVE_LOW>;
165 compatible = "gpio-fan";
166 pinctrl-0 = <&pmx_fan_low &pmx_fan_high &pmx_fan_lock>;
167 pinctrl-names = "default";
168 gpios = <&gpio0 19 GPIO_ACTIVE_LOW
169 &gpio0 18 GPIO_ACTIVE_LOW>;
170 gpio-fan,speed-map = <0 3
174 alarm-gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>;
178 compatible = "restart-poweroff";
182 compatible = "simple-bus";
183 #address-cells = <1>;
185 pinctrl-0 = <&pmx_power_hdd &pmx_usb_vbus>;
186 pinctrl-names = "default";
188 usb_power: regulator@1 {
189 compatible = "regulator-fixed";
191 regulator-name = "USB Power";
192 regulator-min-microvolt = <5000000>;
193 regulator-max-microvolt = <5000000>;
197 gpio = <&gpio0 11 0>;
199 hdd_power: regulator@2 {
200 compatible = "regulator-fixed";
202 regulator-name = "HDD Power";
203 regulator-min-microvolt = <5000000>;
204 regulator-max-microvolt = <5000000>;
208 gpio = <&gpio0 10 0>;
216 ethphy0: ethernet-phy@0 {
220 ethphy1: ethernet-phy@8 {
228 phy-handle = <ðphy0>;
235 phy-handle = <ðphy1>;