OpenWrt – Diff between revs 2 and 3

Subversion Repositories:
Rev:
Only display areas with differencesIgnore whitespace
Rev 2 Rev 3
1 #include "rt5350.dtsi" 1 #include "rt5350.dtsi"
2   2  
3 / { 3 / {
4 compatible = "olimex,rt5350f-olinuxino", "ralink,rt5350-soc"; 4 compatible = "olimex,rt5350f-olinuxino", "ralink,rt5350-soc";
5   5  
6 aliases { 6 aliases {
7 serial0 = &uartlite; 7 serial0 = &uartlite;
8 serial1 = &uart; 8 serial1 = &uart;
9 }; 9 };
10 }; 10 };
11   11  
12   12  
13 &spi0 { 13 &spi0 {
14 status = "okay"; 14 status = "okay";
15   15  
16 m25p80@0 { 16 m25p80@0 {
-   17 #address-cells = <1>;
-   18 #size-cells = <1>;
17 compatible = "jedec,spi-nor"; 19 compatible = "jedec,spi-nor";
18 reg = <0>; 20 reg = <0>;
19 spi-max-frequency = <10000000>; 21 spi-max-frequency = <10000000>;
20   -  
21 partitions { -  
22 compatible = "fixed-partitions"; -  
23 #address-cells = <1>; -  
24 #size-cells = <1>; -  
25   22  
26 partition@0 { 23 partition@0 {
27 label = "u-boot"; 24 label = "u-boot";
28 reg = <0x0 0x30000>; 25 reg = <0x0 0x30000>;
29 read-only; 26 read-only;
30 }; 27 };
31   28  
32 partition@30000 { 29 partition@30000 {
33 label = "u-boot-env"; 30 label = "u-boot-env";
34 reg = <0x30000 0x10000>; 31 reg = <0x30000 0x10000>;
35 read-only; 32 read-only;
36 }; 33 };
37   34  
38 factory: partition@40000 { 35 factory: partition@40000 {
39 label = "factory"; 36 label = "factory";
40 reg = <0x40000 0x10000>; 37 reg = <0x40000 0x10000>;
41 read-only; 38 read-only;
42 }; 39 };
43   40  
44 partition@50000 { -  
45 compatible = "denx,uimage"; 41 partition@50000 {
46 label = "firmware"; 42 label = "firmware";
47 reg = <0x50000 0x7b0000>; -  
48 }; 43 reg = <0x50000 0x7b0000>;
49 }; 44 };
50 }; 45 };
51 }; 46 };
52   47  
53 &gpio1 { 48 &gpio1 {
54 status = "okay"; 49 status = "okay";
55 }; 50 };
56   51  
57 &pinctrl { 52 &pinctrl {
58 state_default: pinctrl0 { 53 state_default: pinctrl0 {
59 gpio { 54 gpio {
60 ralink,group = "jtag"; 55 ralink,group = "jtag", "rgmii", "mdio";
61 ralink,function = "gpio"; 56 ralink,function = "gpio";
62 }; 57 };
63 uartf_gpio { 58 uartf_gpio {
64 ralink,group = "uartf"; 59 ralink,group = "uartf";
65 ralink,function = "gpio uartf"; 60 ralink,function = "gpio uartf";
66 }; 61 };
67 }; 62 };
68 }; 63 };
69   64  
70 &ethernet { 65 &ethernet {
71 mtd-mac-address = <&factory 0x4>; 66 mtd-mac-address = <&factory 0x4>;
72 }; 67 };
73   68  
74 &esw { 69 &esw {
75 mediatek,portmap = <0x2f>; 70 mediatek,portmap = <0x2f>;
76 mediatek,led_polarity = <0x17>; 71 mediatek,led_polarity = <0x17>;
77 }; 72 };
78   73  
79 &wmac { 74 &wmac {
80 ralink,mtd-eeprom = <&factory 0>; 75 ralink,mtd-eeprom = <&factory 0>;
81 ralink,led-polarity = <1>; 76 ralink,led-polarity = <1>;
82 }; 77 };
83   78  
84 &ehci { 79 &ehci {
85 status = "okay"; 80 status = "okay";
86 }; 81 };
87   82  
88 &ohci { 83 &ohci {
89 status = "okay"; 84 status = "okay";
90 }; 85 };
91   86  
92 &i2c { 87 &i2c {
93 status = "okay"; 88 status = "okay";
94 }; 89 };
95   90  
96 &uart { 91 &uart {
97 status = "okay"; 92 status = "okay";
98 }; 93 };
99   94  
100   95