1 #include "kirkwood.dtsi"
2 #include "kirkwood-6281.dtsi"
6 bootargs = "console=ttyS0,115200n8 earlyprintk";
10 pinctrl: pinctrl@10000 {
11 pmx_power_hdd: pmx-power-hdd {
12 marvell,pins = "mpp10";
13 marvell,function = "gpo";
15 pmx_usb_vbus: pmx-usb-vbus {
16 marvell,pins = "mpp11";
17 marvell,function = "gpio";
19 pmx_fan_high: pmx-fan-high {
20 marvell,pins = "mpp18";
21 marvell,function = "gpo";
23 pmx_fan_low: pmx-fan-low {
24 marvell,pins = "mpp19";
25 marvell,function = "gpo";
27 pmx_led_function_blue: pmx-led-function-blue {
28 marvell,pins = "mpp36";
29 marvell,function = "gpio";
31 pmx_led_alarm: pmx-led-alarm {
32 marvell,pins = "mpp37";
33 marvell,function = "gpio";
35 pmx_led_info: pmx-led-info {
36 marvell,pins = "mpp38";
37 marvell,function = "gpio";
39 pmx_led_power: pmx-led-power {
40 marvell,pins = "mpp39";
41 marvell,function = "gpio";
43 pmx_fan_lock: pmx-fan-lock {
44 marvell,pins = "mpp40";
45 marvell,function = "gpio";
47 pmx_button_function: pmx-button-function {
48 marvell,pins = "mpp41";
49 marvell,function = "gpio";
51 pmx_power_switch: pmx-power-switch {
52 marvell,pins = "mpp42";
53 marvell,function = "gpio";
55 pmx_power_auto_switch: pmx-power-auto-switch {
56 marvell,pins = "mpp43";
57 marvell,function = "gpio";
59 pmx_led_function_red: pmx-led-function_red {
60 marvell,pins = "mpp48";
61 marvell,function = "gpio";
76 compatible = "m25p40";
78 spi-max-frequency = <25000000>;
88 reg = <0x60000 0x10000>;
94 reg = <0x70000 0x10000>;
102 compatible = "gpio-keys";
103 #address-cells = <1>;
105 pinctrl-0 = <&pmx_button_function &pmx_power_switch
106 &pmx_power_auto_switch>;
107 pinctrl-names = "default";
110 label = "Function Button";
112 gpios = <&gpio1 9 1>;
115 label = "Power-on Switch";
117 linux,input-type = <5>;
118 gpios = <&gpio1 10 1>;
121 label = "Power-auto Switch";
123 linux,input-type = <5>;
124 gpios = <&gpio1 11 1>;
129 compatible = "gpio-leds";
130 pinctrl-0 = <&pmx_led_function_red &pmx_led_alarm
131 &pmx_led_info &pmx_led_power
132 &pmx_led_function_blue>;
133 pinctrl-names = "default";
136 label = "lsxl:blue:func";
137 gpios = <&gpio1 4 1>;
141 label = "lsxl:red:alarm";
142 gpios = <&gpio1 5 1>;
146 label = "lsxl:amber:info";
147 gpios = <&gpio1 6 1>;
151 label = "lsxl:blue:power";
152 gpios = <&gpio1 7 1>;
153 linux,default-trigger = "default-on";
157 label = "lsxl:red:func";
158 gpios = <&gpio1 16 1>;
163 compatible = "gpio-fan";
164 pinctrl-0 = <&pmx_fan_low &pmx_fan_high &pmx_fan_lock>;
165 pinctrl-names = "default";
168 gpio-fan,speed-map = <0 3
172 alarm-gpios = <&gpio1 8 0>;
176 compatible = "restart-poweroff";
180 compatible = "simple-bus";
181 #address-cells = <1>;
183 pinctrl-0 = <&pmx_power_hdd &pmx_usb_vbus>;
184 pinctrl-names = "default";
186 usb_power: regulator@1 {
187 compatible = "regulator-fixed";
189 regulator-name = "USB Power";
190 regulator-min-microvolt = <5000000>;
191 regulator-max-microvolt = <5000000>;
195 gpio = <&gpio0 11 0>;
197 hdd_power: regulator@2 {
198 compatible = "regulator-fixed";
200 regulator-name = "HDD Power";
201 regulator-min-microvolt = <5000000>;
202 regulator-max-microvolt = <5000000>;
206 gpio = <&gpio0 10 0>;
214 ethphy0: ethernet-phy@0 {
215 device_type = "ethernet-phy";
219 ethphy1: ethernet-phy@8 {
220 device_type = "ethernet-phy";
228 phy-handle = <ðphy0>;
235 phy-handle = <ðphy1>;