ramips: fix indentation and other mistakes in .dts{, i} files
[openwrt/svn-archive/archive.git] / target / linux / ramips / dts / MT7620a_V22SG.dts
1 /dts-v1/;
2
3 /include/ "mt7620a.dtsi"
4
5 / {
6 compatible = "ralink,mt7620a-eval-board", "ralink,mt7620a-soc";
7 model = "Ralink MT7620a V22SG High Power evaluation board";
8
9 pinctrl {
10 state_default: pinctrl0 {
11 gpio {
12 ralink,group = "i2c", "uartf", "spi";
13 ralink,function = "gpio";
14 };
15 };
16 };
17
18 ethernet@10100000 {
19 status = "okay";
20 pinctrl-names = "default";
21 pinctrl-0 = <&rgmii1_pins &rgmii2_pins &mdio_pins>;
22 ralink,port-map = "llllw";
23
24 port@4 {
25 status = "okay";
26 phy-handle = <&phy4>;
27 phy-mode = "rgmii";
28 };
29
30 port@5 {
31 status = "okay";
32 phy-handle = <&phy5>;
33 phy-mode = "rgmii";
34 };
35
36 mdio-bus {
37 status = "okay";
38
39 phy4: ethernet-phy@4 {
40 reg = <4>;
41 phy-mode = "rgmii";
42 };
43
44 phy5: ethernet-phy@5 {
45 reg = <5>;
46 phy-mode = "rgmii";
47 };
48 };
49 };
50
51 gsw@10110000 {
52 ralink,port4 = "gmac";
53 };
54
55 pcie@10140000 {
56 status = "okay";
57 };
58
59 ehci@101c0000 {
60 status = "okay";
61 };
62
63 ohci@101c1000 {
64 status = "okay";
65 };
66
67 gpio-keys-polled {
68 compatible = "gpio-keys-polled";
69 #address-cells = <1>;
70 #size-cells = <0>;
71 poll-interval = <20>;
72
73 reset {
74 label = "reset";
75 gpios = <&gpio0 1 1>;
76 linux,code = <0x198>;
77 };
78
79 aoss {
80 label = "aoss";
81 gpios = <&gpio0 2 1>;
82 linux,code = <0x211>;
83 };
84 };
85
86 nand {
87 #address-cells = <1>;
88 #size-cells = <1>;
89 compatible = "mtk,mt7620-nand";
90
91 partition@0 {
92 label = "u-boot";
93 reg = <0x0 0x40000>;
94 read-only;
95 };
96
97 partition@40000 {
98 label = "u-boot-env";
99 reg = <0x40000 0x20000>;
100 read-only;
101 };
102
103 factory: partition@60000 {
104 label = "factory";
105 reg = <0x60000 0x20000>;
106 read-only;
107 };
108
109 partition@80000 {
110 label = "firmware";
111 reg = <0x80000 0x7f80000>;
112 };
113 };
114 };