3 #include "kirkwood.dtsi"
4 #include "kirkwood-6281.dtsi"
7 model = "ZyXEL NSA310";
8 compatible = "zyxel,nsa310", "marvell,kirkwood-88f6281", "marvell,kirkwood";
11 device_type = "memory";
12 reg = <0x00000000 0x10000000>;
16 bootargs = "console=ttyS0,115200";
20 ranges = <MBUS_ID(0xf0, 0x01) 0 0xf1000000 0x100000>;
31 pinctrl: pinctrl@10000 {
32 pinctrl-0 = <&pmx_unknown>;
33 pinctrl-names = "default";
35 pmx_led_esata_green: pmx-led-esata-green {
36 marvell,pins = "mpp12";
37 marvell,function = "gpio";
40 pmx_led_esata_red: pmx-led-esata-red {
41 marvell,pins = "mpp13";
42 marvell,function = "gpio";
45 pmx_led_usb_green: pmx-led-usb-green {
46 marvell,pins = "mpp15";
47 marvell,function = "gpio";
50 pmx_led_usb_red: pmx-led-usb-red {
51 marvell,pins = "mpp16";
52 marvell,function = "gpio";
55 pmx_usb_power_off: pmx-usb-power-off {
56 marvell,pins = "mpp21";
57 marvell,function = "gpio";
60 pmx_led_sys_green: pmx-led-sys-green {
61 marvell,pins = "mpp28";
62 marvell,function = "gpio";
65 pmx_led_sys_red: pmx-led-sys-red {
66 marvell,pins = "mpp29";
67 marvell,function = "gpio";
70 pmx_btn_reset: pmx-btn-reset {
71 marvell,pins = "mpp36";
72 marvell,function = "gpio";
75 pmx_btn_copy: pmx-btn-copy {
76 marvell,pins = "mpp37";
77 marvell,function = "gpio";
80 pmx_led_copy_green: pmx-led-copy-green {
81 marvell,pins = "mpp39";
82 marvell,function = "gpio";
85 pmx_led_copy_red: pmx-led-copy-red {
86 marvell,pins = "mpp40";
87 marvell,function = "gpio";
90 pmx_led_hdd_green: pmx-led-hdd-green {
91 marvell,pins = "mpp41";
92 marvell,function = "gpio";
95 pmx_led_hdd_red: pmx-led-hdd-red {
96 marvell,pins = "mpp42";
97 marvell,function = "gpio";
100 pmx_unknown: pmx-unknown {
101 marvell,pins = "mpp44";
102 marvell,function = "gpio";
105 pmx_btn_power: pmx-btn-power {
106 marvell,pins = "mpp46";
107 marvell,function = "gpio";
110 pmx_pwr_off: pmx-pwr-off {
111 marvell,pins = "mpp48";
112 marvell,function = "gpio";
128 adt7476: adt7476a@2e {
129 compatible = "adt7476";
140 reg = <0x0000000 0x0100000>;
145 reg = <0x0100000 0x0080000>;
149 reg = <0x0180000 0x0080000>;
153 reg = <0x0200000 0x0080000>;
157 reg = <0x0280000 0x0a00000>;
161 reg = <0x0c80000 0x0a00000>;
165 reg = <0x1680000 0x2fc0000>;
169 reg = <0x4640000 0x0a00000>;
173 reg = <0x5040000 0x2fc0000>;
179 compatible = "gpio-keys";
180 #address-cells = <1>;
182 pinctrl-0 = <&pmx_btn_reset &pmx_btn_copy &pmx_btn_power>;
183 pinctrl-names = "default";
186 label = "Power Button";
188 gpios = <&gpio1 14 0>;
191 label = "Copy Button";
193 gpios = <&gpio1 5 1>;
196 label = "Reset Button";
197 linux,code = <0x198>;
198 gpios = <&gpio1 4 1>;
203 compatible = "gpio-leds";
204 pinctrl-0 = <&pmx_led_esata_green &pmx_led_esata_red
205 &pmx_led_usb_green &pmx_led_usb_red
206 &pmx_led_sys_green &pmx_led_sys_red
207 &pmx_led_copy_green &pmx_led_copy_red
208 &pmx_led_hdd_green &pmx_led_hdd_red>;
209 pinctrl-names = "default";
212 label = "nsa310:green:sys";
213 gpios = <&gpio0 28 0>;
216 label = "nsa310:red:sys";
217 gpios = <&gpio0 29 0>;
220 label = "nsa310:green:hdd";
221 gpios = <&gpio1 9 0>;
224 label = "nsa310:red:hdd";
225 gpios = <&gpio1 10 0>;
228 label = "nsa310:green:esata";
229 gpios = <&gpio0 12 0>;
232 label = "nsa310:red:esata";
233 gpios = <&gpio0 13 0>;
236 label = "nsa310:green:usb";
237 gpios = <&gpio0 15 0>;
240 label = "nsa310:red:usb";
241 gpios = <&gpio0 16 0>;
244 label = "nsa310:green:copy";
245 gpios = <&gpio1 7 0>;
248 label = "nsa310:red:copy";
249 gpios = <&gpio1 8 0>;
254 compatible = "gpio-poweroff";
255 pinctrl-0 = <&pmx_pwr_off>;
256 pinctrl-names = "default";
257 gpios = <&gpio1 16 0>;
261 compatible = "simple-bus";
262 #address-cells = <1>;
264 pinctrl-0 = <&pmx_usb_power_off>;
265 pinctrl-names = "default";
267 usb0_power_off: regulator@1 {
268 compatible = "regulator-fixed";
270 regulator-name = "USB Power Off";
271 regulator-min-microvolt = <5000000>;
272 regulator-max-microvolt = <5000000>;
275 gpio = <&gpio0 21 0>;