Commit | Line | Data |
---|---|---|
eee47b7c AL |
1 | /dts-v1/; |
2 | ||
76a93dc9 | 3 | #include "kirkwood-nsa3x0-common.dtsi" |
eee47b7c AL |
4 | |
5 | /* | |
6 | * There are at least two different NSA310 designs. This variant does | |
7 | * not have the red USB Led. | |
8 | */ | |
9 | ||
10 | / { | |
11 | compatible = "zyxel,nsa310a", "zyxel,nsa310", "marvell,kirkwood-88f6281", "marvell,kirkwood"; | |
12 | ||
13 | memory { | |
14 | device_type = "memory"; | |
15 | reg = <0x00000000 0x10000000>; | |
16 | }; | |
17 | ||
18 | chosen { | |
19 | bootargs = "console=ttyS0,115200"; | |
20 | }; | |
21 | ||
22 | ocp@f1000000 { | |
23 | pinctrl: pinctrl@10000 { | |
24 | pinctrl-names = "default"; | |
25 | ||
26 | pmx_led_esata_green: pmx-led-esata-green { | |
27 | marvell,pins = "mpp12"; | |
28 | marvell,function = "gpio"; | |
29 | }; | |
30 | ||
31 | pmx_led_esata_red: pmx-led-esata-red { | |
32 | marvell,pins = "mpp13"; | |
33 | marvell,function = "gpio"; | |
34 | }; | |
35 | ||
36 | pmx_led_usb_green: pmx-led-usb-green { | |
37 | marvell,pins = "mpp15"; | |
38 | marvell,function = "gpio"; | |
39 | }; | |
40 | ||
eee47b7c AL |
41 | pmx_led_sys_green: pmx-led-sys-green { |
42 | marvell,pins = "mpp28"; | |
43 | marvell,function = "gpio"; | |
44 | }; | |
45 | ||
46 | pmx_led_sys_red: pmx-led-sys-red { | |
47 | marvell,pins = "mpp29"; | |
48 | marvell,function = "gpio"; | |
49 | }; | |
50 | ||
eee47b7c AL |
51 | pmx_led_hdd_green: pmx-led-hdd-green { |
52 | marvell,pins = "mpp41"; | |
53 | marvell,function = "gpio"; | |
54 | }; | |
55 | ||
56 | pmx_led_hdd_red: pmx-led-hdd-red { | |
57 | marvell,pins = "mpp42"; | |
58 | marvell,function = "gpio"; | |
59 | }; | |
60 | ||
eee47b7c AL |
61 | }; |
62 | ||
63 | i2c@11000 { | |
64 | status = "okay"; | |
65 | ||
66 | lm85: lm85@2e { | |
67 | compatible = "lm85"; | |
68 | reg = <0x2e>; | |
69 | }; | |
70 | }; | |
71 | }; | |
72 | ||
eee47b7c AL |
73 | gpio-leds { |
74 | compatible = "gpio-leds"; | |
75 | ||
76 | green-sys { | |
77 | label = "nsa310:green:sys"; | |
3a31f2d7 | 78 | gpios = <&gpio0 28 GPIO_ACTIVE_HIGH>; |
eee47b7c AL |
79 | }; |
80 | red-sys { | |
81 | label = "nsa310:red:sys"; | |
3a31f2d7 | 82 | gpios = <&gpio0 29 GPIO_ACTIVE_HIGH>; |
eee47b7c AL |
83 | }; |
84 | green-hdd { | |
85 | label = "nsa310:green:hdd"; | |
3a31f2d7 | 86 | gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>; |
eee47b7c AL |
87 | }; |
88 | red-hdd { | |
89 | label = "nsa310:red:hdd"; | |
3a31f2d7 | 90 | gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>; |
eee47b7c AL |
91 | }; |
92 | green-esata { | |
93 | label = "nsa310:green:esata"; | |
3a31f2d7 | 94 | gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>; |
eee47b7c AL |
95 | }; |
96 | red-esata { | |
97 | label = "nsa310:red:esata"; | |
3a31f2d7 | 98 | gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>; |
eee47b7c AL |
99 | }; |
100 | green-usb { | |
101 | label = "nsa310:green:usb"; | |
3a31f2d7 | 102 | gpios = <&gpio0 15 GPIO_ACTIVE_HIGH>; |
eee47b7c AL |
103 | }; |
104 | green-copy { | |
105 | label = "nsa310:green:copy"; | |
3a31f2d7 | 106 | gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>; |
eee47b7c AL |
107 | }; |
108 | red-copy { | |
109 | label = "nsa310:red:copy"; | |
3a31f2d7 | 110 | gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>; |
eee47b7c AL |
111 | }; |
112 | }; | |
113 | }; |