1 #include "kirkwood.dtsi"
2 #include "kirkwood-6281.dtsi"
6 bootargs = "console=ttyS0,115200n8 earlyprintk";
11 pinctrl: pin-controller@10000 {
12 pmx_power_hdd: pmx-power-hdd {
13 marvell,pins = "mpp10";
14 marvell,function = "gpo";
16 pmx_usb_vbus: pmx-usb-vbus {
17 marvell,pins = "mpp11";
18 marvell,function = "gpio";
20 pmx_fan_high: pmx-fan-high {
21 marvell,pins = "mpp18";
22 marvell,function = "gpo";
24 pmx_fan_low: pmx-fan-low {
25 marvell,pins = "mpp19";
26 marvell,function = "gpo";
28 pmx_led_function_blue: pmx-led-function-blue {
29 marvell,pins = "mpp36";
30 marvell,function = "gpio";
32 pmx_led_alarm: pmx-led-alarm {
33 marvell,pins = "mpp37";
34 marvell,function = "gpio";
36 pmx_led_info: pmx-led-info {
37 marvell,pins = "mpp38";
38 marvell,function = "gpio";
40 pmx_led_power: pmx-led-power {
41 marvell,pins = "mpp39";
42 marvell,function = "gpio";
44 pmx_fan_lock: pmx-fan-lock {
45 marvell,pins = "mpp40";
46 marvell,function = "gpio";
48 pmx_button_function: pmx-button-function {
49 marvell,pins = "mpp41";
50 marvell,function = "gpio";
52 pmx_power_switch: pmx-power-switch {
53 marvell,pins = "mpp42";
54 marvell,function = "gpio";
56 pmx_power_auto_switch: pmx-power-auto-switch {
57 marvell,pins = "mpp43";
58 marvell,function = "gpio";
60 pmx_led_function_red: pmx-led-function_red {
61 marvell,pins = "mpp48";
62 marvell,function = "gpio";
77 compatible = "m25p40", "jedec,spi-nor";
79 spi-max-frequency = <25000000>;
89 reg = <0x60000 0x10000>;
95 reg = <0x70000 0x10000>;
103 compatible = "gpio-keys";
104 #address-cells = <1>;
106 pinctrl-0 = <&pmx_button_function &pmx_power_switch
107 &pmx_power_auto_switch>;
108 pinctrl-names = "default";
111 label = "Function Button";
112 linux,code = <KEY_OPTION>;
113 gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;
116 label = "Power-on Switch";
117 linux,code = <KEY_RESERVED>;
118 linux,input-type = <5>;
119 gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;
122 label = "Power-auto Switch";
123 linux,code = <KEY_ESC>;
124 linux,input-type = <5>;
125 gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
130 compatible = "gpio-leds";
131 pinctrl-0 = <&pmx_led_function_red &pmx_led_alarm
132 &pmx_led_info &pmx_led_power
133 &pmx_led_function_blue>;
134 pinctrl-names = "default";
137 label = "lsxl:blue:func";
138 gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
142 label = "lsxl:red:alarm";
143 gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
147 label = "lsxl:amber:info";
148 gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
152 label = "lsxl:blue:power";
153 gpios = <&gpio1 7 GPIO_ACTIVE_LOW>;
154 default-state = "keep";
158 label = "lsxl:red:func";
159 gpios = <&gpio1 16 GPIO_ACTIVE_LOW>;
164 compatible = "gpio-fan";
165 pinctrl-0 = <&pmx_fan_low &pmx_fan_high &pmx_fan_lock>;
166 pinctrl-names = "default";
167 gpios = <&gpio0 19 GPIO_ACTIVE_LOW
168 &gpio0 18 GPIO_ACTIVE_LOW>;
169 gpio-fan,speed-map = <0 3
173 alarm-gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>;
177 compatible = "restart-poweroff";
181 compatible = "simple-bus";
182 #address-cells = <1>;
184 pinctrl-0 = <&pmx_power_hdd &pmx_usb_vbus>;
185 pinctrl-names = "default";
187 usb_power: regulator@1 {
188 compatible = "regulator-fixed";
190 regulator-name = "USB Power";
191 regulator-min-microvolt = <5000000>;
192 regulator-max-microvolt = <5000000>;
196 gpio = <&gpio0 11 0>;
198 hdd_power: regulator@2 {
199 compatible = "regulator-fixed";
201 regulator-name = "HDD Power";
202 regulator-min-microvolt = <5000000>;
203 regulator-max-microvolt = <5000000>;
207 gpio = <&gpio0 10 0>;
215 ethphy0: ethernet-phy@0 {
219 ethphy1: ethernet-phy@8 {
227 phy-handle = <ðphy0>;
234 phy-handle = <ðphy1>;