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 = "d-team,pbr-d1", "mediatek,mt7628an-soc"; 9 compatible = "d-team,pbr-d1", "mediatek,mt7628an-soc";
Line 10... Line -...
10 model = "PBR-D1"; -  
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 = "PBR-D1";
18   11  
19 chosen { 12 chosen {
Line 20... Line 13...
20 bootargs = "console=ttyS0,115200"; 13 bootargs = "console=ttyS0,115200";
Line 27... Line 20...
27 memory@0 { 20 memory@0 {
28 device_type = "memory"; 21 device_type = "memory";
29 reg = <0x0 0x8000000>; 22 reg = <0x0 0x8000000>;
30 }; 23 };
Line 31... Line 24...
31   24  
32 leds { 25 gpio-leds {
Line 33... Line 26...
33 compatible = "gpio-leds"; 26 compatible = "gpio-leds";
34   27  
35 usb { 28 usb {
36 label = "pbr-d1:orange:usb"; -  
37 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>; 29 label = "pbr-d1:orange:usb";
38 trigger-sources = <&ohci_port1>, <&ehci_port1>; 30 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
Line 39... Line 31...
39 linux,default-trigger = "usbport"; 31 default-state = "off";
40 }; 32 };
41   33  
42 led_power: power { 34 power {
43 label = "pbr-d1:orange:power"; 35 label = "pbr-d1:orange:power";
44 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>; 36 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
Line 45... Line 37...
45 default-state = "on"; 37 default-state = "on";
46 }; 38 };
-   39 };
-   40  
47 }; 41 gpio-keys-polled {
Line 48... Line 42...
48   42 compatible = "gpio-keys-polled";
49 keys { 43 #address-cells = <1>;
50 compatible = "gpio-keys-polled"; 44 #size-cells = <0>;
Line 100... Line 94...
100   94  
101 pinctrl-names = "default"; 95 pinctrl-names = "default";
Line 102... Line 96...
102 pinctrl-0 = <&spi_pins>, <&spi_cs1_pins>; 96 pinctrl-0 = <&spi_pins>, <&spi_cs1_pins>;
-   97  
-   98 m25p80@0 {
103   99 #address-cells = <1>;
104 m25p80@0 { 100 #size-cells = <1>;
105 compatible = "jedec,spi-nor"; 101 compatible = "jedec,spi-nor";
-   102 reg = <0>;
-   103 spi-max-frequency = <40000000>;
-   104 m25p,chunked-io = <31>;
-   105  
-   106 partition@0 {
-   107 label = "u-boot";
-   108 reg = <0x0 0x30000>;
-   109 read-only;
-   110 };
-   111  
-   112 partition@30000 {
-   113 label = "u-boot-env";
-   114 reg = <0x30000 0x10000>;
-   115 };
-   116  
-   117 factory: partition@40000 {
-   118 label = "factory";
-   119 reg = <0x40000 0x10000>;
Line 106... Line -...
106 reg = <0>; -  
107 spi-max-frequency = <40000000>; -  
108   -  
109 partitions { -  
110 compatible = "fixed-partitions"; -  
111 #address-cells = <1>; -  
112 #size-cells = <1>; -  
113   -  
114 partition@0 { -  
115 label = "u-boot"; -  
116 reg = <0x0 0x30000>; -  
117 read-only; -  
118 }; -  
119   -  
120 partition@30000 { -  
121 label = "u-boot-env"; -  
122 reg = <0x30000 0x10000>; -  
123 }; -  
124   -  
125 factory: partition@40000 { -  
126 label = "factory"; -  
127 reg = <0x40000 0x10000>; -  
128 read-only; 120 read-only;
129 }; -  
130   121 };
131 partition@50000 { 122  
132 compatible = "denx,uimage"; -  
133 label = "firmware"; 123 partition@50000 {
134 reg = <0x50000 0x0fb0000>; 124 label = "firmware";
Line 135... Line 125...
135 }; 125 reg = <0x50000 0x0fb0000>;
136 }; 126 };