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 pinctrl: pinctrl@10000 {
21 pinctrl-0 = <&pmx_unknown>;
22 pinctrl-names = "default";
24 pmx_led_esata_green: pmx-led-esata-green {
25 marvell,pins = "mpp12";
26 marvell,function = "gpio";
29 pmx_led_esata_red: pmx-led-esata-red {
30 marvell,pins = "mpp13";
31 marvell,function = "gpio";
34 pmx_led_usb_green: pmx-led-usb-green {
35 marvell,pins = "mpp15";
36 marvell,function = "gpio";
39 pmx_led_usb_red: pmx-led-usb-red {
40 marvell,pins = "mpp16";
41 marvell,function = "gpio";
44 pmx_usb_power_off: pmx-usb-power-off {
45 marvell,pins = "mpp21";
46 marvell,function = "gpio";
49 pmx_led_sys_green: pmx-led-sys-green {
50 marvell,pins = "mpp28";
51 marvell,function = "gpio";
54 pmx_led_sys_red: pmx-led-sys-red {
55 marvell,pins = "mpp29";
56 marvell,function = "gpio";
59 pmx_btn_reset: pmx-btn-reset {
60 marvell,pins = "mpp36";
61 marvell,function = "gpio";
64 pmx_btn_copy: pmx-btn-copy {
65 marvell,pins = "mpp37";
66 marvell,function = "gpio";
69 pmx_led_copy_green: pmx-led-copy-green {
70 marvell,pins = "mpp39";
71 marvell,function = "gpio";
74 pmx_led_copy_red: pmx-led-copy-red {
75 marvell,pins = "mpp40";
76 marvell,function = "gpio";
79 pmx_led_hdd_green: pmx-led-hdd-green {
80 marvell,pins = "mpp41";
81 marvell,function = "gpio";
84 pmx_led_hdd_red: pmx-led-hdd-red {
85 marvell,pins = "mpp42";
86 marvell,function = "gpio";
89 pmx_unknown: pmx-unknown {
90 marvell,pins = "mpp44";
91 marvell,function = "gpio";
94 pmx_btn_power: pmx-btn-power {
95 marvell,pins = "mpp46";
96 marvell,function = "gpio";
99 pmx_pwr_off: pmx-pwr-off {
100 marvell,pins = "mpp48";
101 marvell,function = "gpio";
117 adt7476: adt7476a@2e {
118 compatible = "adt7476";
129 reg = <0x0000000 0x0100000>;
134 reg = <0x0100000 0x0080000>;
138 reg = <0x0180000 0x0080000>;
142 reg = <0x0200000 0x0080000>;
146 reg = <0x0280000 0x0a00000>;
150 reg = <0x0c80000 0x0a00000>;
154 reg = <0x1680000 0x2fc0000>;
158 reg = <0x4640000 0x0a00000>;
162 reg = <0x5040000 0x2fc0000>;
176 compatible = "gpio-keys";
177 #address-cells = <1>;
179 pinctrl-0 = <&pmx_btn_reset &pmx_btn_copy &pmx_btn_power>;
180 pinctrl-names = "default";
183 label = "Power Button";
185 gpios = <&gpio1 14 0>;
188 label = "Copy Button";
190 gpios = <&gpio1 5 1>;
193 label = "Reset Button";
194 linux,code = <0x198>;
195 gpios = <&gpio1 4 1>;
200 compatible = "gpio-leds";
201 pinctrl-0 = <&pmx_led_esata_green &pmx_led_esata_red
202 &pmx_led_usb_green &pmx_led_usb_red
203 &pmx_led_sys_green &pmx_led_sys_red
204 &pmx_led_copy_green &pmx_led_copy_red
205 &pmx_led_hdd_green &pmx_led_hdd_red>;
206 pinctrl-names = "default";
209 label = "nsa310:green:sys";
210 gpios = <&gpio0 28 0>;
213 label = "nsa310:red:sys";
214 gpios = <&gpio0 29 0>;
217 label = "nsa310:green:hdd";
218 gpios = <&gpio1 9 0>;
221 label = "nsa310:red:hdd";
222 gpios = <&gpio1 10 0>;
225 label = "nsa310:green:esata";
226 gpios = <&gpio0 12 0>;
229 label = "nsa310:red:esata";
230 gpios = <&gpio0 13 0>;
233 label = "nsa310:green:usb";
234 gpios = <&gpio0 15 0>;
237 label = "nsa310:red:usb";
238 gpios = <&gpio0 16 0>;
241 label = "nsa310:green:copy";
242 gpios = <&gpio1 7 0>;
245 label = "nsa310:red:copy";
246 gpios = <&gpio1 8 0>;
251 compatible = "gpio-poweroff";
252 pinctrl-0 = <&pmx_pwr_off>;
253 pinctrl-names = "default";
254 gpios = <&gpio1 16 0>;
258 compatible = "simple-bus";
259 #address-cells = <1>;
261 pinctrl-0 = <&pmx_usb_power_off>;
262 pinctrl-names = "default";
264 usb0_power_off: regulator@1 {
265 compatible = "regulator-fixed";
267 regulator-name = "USB Power Off";
268 regulator-min-microvolt = <5000000>;
269 regulator-max-microvolt = <5000000>;
272 gpio = <&gpio0 21 0>;