OpenWrt – Diff between revs 2 and 3

Subversion Repositories:
Rev:
Show entire fileIgnore whitespace
Rev 2 Rev 3
Line 1... Line -...
1 // SPDX-License-Identifier: GPL-2.0 -  
2 /* 1 /*
3 * Device Tree Source for Meraki MR33 (Stinkbug) 2 * Device Tree Source for Meraki MR33 (Stinkbug)
4 * 3 *
5 * Copyright (C) 2017 Chris Blake <chrisrblake93@gmail.com> 4 * Copyright (C) 2017 Chris Blake <chrisrblake93@gmail.com>
6 * Copyright (C) 2017 Christian Lamparter <chunkeey@googlemail.com> 5 * Copyright (C) 2017 Christian Lamparter <chunkeey@googlemail.com>
Line 11... Line 10...
11 * License version 2. This program is licensed "as is" without 10 * License version 2. This program is licensed "as is" without
12 * any warranty of any kind, whether express or implied. 11 * any warranty of any kind, whether express or implied.
13 */ 12 */
Line 14... Line 13...
14   13  
-   14 #include "qcom-ipq4019.dtsi"
15 #include "qcom-ipq4019.dtsi" 15 #include "qcom-ipq4019-bus.dtsi"
16 #include <dt-bindings/gpio/gpio.h> 16 #include <dt-bindings/gpio/gpio.h>
17 #include <dt-bindings/input/input.h> 17 #include <dt-bindings/input/input.h>
Line 18... Line 18...
18 #include <dt-bindings/soc/qcom,tcsr.h> 18 #include <dt-bindings/soc/qcom,tcsr.h>
Line 68... Line 68...
68 compatible = "qcom,tcsr"; 68 compatible = "qcom,tcsr";
69 reg = <0x1957000 0x100>; 69 reg = <0x1957000 0x100>;
70 qcom,wifi_noc_memtype_m0_m2 = <TCSR_WIFI_NOC_MEMTYPE_M0_M2>; 70 qcom,wifi_noc_memtype_m0_m2 = <TCSR_WIFI_NOC_MEMTYPE_M0_M2>;
71 }; 71 };
Line -... Line 72...
-   72  
-   73 serial@78af000 {
-   74 pinctrl-0 = <&serial_0_pins>;
-   75 pinctrl-names = "default";
-   76 status = "okay";
-   77 };
72   78  
73 serial@78b0000 { 79 serial@78b0000 {
74 pinctrl-0 = <&serial_1_pins>; 80 pinctrl-0 = <&serial_1_pins>;
75 pinctrl-names = "default"; 81 pinctrl-names = "default";
Line 101... Line 107...
101 phy-mode = "rgmii-rxid"; 107 phy-mode = "rgmii-rxid";
102 status = "okay"; 108 status = "okay";
103 }; 109 };
104 }; 110 };
Line 105... Line 111...
105   111  
106 keys { 112 gpio-keys {
Line 107... Line 113...
107 compatible = "gpio-keys"; 113 compatible = "gpio-keys";
108   114  
109 reset { 115 reset {
110 label = "reset"; 116 label = "reset";
111 gpios = <&tlmm 18 GPIO_ACTIVE_LOW>; 117 gpios = <&tlmm 18 GPIO_ACTIVE_LOW>;
112 linux,code = <KEY_RESTART>; 118 linux,code = <KEY_RESTART>;
Line 113... Line 119...
113 }; 119 };
114 }; 120 };
Line 115... Line 121...
115   121  
116 leds { 122 gpio-leds {
117 compatible = "gpio-leds"; 123 compatible = "gpio-leds";
Line 126... Line 132...
126   132  
127 &blsp_dma { 133 &blsp_dma {
128 status = "okay"; 134 status = "okay";
Line 129... Line -...
129 }; -  
130   -  
131 &blsp1_uart1 { -  
132 pinctrl-0 = <&serial_0_pins>; -  
133 pinctrl-names = "default"; -  
134 status = "okay"; -  
135 }; 135 };
136   136  
137 &cryptobam { 137 &cryptobam {
Line 138... Line 138...
138 status = "okay"; 138 status = "okay";
139 }; 139 };
140   140  
141 &gmac0 { 141 &gmac0 {
142 qcom,phy_mdio_addr = <1>; 142 qcom,phy_mdio_addr = <1>;
Line 143... Line 143...
143 qcom,poll_required = <1>; 143 qcom,poll_required = <1>;
144 vlan_tag = <0 0x20>; 144 vlan_tag = <0 0x20>;
145 }; 145 };
146   146  
147 &blsp1_i2c3{ 147 &i2c_0 {
148 pinctrl-0 = <&i2c_0_pins>; 148 pinctrl-0 = <&i2c_0_pins>;
Line 154... Line 154...
154 reg = <0x50>; 154 reg = <0x50>;
155 read-only; /* This holds our MAC & Meraki board-data */ 155 read-only; /* This holds our MAC & Meraki board-data */
156 }; 156 };
157 }; 157 };
Line 158... Line 158...
158   158  
159 &blsp1_i2c4{ 159 &i2c_1 {
160 pinctrl-0 = <&i2c_1_pins>; 160 pinctrl-0 = <&i2c_1_pins>;
161 pinctrl-names = "default"; 161 pinctrl-names = "default";
Line 162... Line 162...
162 status = "okay"; 162 status = "okay";
-   163  
163   164 lp5562@30 {
164 led-controller@30 { -  
165 compatible = "ti,lp5562"; 165 enable-gpio = <&tlmm 48 GPIO_ACTIVE_HIGH>;
166 reg = <0x30>; 166 compatible = "ti,lp5562";
Line 167... Line 167...
167 clock-mode = /bits/8 <2>; 167 clock-mode = /bits/8 <2>;
168 enable-gpio = <&tlmm 48 GPIO_ACTIVE_HIGH>; 168 reg = <0x30>;
169   169  
170 /* RGB led */ 170 /* RGB led */
Line 270... Line 270...
270   270  
271 &pcie0 { 271 &pcie0 {
272 status = "okay"; 272 status = "okay";
273 perst-gpio = <&tlmm 38 GPIO_ACTIVE_LOW>; 273 perst-gpio = <&tlmm 38 GPIO_ACTIVE_LOW>;
274 wake-gpio = <&tlmm 50 GPIO_ACTIVE_LOW>; -  
275   -  
276 bridge@0,0 { -  
277 reg = <0x00000000 0 0 0 0>; -  
278 #address-cells = <3>; -  
279 #size-cells = <2>; -  
280 ranges; -  
281   -  
282 wifi2: wifi@1,0 { -  
283 compatible = "qcom,ath10k"; -  
284 status = "okay"; -  
285 reg = <0x00010000 0 0 0 0>; -  
286 }; -  
287 }; 274 wake-gpio = <&tlmm 50 GPIO_ACTIVE_LOW>;
Line 288... Line 275...
288 }; 275 };
289   276  
290 &qpic_bam { 277 &qpic_bam {