1 // SPDX-License-Identifier: GPL-2.0
2 #include "kirkwood.dtsi"
3 #include "kirkwood-6281.dtsi"
7 bootargs = "console=ttyS0,115200n8 earlyprintk";
16 pinctrl: pin-controller@10000 {
17 pmx_power_hdd: pmx-power-hdd {
18 marvell,pins = "mpp10";
19 marvell,function = "gpo";
21 pmx_usb_vbus: pmx-usb-vbus {
22 marvell,pins = "mpp11";
23 marvell,function = "gpio";
25 pmx_fan_high: pmx-fan-high {
26 marvell,pins = "mpp18";
27 marvell,function = "gpo";
29 pmx_fan_low: pmx-fan-low {
30 marvell,pins = "mpp19";
31 marvell,function = "gpo";
33 pmx_led_function_blue: pmx-led-function-blue {
34 marvell,pins = "mpp36";
35 marvell,function = "gpio";
37 pmx_led_alarm: pmx-led-alarm {
38 marvell,pins = "mpp37";
39 marvell,function = "gpio";
41 pmx_led_info: pmx-led-info {
42 marvell,pins = "mpp38";
43 marvell,function = "gpio";
45 pmx_led_power: pmx-led-power {
46 marvell,pins = "mpp39";
47 marvell,function = "gpio";
49 pmx_fan_lock: pmx-fan-lock {
50 marvell,pins = "mpp40";
51 marvell,function = "gpio";
53 pmx_button_function: pmx-button-function {
54 marvell,pins = "mpp41";
55 marvell,function = "gpio";
57 pmx_power_switch: pmx-power-switch {
58 marvell,pins = "mpp42";
59 marvell,function = "gpio";
61 pmx_power_auto_switch: pmx-power-auto-switch {
62 marvell,pins = "mpp43";
63 marvell,function = "gpio";
65 pmx_led_function_red: pmx-led-function_red {
66 marvell,pins = "mpp48";
67 marvell,function = "gpio";
82 compatible = "m25p40", "jedec,spi-nor";
84 spi-max-frequency = <25000000>;
94 reg = <0x60000 0x10000>;
100 reg = <0x70000 0x10000>;
108 compatible = "gpio-keys";
109 #address-cells = <1>;
111 pinctrl-0 = <&pmx_button_function &pmx_power_switch
112 &pmx_power_auto_switch>;
113 pinctrl-names = "default";
116 label = "Function Button";
117 linux,code = <KEY_OPTION>;
118 gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;
121 label = "Power-on Switch";
122 linux,code = <KEY_RESERVED>;
123 linux,input-type = <5>;
124 gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;
127 label = "Power-auto Switch";
128 linux,code = <KEY_ESC>;
129 linux,input-type = <5>;
130 gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
135 compatible = "gpio-leds";
136 pinctrl-0 = <&pmx_led_function_red &pmx_led_alarm
137 &pmx_led_info &pmx_led_power
138 &pmx_led_function_blue>;
139 pinctrl-names = "default";
142 label = "lsxl:blue:func";
143 gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
147 label = "lsxl:red:alarm";
148 gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
152 label = "lsxl:amber:info";
153 gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
157 label = "lsxl:blue:power";
158 gpios = <&gpio1 7 GPIO_ACTIVE_LOW>;
159 default-state = "keep";
163 label = "lsxl:red:func";
164 gpios = <&gpio1 16 GPIO_ACTIVE_LOW>;
169 compatible = "gpio-fan";
170 pinctrl-0 = <&pmx_fan_low &pmx_fan_high &pmx_fan_lock>;
171 pinctrl-names = "default";
172 gpios = <&gpio0 19 GPIO_ACTIVE_LOW
173 &gpio0 18 GPIO_ACTIVE_LOW>;
174 gpio-fan,speed-map = <0 3
178 alarm-gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>;
182 compatible = "restart-poweroff";
186 compatible = "simple-bus";
187 #address-cells = <1>;
189 pinctrl-0 = <&pmx_power_hdd &pmx_usb_vbus>;
190 pinctrl-names = "default";
192 usb_power: regulator@1 {
193 compatible = "regulator-fixed";
195 regulator-name = "USB Power";
196 regulator-min-microvolt = <5000000>;
197 regulator-max-microvolt = <5000000>;
201 gpio = <&gpio0 11 0>;
203 hdd_power: regulator@2 {
204 compatible = "regulator-fixed";
206 regulator-name = "HDD Power";
207 regulator-min-microvolt = <5000000>;
208 regulator-max-microvolt = <5000000>;
212 gpio = <&gpio0 10 0>;
220 ethphy0: ethernet-phy@0 {
224 ethphy1: ethernet-phy@8 {
232 phy-handle = <ðphy0>;
239 phy-handle = <ðphy1>;