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 = "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>;
22 bank-width = <2>; -  
23 device-width = <2>; -  
24   -  
25 partitions { 15 bank-width = <2>;
26 compatible = "fixed-partitions"; 16 device-width = <2>;
Line 27... Line 17...
27 #address-cells = <1>; 17 #address-cells = <1>;
28 #size-cells = <1>; 18 #size-cells = <1>;
29   19  
30 uboot: partition@0 { 20 uboot: partition@0 {
31 label = "uboot"; 21 label = "uboot";
Line 32... Line 22...
32 reg = <0x0 0x50000>; 22 reg = <0x0 0x50000>;
33 read-only; -  
34 }; 23 read-only;
35   24 };
36 partition@50000 { 25  
Line 37... Line 26...
37 compatible = "denx,uimage"; 26 partition@50000 {
Line 47... Line 36...
47 factory: partition@7f0000 { 36 factory: partition@7f0000 {
48 label = "factory"; 37 label = "factory";
49 reg = <0x7f0000 0x10000>; 38 reg = <0x7f0000 0x10000>;
50 }; 39 };
51 }; 40 };
52 }; -  
Line 53... Line 41...
53   41  
54 rtl8366rb { 42 rtl8366rb {
55 compatible = "realtek,rtl8366rb"; 43 compatible = "realtek,rtl8366rb";
56 gpio-sda = <&gpio0 1 GPIO_ACTIVE_HIGH>; 44 gpio-sda = <&gpio0 1 GPIO_ACTIVE_HIGH>;
57 gpio-sck = <&gpio0 2 GPIO_ACTIVE_HIGH>; 45 gpio-sck = <&gpio0 2 GPIO_ACTIVE_HIGH>;
Line 58... Line 46...
58 }; 46 };
59   47  
Line 60... Line 48...
60 leds { 48 gpio-leds {
61 compatible = "gpio-leds"; 49 compatible = "gpio-leds";
62   50  
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 };