1 #include "qcom-ipq8065-smb208.dtsi"
3 #include <dt-bindings/input/input.h>
7 reg = <0x42000000 0x1e000000>;
8 device_type = "memory";
13 reg = <0x5fe00000 0x200000>;
18 compatible = "ramoops";
19 reg = <0x42100000 0x40000>;
20 record-size = <0x4000>;
21 console-size = <0x4000>;
22 ftrace-size = <0x4000>;
28 label-mac-device = &gmac2;
30 led-boot = &power_white;
31 led-failsafe = &power_amber;
32 led-running = &power_white;
33 led-upgrade = &power_amber;
39 compatible = "gpio-keys";
40 pinctrl-0 = <&button_pins>;
41 pinctrl-names = "default";
45 gpios = <&qcom_pinmux 6 GPIO_ACTIVE_LOW>;
46 linux,code = <KEY_RFKILL>;
47 debounce-interval = <60>;
53 gpios = <&qcom_pinmux 54 GPIO_ACTIVE_LOW>;
54 linux,code = <KEY_RESTART>;
55 debounce-interval = <60>;
61 gpios = <&qcom_pinmux 65 GPIO_ACTIVE_LOW>;
62 linux,code = <KEY_WPS_BUTTON>;
63 debounce-interval = <60>;
69 compatible = "gpio-leds";
70 pinctrl-0 = <&led_pins>;
71 pinctrl-names = "default";
73 power_white: power_white {
74 label = "white:power";
75 gpios = <&qcom_pinmux 53 GPIO_ACTIVE_HIGH>;
76 default-state = "keep";
79 power_amber: power_amber {
80 label = "amber:power";
81 gpios = <&qcom_pinmux 9 GPIO_ACTIVE_HIGH>;
86 gpios = <&qcom_pinmux 22 GPIO_ACTIVE_HIGH>;
91 gpios = <&qcom_pinmux 23 GPIO_ACTIVE_HIGH>;
96 gpios = <&qcom_pinmux 64 GPIO_ACTIVE_HIGH>;
101 gpios = <&qcom_pinmux 24 GPIO_ACTIVE_HIGH>;
107 button_pins: button_pins {
109 pins = "gpio6", "gpio54", "gpio65";
111 drive-strength = <2>;
118 pins = "gpio7", "gpio8", "gpio9",
119 "gpio22", "gpio23", "gpio24",
120 "gpio26", "gpio53", "gpio64";
122 drive-strength = <2>;
127 mdio0_pins: mdio0-pins {
134 rgmii2_pins: rgmii2-pins {
136 pins = "gpio27", "gpio28", "gpio29",
137 "gpio30", "gpio31", "gpio32";
144 pins = "gpio18", "gpio19", "gpio21";
150 pins = "gpio18", "gpio19";
151 drive-strength = <10>;
156 drive-strength = <10>;
162 drive-strength = <12>;
166 spi6_pins: spi6_pins {
168 pins = "gpio55", "gpio56", "gpio58";
175 drive-strength = <12>;
180 drive-strength = <14>;
185 drive-strength = <12>;
191 drive-strength = <12>;
196 drive-strength = <10>;
202 usb0_pwr_en_pins: usb0_pwr_en_pins {
206 drive-strength = <12>;
212 usb1_pwr_en_pins: usb1_pwr_en_pins {
214 pins = "gpio16", "gpio68";
216 drive-strength = <12>;
228 compatible = "qcom,nandcs";
230 nand-ecc-strength = <4>;
231 nand-bus-width = <8>;
232 nand-ecc-step-size = <512>;
235 qcom,boot-partitions = <0x0 0x1180000>;
237 partitions: partitions {
238 compatible = "fixed-partitions";
239 #address-cells = <1>;
244 reg = <0x0000000 0x0c80000>;
250 reg = <0x0c80000 0x0500000>;
256 reg = <0x1180000 0x0080000>;
260 art: partition@1200000 {
262 reg = <0x1200000 0x0140000>;
264 compatible = "nvmem-cells";
265 #address-cells = <1>;
268 macaddr_art_0: macaddr@0 {
272 macaddr_art_6: macaddr@6 {
276 precal_art_1000: precal@1000 {
277 reg = <0x1000 0x2f20>;
280 precal_art_5000: precal@5000 {
281 reg = <0x5000 0x2f20>;
287 reg = <0x1340000 0x0140000>;
293 reg = <0x1480000 0x0400000>;
302 pinctrl-0 = <&mdio0_pins>;
303 pinctrl-names = "default";
305 phy0: ethernet-phy@0 {
307 qca,ar8327-initvals = <
308 0x00004 0x7600000 /* PAD0_MODE */
309 0x00008 0x1000000 /* PAD5_MODE */
310 0x0000c 0x80 /* PAD6_MODE */
311 0x000e4 0xaa545 /* MAC_POWER_SEL */
312 0x000e0 0xc74164de /* SGMII_CTRL */
313 0x0007c 0x4e /* PORT0_STATUS */
314 0x00094 0x4e /* PORT6_STATUS */
315 0x00970 0x1e864443 /* QM_PORT0_CTRL0 */
316 0x00974 0x000001c6 /* QM_PORT0_CTRL1 */
317 0x00978 0x19008643 /* QM_PORT1_CTRL0 */
318 0x0097c 0x000001c6 /* QM_PORT1_CTRL1 */
319 0x00980 0x19008643 /* QM_PORT2_CTRL0 */
320 0x00984 0x000001c6 /* QM_PORT2_CTRL1 */
321 0x00988 0x19008643 /* QM_PORT3_CTRL0 */
322 0x0098c 0x000001c6 /* QM_PORT3_CTRL1 */
323 0x00990 0x19008643 /* QM_PORT4_CTRL0 */
324 0x00994 0x000001c6 /* QM_PORT4_CTRL1 */
325 0x00998 0x1e864443 /* QM_PORT5_CTRL0 */
326 0x0099c 0x000001c6 /* QM_PORT5_CTRL1 */
327 0x009a0 0x1e864443 /* QM_PORT6_CTRL0 */
328 0x009a4 0x000001c6 /* QM_PORT6_CTRL1 */
331 0x1 0x5e /* VLAN1 Ports 1/2/3/4/6 */
332 0x2 0x21 /* VLAN2 Ports 0/5 */
336 phy4: ethernet-phy@4 {
338 qca,ar8327-initvals = <
339 0x000e4 0x6a545 /* MAC_POWER_SEL */
340 0x0000c 0x80 /* PAD6_MODE */
350 qcom,phy_mdio_addr = <4>;
351 qcom,poll_required = <0>;
352 qcom,rgmii_delay = <1>;
353 qcom,phy_mii_type = <0>;
354 qcom,emulation = <0>;
358 pinctrl-0 = <&rgmii2_pins>;
359 pinctrl-names = "default";
361 nvmem-cells = <&macaddr_art_6>;
362 nvmem-cell-names = "mac-address";
375 qcom,phy_mdio_addr = <0>; /* none */
376 qcom,poll_required = <0>; /* no polling */
377 qcom,rgmii_delay = <0>;
378 qcom,phy_mii_type = <1>;
379 qcom,emulation = <0>;
383 nvmem-cells = <&macaddr_art_0>;
384 nvmem-cell-names = "mac-address";
415 pinctrl-0 = <&usb0_pwr_en_pins>;
416 pinctrl-names = "default";
430 pinctrl-0 = <&usb1_pwr_en_pins>;
431 pinctrl-names = "default";
438 reg = <0x00000000 0 0 0 0>;
439 #address-cells = <3>;
444 compatible = "pci168c,0046";
445 reg = <0x00010000 0 0 0 0>;
453 max-link-speed = <1>;
456 reg = <0x00000000 0 0 0 0>;
457 #address-cells = <3>;
462 compatible = "pci168c,0046";
463 reg = <0x00010000 0 0 0 0>;