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 /* Non-default UART pins */
14 pmx_uart0: pmx-uart0 {
15 marvell,pins = "mpp4", "mpp5";
18 pmx_power_hdd: pmx-power-hdd {
19 marvell,pins = "mpp10";
20 marvell,function = "gpo";
22 pmx_usb_vbus: pmx-usb-vbus {
23 marvell,pins = "mpp11";
24 marvell,function = "gpio";
26 pmx_fan_high: pmx-fan-high {
27 marvell,pins = "mpp18";
28 marvell,function = "gpo";
30 pmx_fan_low: pmx-fan-low {
31 marvell,pins = "mpp19";
32 marvell,function = "gpo";
34 pmx_led_function_blue: pmx-led-function-blue {
35 marvell,pins = "mpp36";
36 marvell,function = "gpio";
38 pmx_led_alarm: pmx-led-alarm {
39 marvell,pins = "mpp37";
40 marvell,function = "gpio";
42 pmx_led_info: pmx-led-info {
43 marvell,pins = "mpp38";
44 marvell,function = "gpio";
46 pmx_led_power: pmx-led-power {
47 marvell,pins = "mpp39";
48 marvell,function = "gpio";
50 pmx_fan_lock: pmx-fan-lock {
51 marvell,pins = "mpp40";
52 marvell,function = "gpio";
54 pmx_button_function: pmx-button-function {
55 marvell,pins = "mpp41";
56 marvell,function = "gpio";
58 pmx_power_switch: pmx-power-switch {
59 marvell,pins = "mpp42";
60 marvell,function = "gpio";
62 pmx_power_auto_switch: pmx-power-auto-switch {
63 marvell,pins = "mpp43";
64 marvell,function = "gpio";
66 pmx_led_function_red: pmx-led-function_red {
67 marvell,pins = "mpp48";
68 marvell,function = "gpio";
83 compatible = "m25p40", "jedec,spi-nor";
85 spi-max-frequency = <25000000>;
95 reg = <0x60000 0x10000>;
101 reg = <0x70000 0x10000>;
109 compatible = "gpio-keys";
110 #address-cells = <1>;
112 pinctrl-0 = <&pmx_button_function &pmx_power_switch
113 &pmx_power_auto_switch>;
114 pinctrl-names = "default";
117 label = "Function Button";
118 linux,code = <KEY_OPTION>;
119 gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;
122 label = "Power-on Switch";
123 linux,code = <KEY_RESERVED>;
124 linux,input-type = <5>;
125 gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;
128 label = "Power-auto Switch";
129 linux,code = <KEY_ESC>;
130 linux,input-type = <5>;
131 gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
136 compatible = "gpio-leds";
137 pinctrl-0 = <&pmx_led_function_red &pmx_led_alarm
138 &pmx_led_info &pmx_led_power
139 &pmx_led_function_blue>;
140 pinctrl-names = "default";
143 label = "lsxl:blue:func";
144 gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
148 label = "lsxl:red:alarm";
149 gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
153 label = "lsxl:amber:info";
154 gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
158 label = "lsxl:blue:power";
159 gpios = <&gpio1 7 GPIO_ACTIVE_LOW>;
160 default-state = "keep";
164 label = "lsxl:red:func";
165 gpios = <&gpio1 16 GPIO_ACTIVE_LOW>;
170 compatible = "gpio-fan";
171 pinctrl-0 = <&pmx_fan_low &pmx_fan_high &pmx_fan_lock>;
172 pinctrl-names = "default";
173 gpios = <&gpio0 19 GPIO_ACTIVE_LOW
174 &gpio0 18 GPIO_ACTIVE_LOW>;
175 gpio-fan,speed-map = <0 3
179 alarm-gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>;
183 compatible = "restart-poweroff";
187 compatible = "simple-bus";
188 #address-cells = <1>;
190 pinctrl-0 = <&pmx_power_hdd &pmx_usb_vbus>;
191 pinctrl-names = "default";
193 usb_power: regulator@1 {
194 compatible = "regulator-fixed";
196 regulator-name = "USB Power";
197 regulator-min-microvolt = <5000000>;
198 regulator-max-microvolt = <5000000>;
202 gpio = <&gpio0 11 0>;
204 hdd_power: regulator@2 {
205 compatible = "regulator-fixed";
207 regulator-name = "HDD Power";
208 regulator-min-microvolt = <5000000>;
209 regulator-max-microvolt = <5000000>;
213 gpio = <&gpio0 10 0>;
221 ethphy1: ethernet-phy@8 {
229 phy-handle = <ðphy1>;