3 /include/ "kirkwood.dtsi"
6 model = "ZyXEL NSA310";
7 compatible = "zyxel,nsa310", "marvell,kirkwood-88f6281", "marvell,kirkwood";
10 device_type = "memory";
11 reg = <0x00000000 0x10000000>;
15 bootargs = "console=ttyS0,115200";
19 pinctrl: pinctrl@10000 {
20 pinctrl-0 = < &pmx_led_esata_green
36 pinctrl-names = "default";
38 pmx_led_esata_green: pmx-led-esata-green {
39 marvell,pins = "mpp12";
40 marvell,function = "gpio";
43 pmx_led_esata_red: pmx-led-esata-red {
44 marvell,pins = "mpp13";
45 marvell,function = "gpio";
48 pmx_led_usb_green: pmx-led-usb-green {
49 marvell,pins = "mpp15";
50 marvell,function = "gpio";
53 pmx_led_usb_red: pmx-led-usb-red {
54 marvell,pins = "mpp16";
55 marvell,function = "gpio";
58 pmx_usb_power_off: pmx-usb-power-off {
59 marvell,pins = "mpp21";
60 marvell,function = "gpio";
63 pmx_led_sys_green: pmx-led-sys-green {
64 marvell,pins = "mpp28";
65 marvell,function = "gpio";
68 pmx_led_sys_red: pmx-led-sys-red {
69 marvell,pins = "mpp29";
70 marvell,function = "gpio";
73 pmx_btn_reset: pmx-btn-reset {
74 marvell,pins = "mpp36";
75 marvell,function = "gpio";
78 pmx_btn_copy: pmx-btn-copy {
79 marvell,pins = "mpp37";
80 marvell,function = "gpio";
83 pmx_led_copy_green: pmx-led-copy-green {
84 marvell,pins = "mpp39";
85 marvell,function = "gpio";
88 pmx_led_copy_red: pmx-led-copy-red {
89 marvell,pins = "mpp40";
90 marvell,function = "gpio";
93 pmx_led_hdd_green: pmx-led-hdd-green {
94 marvell,pins = "mpp41";
95 marvell,function = "gpio";
98 pmx_led_hdd_red: pmx-led-hdd-red {
99 marvell,pins = "mpp42";
100 marvell,function = "gpio";
103 pmx_unknown: pmx-unknown {
104 marvell,pins = "mpp44";
105 marvell,function = "gpio";
108 pmx_btn_power: pmx-btn-power {
109 marvell,pins = "mpp46";
110 marvell,function = "gpio";
113 pmx_pwr_off: pmx-pwr-off {
114 marvell,pins = "mpp48";
115 marvell,function = "gpio";
131 adt7476: adt7476a@2e {
132 compatible = "adt7476";
143 reg = <0x0000000 0x0100000>;
148 reg = <0x0100000 0x0080000>;
152 reg = <0x0180000 0x0080000>;
156 reg = <0x0200000 0x0080000>;
160 reg = <0x0280000 0x0a00000>;
164 reg = <0x0c80000 0x0a00000>;
168 reg = <0x1680000 0x2fc0000>;
172 reg = <0x4640000 0x0a00000>;
176 reg = <0x5040000 0x2fc0000>;
182 compatible = "gpio-keys";
183 #address-cells = <1>;
187 label = "Power Button";
189 gpios = <&gpio1 14 0>;
192 label = "Copy Button";
194 gpios = <&gpio1 5 1>;
197 label = "Reset Button";
198 linux,code = <0x198>;
199 gpios = <&gpio1 4 1>;
204 compatible = "gpio-leds";
207 label = "nsa310:green:sys";
208 gpios = <&gpio0 28 0>;
211 label = "nsa310:red:sys";
212 gpios = <&gpio0 29 0>;
215 label = "nsa310:green:hdd";
216 gpios = <&gpio1 9 0>;
219 label = "nsa310:red:hdd";
220 gpios = <&gpio1 10 0>;
223 label = "nsa310:green:esata";
224 gpios = <&gpio0 12 0>;
227 label = "nsa310:red:esata";
228 gpios = <&gpio0 13 0>;
231 label = "nsa310:green:usb";
232 gpios = <&gpio0 15 0>;
235 label = "nsa310:red:usb";
236 gpios = <&gpio0 16 0>;
239 label = "nsa310:green:copy";
240 gpios = <&gpio1 7 0>;
243 label = "nsa310:red:copy";
244 gpios = <&gpio1 8 0>;
249 compatible = "gpio-poweroff";
250 gpios = <&gpio1 16 0>;
254 compatible = "simple-bus";
255 #address-cells = <1>;
258 usb0_power_off: regulator@1 {
259 compatible = "regulator-fixed";
261 regulator-name = "USB Power Off";
262 regulator-min-microvolt = <5000000>;
263 regulator-max-microvolt = <5000000>;
266 gpio = <&gpio0 21 0>;