OpenWrt – Diff between revs 2 and 3

Subversion Repositories:
Rev:
Show entire fileIgnore whitespace
Rev 2 Rev 3
Line 7... Line 7...
7   7  
8 / { 8 / {
9 compatible = "thunder,timecloud", "mediatek,mt7621-soc"; 9 compatible = "thunder,timecloud", "mediatek,mt7621-soc";
Line 10... Line -...
10 model = "Thunder Timecloud"; -  
11   -  
12 aliases { -  
13 led-boot = &led_statuso; -  
14 led-failsafe = &led_statuso; -  
15 led-running = &led_statuso; -  
16 led-upgrade = &led_statuso; -  
17 }; 10 model = "Thunder Timecloud";
18   11  
19 memory@0 { 12 memory@0 {
20 device_type = "memory"; 13 device_type = "memory";
Line 21... Line 14...
21 reg = <0x0 0x10000000>; 14 reg = <0x0 0x10000000>;
22 }; 15 };
23   16  
Line 24... Line 17...
24 chosen { 17 chosen {
25 bootargs = "console=ttyS0,115200"; 18 bootargs = "console=ttyS0,115200";
Line 26... Line 19...
26 }; 19 };
27   20  
28 leds { 21 gpio-leds {
29 compatible = "gpio-leds"; 22 compatible = "gpio-leds";
Line 30... Line 23...
30   23  
31 statw { 24 statw {
32 label = "timecloud:white:status"; 25 label = "timecloud:white:status";
33 gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>; 26 gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
-   27 };
34 }; 28  
Line 35... Line 29...
35   29 stato {
36 led_statuso: stato { 30 label = "timecloud:orange:status";
-   31 gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
-   32 };
37 label = "timecloud:orange:status"; 33  
Line 38... Line 34...
38 gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>; 34 };
39 }; 35  
40 }; 36 gpio-keys-polled {
Line 57... Line 53...
57 }; 53 };
58 }; 54 };
Line 59... Line 55...
59   55  
60 &sdhci { 56 &sdhci {
-   57 status = "okay";
-   58  
-   59 pinctrl-names = "default";
61 status = "okay"; 60 pinctrl-0 = <&sdhci_pins>;
Line 62... Line 61...
62 }; 61 };
63   62  
Line 64... Line 63...
64 &spi0 { 63 &spi0 {
-   64 status = "okay";
-   65  
65 status = "okay"; 66 m25p80@0 {
66   67 #address-cells = <1>;
67 m25p80@0 { 68 #size-cells = <1>;
-   69 compatible = "jedec,spi-nor";
-   70 reg = <0>;
-   71 spi-max-frequency = <10000000>;
-   72 m25p,chunked-io = <32>;
-   73  
-   74 partition@0 {
-   75 label = "u-boot";
-   76 reg = <0x0 0x30000>;
-   77 read-only;
-   78 };
-   79  
-   80 partition@30000 {
-   81 label = "u-boot-env";
-   82 reg = <0x30000 0x10000>;
-   83 read-only;
-   84 };
-   85  
-   86 factory: partition@40000 {
-   87 label = "factory";
Line 68... Line -...
68 compatible = "jedec,spi-nor"; -  
69 reg = <0>; -  
70 spi-max-frequency = <10000000>; -  
71   -  
72 partitions { -  
73 compatible = "fixed-partitions"; -  
74 #address-cells = <1>; -  
75 #size-cells = <1>; -  
76   -  
77 partition@0 { -  
78 label = "u-boot"; -  
79 reg = <0x0 0x30000>; -  
80 read-only; -  
81 }; -  
82   -  
83 partition@30000 { -  
84 label = "u-boot-env"; -  
85 reg = <0x30000 0x10000>; -  
86 read-only; -  
87 }; -  
88   -  
89 factory: partition@40000 { -  
90 label = "factory"; -  
91 reg = <0x40000 0x10000>; 88 reg = <0x40000 0x10000>;
92 read-only; -  
93 }; 89 read-only;
94   90 };
95 partition@50000 { -  
96 compatible = "denx,uimage"; 91  
97 label = "firmware"; 92 partition@50000 {
98 reg = <0x50000 0xfb0000>; 93 label = "firmware";
Line 99... Line 94...
99 }; 94 reg = <0x50000 0xfb0000>;