OpenWrt – Diff between revs 2 and 3

Subversion Repositories:
Rev:
Show entire fileRegard 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";
106 reg = <0>; -  
107 spi-max-frequency = <40000000>; -  
108   -  
109 partitions { -  
110 compatible = "fixed-partitions"; 102 reg = <0>;
Line 111... Line 103...
111 #address-cells = <1>; 103 spi-max-frequency = <40000000>;
112 #size-cells = <1>; 104 m25p,chunked-io = <31>;
113   105  
114 partition@0 { 106 partition@0 {
Line 127... Line 119...
127 reg = <0x40000 0x10000>; 119 reg = <0x40000 0x10000>;
128 read-only; 120 read-only;
129 }; 121 };
Line 130... Line 122...
130   122  
131 partition@50000 { -  
132 compatible = "denx,uimage"; 123 partition@50000 {
133 label = "firmware"; 124 label = "firmware";
134 reg = <0x50000 0x0fb0000>; 125 reg = <0x50000 0x0fb0000>;
135 }; 126 };
136 }; -  
Line 137... Line 127...
137 }; 127 };
138   128  
139 spidev@1 { 129 spidev@1 {
140 #address-cells = <1>; 130 #address-cells = <1>;