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 = "hame,mpr-a1", "ralink,rt5350-soc"; 9 compatible = "hame,mpr-a1", "ralink,rt5350-soc";
Line 10... Line -...
10 model = "HAME MPR-A1"; -  
11   -  
12 aliases { -  
13 led-boot = &led_system; -  
14 led-failsafe = &led_system; -  
15 led-running = &led_system; -  
16 led-upgrade = &led_system; -  
17 }; 10 model = "HAME MPR-A1";
18   11  
Line 19... Line 12...
19 leds { 12 gpio-leds {
20 compatible = "gpio-leds"; 13 compatible = "gpio-leds";
21   14  
22 led_system: system { 15 system {
Line 23... Line 16...
23 label = "mpr-a1:blue:system"; 16 label = "mpr-a1:blue:system";
24 gpios = <&gpio0 20 GPIO_ACTIVE_LOW>; 17 gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
25 }; 18 };
26   19  
27 power { 20 power {
Line 28... Line 21...
28 label = "mpr-a1:red:power"; 21 label = "mpr-a1:red:power";
29 gpios = <&gpio0 17 GPIO_ACTIVE_LOW>; 22 gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
-   23 };
-   24 };
30 }; 25  
Line 31... Line 26...
31 }; 26 gpio-keys-polled {
32   27 compatible = "gpio-keys-polled";
33 keys { 28 #address-cells = <1>;
Line 61... Line 56...
61   56  
62 &spi0 { 57 &spi0 {
Line 63... Line 58...
63 status = "okay"; 58 status = "okay";
-   59  
-   60 m25p80@0 {
64   61 #address-cells = <1>;
65 m25p80@0 { 62 #size-cells = <1>;
66 compatible = "jedec,spi-nor"; 63 compatible = "jedec,spi-nor";
Line 67... Line -...
67 reg = <0>; -  
68 spi-max-frequency = <10000000>; -  
69   -  
70 partitions { -  
71 compatible = "fixed-partitions"; -  
72 #address-cells = <1>; 64 reg = <0>;
73 #size-cells = <1>; 65 spi-max-frequency = <10000000>;
74   66  
75 partition@0 { 67 partition@0 {
76 label = "u-boot"; 68 label = "u-boot";
77 reg = <0x0 0x30000>; 69 reg = <0x0 0x30000>;
78 read-only; 70 read-only;
79 }; 71 };
80   72  
81 partition@30000 { 73 partition@30000 {
82 label = "u-boot-env"; 74 label = "u-boot-env";
83 reg = <0x30000 0x10000>; 75 reg = <0x30000 0x10000>;
84 read-only; 76 read-only;
85 }; 77 };
86   78  
87 factory: partition@40000 { 79 factory: partition@40000 {
88 label = "factory"; 80 label = "factory";
89 reg = <0x40000 0x10000>; 81 reg = <0x40000 0x10000>;
90 read-only; 82 read-only;
91 }; -  
92   83 };
93 partition@50000 { 84  
94 compatible = "denx,uimage"; -  
95 label = "firmware"; 85 partition@50000 {
96 reg = <0x50000 0x3b0000>; 86 label = "firmware";
97 }; 87 reg = <0x50000 0x3b0000>;
Line 98... Line 88...
98 }; 88 };
Line 104... Line 94...
104 }; 94 };
Line 105... Line 95...
105   95  
106 &pinctrl { 96 &pinctrl {
107 state_default: pinctrl0 { 97 state_default: pinctrl0 {
108 gpio { 98 gpio {
109 ralink,group = "i2c", "jtag", "uartf", "led"; 99 ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf", "led";
110 ralink,function = "gpio"; 100 ralink,function = "gpio";
111 }; 101 };
112 }; 102 };