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 = "belkin,f5d8235-v2", "ralink,rt3052-soc"; 9 compatible = "belkin,f5d8235-v2", "ralink,rt3052-soc";
Line 10... Line -...
10 model = "Belkin F5D8235 v2"; -  
11   -  
12 aliases { -  
13 led-boot = &led_router; -  
14 led-failsafe = &led_router; -  
15 led-running = &led_router; -  
16 led-upgrade = &led_router; -  
17 }; 10 model = "Belkin F5D8235 v2";
18   11  
19 cfi@1f000000 { 12 cfi@1f000000 {
20 compatible = "cfi-flash"; 13 compatible = "cfi-flash";
21 reg = <0x1f000000 0x800000>; 14 reg = <0x1f000000 0x800000>;
-   15 bank-width = <2>;
-   16 device-width = <2>;
-   17 #address-cells = <1>;
-   18 #size-cells = <1>;
-   19  
-   20 uboot: partition@0 {
-   21 label = "uboot";
-   22 reg = <0x0 0x50000>;
-   23 read-only;
-   24 };
-   25  
-   26 partition@50000 {
-   27 label = "firmware";
-   28 reg = <0x50000 0x790000>;
-   29 };
-   30  
-   31 partition@7e0000 {
-   32 label = "nvram";
Line 22... Line -...
22 bank-width = <2>; -  
23 device-width = <2>; -  
24   -  
25 partitions { -  
26 compatible = "fixed-partitions"; -  
27 #address-cells = <1>; -  
28 #size-cells = <1>; -  
29   -  
30 uboot: partition@0 { -  
31 label = "uboot"; -  
32 reg = <0x0 0x50000>; -  
33 read-only; -  
34 }; -  
35   -  
36 partition@50000 { -  
37 compatible = "denx,uimage"; -  
38 label = "firmware"; -  
39 reg = <0x50000 0x790000>; -  
40 }; -  
41   -  
42 partition@7e0000 { -  
43 label = "nvram"; -  
44 reg = <0x7e0000 0x10000>; 33 reg = <0x7e0000 0x10000>;
45 }; 34 };
46   35  
47 factory: partition@7f0000 { -  
48 label = "factory"; 36 factory: partition@7f0000 {
49 reg = <0x7f0000 0x10000>; 37 label = "factory";
Line 50... Line 38...
50 }; 38 reg = <0x7f0000 0x10000>;
51 }; 39 };
52 }; 40 };
53   41  
54 rtl8366rb { 42 rtl8366rb {
Line 55... Line 43...
55 compatible = "realtek,rtl8366rb"; 43 compatible = "realtek,rtl8366rb";
56 gpio-sda = <&gpio0 1 GPIO_ACTIVE_HIGH>; 44 gpio-sda = <&gpio0 1 GPIO_ACTIVE_HIGH>;
Line 57... Line 45...
57 gpio-sck = <&gpio0 2 GPIO_ACTIVE_HIGH>; 45 gpio-sck = <&gpio0 2 GPIO_ACTIVE_HIGH>;
58 }; 46 };
59   47  
Line 78... Line 66...
78 modem2 { 66 modem2 {
79 label = "f5d8235-v2:amber:modem"; 67 label = "f5d8235-v2:amber:modem";
80 gpios = <&gpio0 8 GPIO_ACTIVE_LOW>; 68 gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
81 }; 69 };
Line 82... Line 70...
82   70  
83 led_router: router { 71 router {
84 label = "f5d8235-v2:blue:router"; 72 label = "f5d8235-v2:blue:router";
85 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>; 73 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
Line 86... Line 74...
86 }; 74 };
87   75  
88 storage { 76 storage {
89 label = "f5d8235-v2:blue:storage"; -  
90 gpios = <&gpio0 23 GPIO_ACTIVE_LOW>; -  
91 trigger-sources = <&otg_port1>; 77 label = "f5d8235-v2:blue:storage";
Line 92... Line 78...
92 linux,default-trigger = "usbport"; 78 gpios = <&gpio0 23 GPIO_ACTIVE_LOW>;
93 }; 79 };
94   80  
Line 110... Line 96...
110 }; 96 };
Line 111... Line 97...
111   97  
112 &pinctrl { 98 &pinctrl {
113 state_default: pinctrl0 { 99 state_default: pinctrl0 {
114 gpio { 100 gpio {
115 ralink,group = "spi", "i2c", "jtag", "mdio", "uartf"; 101 ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
116 ralink,function = "gpio"; 102 ralink,function = "gpio";
117 }; 103 };
118 }; 104 };
Line 119... Line 105...
119 }; 105 };
120   106  
121 &ethernet { -  
122 mtd-mac-address = <&uboot 0x40004>; -  
123 pinctrl-names = "default"; 107 &ethernet {
Line 124... Line 108...
124 pinctrl-0 = <&rgmii_pins>; 108 mtd-mac-address = <&uboot 0x40004>;
125 }; -  
126   109 };
127 &esw { -  
128 ralink,rgmii = <1>; -  
129 mediatek,portmap = <0x3f>; -  
130 ralink,fct2 = <0x0002500c>; -  
131 /* -  
132 * ext phy base addr 31, rx/tx clock skew 0, -  
133 * turbo mii off, rgmi 3.3v off, port 5 polling off -  
134 * port5: enabled, gige, full-duplex, rx/tx-flow-control -  
135 * port6: enabled, gige, full-duplex, rx/tx-flow-control 110  
Line 136... Line 111...
136 */ 111 &esw {
137 ralink,fpa2 = <0x1f003fff>; 112 mediatek,portmap = <0x3f>;
138 }; 113 };