1 /include/ "kirkwood.dtsi"
2 /include/ "kirkwood-6281.dtsi"
6 bootargs = "console=ttyS0,115200n8 earlyprintk";
10 pinctrl: pinctrl@10000 {
12 pinctrl-0 = < &pmx_power_hdd &pmx_usb_vbus
13 &pmx_fan_low &pmx_fan_high
14 &pmx_led_function_red &pmx_led_alarm
15 &pmx_led_info &pmx_led_power
16 &pmx_fan_lock &pmx_button_function
17 &pmx_power_switch &pmx_power_auto_switch
18 &pmx_led_function_blue >;
19 pinctrl-names = "default";
21 pmx_power_hdd: pmx-power-hdd {
22 marvell,pins = "mpp10";
23 marvell,function = "gpo";
25 pmx_usb_vbus: pmx-usb-vbus {
26 marvell,pins = "mpp11";
27 marvell,function = "gpio";
29 pmx_fan_high: pmx-fan-high {
30 marvell,pins = "mpp18";
31 marvell,function = "gpo";
33 pmx_fan_low: pmx-fan-low {
34 marvell,pins = "mpp19";
35 marvell,function = "gpo";
37 pmx_led_function_blue: pmx-led-function-blue {
38 marvell,pins = "mpp36";
39 marvell,function = "gpio";
41 pmx_led_alarm: pmx-led-alarm {
42 marvell,pins = "mpp37";
43 marvell,function = "gpio";
45 pmx_led_info: pmx-led-info {
46 marvell,pins = "mpp38";
47 marvell,function = "gpio";
49 pmx_led_power: pmx-led-power {
50 marvell,pins = "mpp39";
51 marvell,function = "gpio";
53 pmx_fan_lock: pmx-fan-lock {
54 marvell,pins = "mpp40";
55 marvell,function = "gpio";
57 pmx_button_function: pmx-button-function {
58 marvell,pins = "mpp41";
59 marvell,function = "gpio";
61 pmx_power_switch: pmx-power-switch {
62 marvell,pins = "mpp42";
63 marvell,function = "gpio";
65 pmx_power_auto_switch: pmx-power-auto-switch {
66 marvell,pins = "mpp43";
67 marvell,function = "gpio";
69 pmx_led_function_red: pmx-led-function_red {
70 marvell,pins = "mpp48";
71 marvell,function = "gpio";
86 compatible = "m25p40";
88 spi-max-frequency = <25000000>;
98 reg = <0x60000 0x10000>;
104 reg = <0x70000 0x10000>;
112 compatible = "gpio-keys";
113 #address-cells = <1>;
116 label = "Function Button";
118 gpios = <&gpio1 9 1>;
121 label = "Power-on Switch";
123 linux,input-type = <5>;
124 gpios = <&gpio1 10 1>;
127 label = "Power-auto Switch";
129 linux,input-type = <5>;
130 gpios = <&gpio1 11 1>;
135 compatible = "gpio-leds";
138 label = "lsxl:blue:func";
139 gpios = <&gpio1 4 1>;
143 label = "lsxl:red:alarm";
144 gpios = <&gpio1 5 1>;
148 label = "lsxl:amber:info";
149 gpios = <&gpio1 6 1>;
153 label = "lsxl:blue:power";
154 gpios = <&gpio1 7 1>;
155 linux,default-trigger = "default-on";
159 label = "lsxl:red:func";
160 gpios = <&gpio1 16 1>;
165 compatible = "gpio-fan";
168 gpio-fan,speed-map = <0 3
172 alarm-gpios = <&gpio1 8 0>;
176 compatible = "simple-bus";
177 #address-cells = <1>;
180 usb_power: regulator@1 {
181 compatible = "regulator-fixed";
183 regulator-name = "USB Power";
184 regulator-min-microvolt = <5000000>;
185 regulator-max-microvolt = <5000000>;
189 gpio = <&gpio0 11 0>;
191 hdd_power: regulator@2 {
192 compatible = "regulator-fixed";
194 regulator-name = "HDD Power";
195 regulator-min-microvolt = <5000000>;
196 regulator-max-microvolt = <5000000>;
200 gpio = <&gpio0 10 0>;