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 = "poray,x8", "ralink,rt5350-soc"; 9 compatible = "poray,x8", "ralink,rt5350-soc";
Line 10... Line -...
10 model = "Poray X8"; -  
11   -  
12 aliases { -  
13 led-boot = &led_power; -  
14 led-failsafe = &led_power; -  
15 led-running = &led_power; -  
16 led-upgrade = &led_power; -  
17 }; 10 model = "Poray X8";
18   11  
Line 19... Line 12...
19 leds { 12 gpio-leds {
20 compatible = "gpio-leds"; 13 compatible = "gpio-leds";
21   14  
22 led_power: power { 15 power {
23 label = "x8:green:power"; 16 label = "x8:green:power";
Line 24... Line 17...
24 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>; 17 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
25 }; 18 };
-   19 };
-   20  
26 }; 21 gpio-keys-polled {
Line 27... Line 22...
27   22 compatible = "gpio-keys-polled";
28 keys { 23 #address-cells = <1>;
29 compatible = "gpio-keys-polled"; 24 #size-cells = <0>;
Line 39... Line 34...
39   34  
40 &spi0 { 35 &spi0 {
Line 41... Line 36...
41 status = "okay"; 36 status = "okay";
-   37  
-   38 m25p80@0 {
42   39 #address-cells = <1>;
43 m25p80@0 { 40 #size-cells = <1>;
44 compatible = "jedec,spi-nor"; 41 compatible = "jedec,spi-nor";
Line 45... Line -...
45 reg = <0>; -  
46 spi-max-frequency = <10000000>; -  
47   -  
48 partitions { -  
49 compatible = "fixed-partitions"; -  
50 #address-cells = <1>; 42 reg = <0>;
51 #size-cells = <1>; 43 spi-max-frequency = <10000000>;
52   44  
53 partition@0 { 45 partition@0 {
54 label = "u-boot"; 46 label = "u-boot";
55 reg = <0x0 0x30000>; 47 reg = <0x0 0x30000>;
56 read-only; 48 read-only;
57 }; 49 };
58   50  
59 partition@30000 { 51 partition@30000 {
60 label = "u-boot-env"; 52 label = "u-boot-env";
61 reg = <0x30000 0x10000>; 53 reg = <0x30000 0x10000>;
62 read-only; 54 read-only;
63 }; 55 };
64   56  
65 factory: partition@40000 { 57 factory: partition@40000 {
66 label = "factory"; 58 label = "factory";
67 reg = <0x40000 0x10000>; 59 reg = <0x40000 0x10000>;
68 read-only; 60 read-only;
69 }; -  
70   61 };
71 partition@50000 { 62  
72 compatible = "denx,uimage"; -  
73 label = "firmware"; 63 partition@50000 {
74 reg = <0x50000 0x7b0000>; 64 label = "firmware";
75 }; 65 reg = <0x50000 0x7b0000>;
Line 76... Line 66...
76 }; 66 };