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 = "zyxel,nbg-419n-v2", "ralink,rt3352-soc"; 9 compatible = "zyxel,nbg-419n-v2", "ralink,rt3352-soc";
Line 10... Line -...
10 model = "ZyXEL NBG-419N v2"; -  
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 = "ZyXEL NBG-419N v2";
18   11  
19 palmbus@10000000 { 12 palmbus@10000000 {
20 spi@b00 { 13 spi@b00 {
-   14 status = "okay";
-   15 m25p80@0 {
21 status = "okay"; 16 #address-cells = <1>;
22 m25p80@0 { 17 #size-cells = <1>;
23 compatible = "jedec,spi-nor"; 18 compatible = "jedec,spi-nor";
Line 24... Line -...
24 reg = <0 0>; -  
25 spi-max-frequency = <10000000>; -  
26   -  
27 partitions { -  
28 compatible = "fixed-partitions"; -  
29 #address-cells = <1>; 19 reg = <0 0>;
30 #size-cells = <1>; 20 spi-max-frequency = <10000000>;
31   21  
32 partition@0 { 22 partition@0 {
33 label = "u-boot"; 23 label = "u-boot";
34 reg = <0x0 0x30000>; 24 reg = <0x0 0x30000>;
35 read-only; 25 read-only;
36 }; 26 };
37   27  
38 partition@30000 { 28 partition@30000 {
39 label = "u-boot-env"; 29 label = "u-boot-env";
40 reg = <0x30000 0x10000>; 30 reg = <0x30000 0x10000>;
41 read-only; 31 read-only;
42 }; 32 };
43   33  
44 factory: partition@40000 { 34 factory: partition@40000 {
45 label = "factory"; 35 label = "factory";
46 reg = <0x40000 0x10000>; 36 reg = <0x40000 0x10000>;
47 read-only; 37 read-only;
48 }; -  
49   38 };
50 partition@50000 { 39  
51 compatible = "denx,uimage"; -  
52 label = "firmware"; 40 partition@50000 {
53 reg = <0x50000 0x7b0000>; 41 label = "firmware";
54 }; 42 reg = <0x50000 0x7b0000>;
55 }; 43 };
Line 56... Line 44...
56 }; 44 };
57 }; 45 };
Line 58... Line 46...
58 }; 46 };
59   47  
60 leds { 48 gpio-leds {
61 compatible = "gpio-leds"; 49 compatible = "gpio-leds";
Line 62... Line 50...
62   50  
Line 71... Line 59...
71 }; 59 };
Line 72... Line 60...
72   60  
73 usb { 61 usb {
74 label = "nbg-419n2:green:usb"; 62 label = "nbg-419n2:green:usb";
75 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>; -  
76 trigger-sources = <&ohci_port1>, <&ehci_port1>; -  
77 linux,default-trigger = "usbport"; 63 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
78 }; 64 };
Line 79... Line 65...
79 }; 65 };
80   66  
-   67 gpio-keys-polled {
-   68 compatible = "gpio-keys-polled";
81 keys { 69 #address-cells = <1>;
82 compatible = "gpio-keys-polled"; 70 #size-cells = <0>;
83 poll-interval = <20>; 71 poll-interval = <20>;
84 reset { 72 reset {
85 label = "reset"; 73 label = "reset";
Line 96... Line 84...
96 linux,input-type = <EV_SW>; 84 linux,input-type = <EV_SW>;
97 gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>; 85 gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
98 linux,code = <KEY_RFKILL>; 86 linux,code = <KEY_RFKILL>;
99 }; 87 };
100 }; 88 };
-   89  
101 }; 90 };
Line 102... Line 91...
102   91  
103 &pinctrl { 92 &pinctrl {
104 state_default: pinctrl0 { 93 state_default: pinctrl0 {