3 #include "kirkwood-nsa3x0-common.dtsi"
6 * There are at least two different NSA310 designs. This variant has
7 * a red/green USB Led (same as nsa310) and a lm85 temp/fan controller.
11 model = "ZyXEL NSA310b";
12 compatible = "zyxel,nsa310b", "zyxel,nsa310", "marvell,kirkwood-88f6281", "marvell,kirkwood";
15 led-boot = &led_green_sys;
16 led-failsafe = &led_red_sys;
17 led-running = &led_green_sys;
18 led-upgrade = &led_red_sys;
22 device_type = "memory";
23 reg = <0x00000000 0x10000000>;
27 bootargs = "console=ttyS0,115200";
32 pinctrl: pin-controller@10000 {
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_led_sys_green: pmx-led-sys-green {
56 marvell,pins = "mpp28";
57 marvell,function = "gpio";
60 pmx_led_sys_red: pmx-led-sys-red {
61 marvell,pins = "mpp29";
62 marvell,function = "gpio";
65 pmx_led_hdd_green: pmx-led-hdd-green {
66 marvell,pins = "mpp41";
67 marvell,function = "gpio";
70 pmx_led_hdd_red: pmx-led-hdd-red {
71 marvell,pins = "mpp42";
72 marvell,function = "gpio";
81 compatible = "national,lm85";
88 compatible = "gpio-leds";
90 led_green_sys: green-sys {
91 label = "nsa310:green:sys";
92 gpios = <&gpio0 28 GPIO_ACTIVE_HIGH>;
96 led_red_sys: red-sys {
97 label = "nsa310:red:sys";
98 gpios = <&gpio0 29 GPIO_ACTIVE_HIGH>;
102 label = "nsa310:green:hdd";
103 gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>;
104 linux,default-trigger = "ata1";
108 label = "nsa310:red:hdd";
109 gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>;
113 label = "nsa310:green:esata";
114 gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
115 linux,default-trigger = "ata2";
119 label = "nsa310:red:esata";
120 gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
124 label = "nsa310:green:usb";
125 gpios = <&gpio0 15 GPIO_ACTIVE_HIGH>;
126 linux,default-trigger = "usb-host";
130 label = "nsa310:red:usb";
131 gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>;
135 label = "nsa310:green:copy";
136 gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
140 label = "nsa310:red:copy";
141 gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>;