ramips: Disable all ethernet ports except port 0 on A5-V11.
[openwrt/openwrt.git] / target / linux / ramips / dts / A5-V11.dts
1 /dts-v1/;
2
3 /include/ "rt5350.dtsi"
4
5 / {
6 compatible = "A5-V11", "ralink,rt5350-soc";
7 model = "A5-V11";
8
9 palmbus@10000000 {
10 spi@b00 {
11 status = "okay";
12
13 m25p80@0 {
14 #address-cells = <1>;
15 #size-cells = <1>;
16 compatible = "jedec,spi-nor";
17 reg = <0 0>;
18 linux,modalias = "m25p80", "pm25lq032";
19 spi-max-frequency = <10000000>;
20
21 partition@0 {
22 label = "u-boot";
23 reg = <0x0 0x30000>;
24 read-only;
25 };
26
27 partition@30000 {
28 label = "u-boot-env";
29 reg = <0x30000 0x10000>;
30 read-only;
31 };
32
33 factory: partition@40000 {
34 label = "factory";
35 reg = <0x40000 0x10000>;
36 read-only;
37 };
38
39 partition@50000 {
40 label = "firmware";
41 reg = <0x50000 0x3b0000>;
42 };
43 };
44 };
45
46 gpio1: gpio@660 {
47 status = "okay";
48 };
49 };
50
51 pinctrl {
52 state_default: pinctrl0 {
53 gpio {
54 ralink,group = "i2c", "jtag", "uartf", "led";
55 ralink,function = "gpio";
56 };
57 };
58 };
59
60 ethernet@10100000 {
61 mtd-mac-address = <&factory 0x4>;
62 };
63
64 esw@10110000 {
65 mediatek,portmap = <0x1>;
66 mediatek,portdisable = <0x3e>;
67 };
68
69 wmac@10180000 {
70 ralink,mtd-eeprom = <&factory 0>;
71 };
72
73 ehci@101c0000 {
74 status = "okay";
75 };
76
77 ohci@101c1000 {
78 status = "okay";
79 };
80
81 gpio-leds {
82 compatible = "gpio-leds";
83
84 system {
85 label = "a5-v11:blue:system";
86 gpios = <&gpio0 20 1>;
87 };
88
89 power {
90 label = "a5-v11:red:power";
91 gpios = <&gpio0 17 1>;
92 };
93 };
94
95 gpio-keys-polled {
96 compatible = "gpio-keys-polled";
97 #address-cells = <1>;
98 #size-cells = <0>;
99 poll-interval = <20>;
100
101 reset {
102 label = "reset";
103 gpios = <&gpio0 0 1>;
104 linux,code = <0x198>;
105 };
106 };
107
108 gpio_export {
109 compatible = "gpio-export";
110 #size-cells = <0>;
111
112 usb {
113 gpio-export,name = "usb";
114 gpio-export,output = <1>;
115 gpios = <&gpio0 7 0>;
116 };
117
118 root_hub {
119 gpio-export,name = "root_hub";
120 gpio-export,output = <1>;
121 gpios = <&gpio0 12 0>;
122 };
123 };
124 };