1 #include "qcom-ipq8065-smb208.dtsi"
3 #include <dt-bindings/input/input.h>
4 #include <dt-bindings/leds/common.h>
8 reg = <0x42000000 0x1e000000>;
9 device_type = "memory";
14 reg = <0x5fe00000 0x200000>;
19 compatible = "ramoops";
20 reg = <0x42100000 0x40000>;
21 record-size = <0x4000>;
22 console-size = <0x4000>;
23 ftrace-size = <0x4000>;
29 label-mac-device = &gmac2;
31 led-boot = &power_white;
32 led-failsafe = &power_amber;
33 led-running = &power_white;
34 led-upgrade = &power_amber;
40 compatible = "gpio-keys";
41 pinctrl-0 = <&button_pins>;
42 pinctrl-names = "default";
46 gpios = <&qcom_pinmux 6 GPIO_ACTIVE_LOW>;
47 linux,code = <KEY_RFKILL>;
48 debounce-interval = <60>;
54 gpios = <&qcom_pinmux 54 GPIO_ACTIVE_LOW>;
55 linux,code = <KEY_RESTART>;
56 debounce-interval = <60>;
62 gpios = <&qcom_pinmux 65 GPIO_ACTIVE_LOW>;
63 linux,code = <KEY_WPS_BUTTON>;
64 debounce-interval = <60>;
70 compatible = "gpio-leds";
71 pinctrl-0 = <&led_pins>;
72 pinctrl-names = "default";
74 power_white: power_white {
75 function = LED_FUNCTION_POWER;
76 color = <LED_COLOR_ID_WHITE>;
77 gpios = <&qcom_pinmux 53 GPIO_ACTIVE_HIGH>;
78 default-state = "keep";
81 power_amber: power_amber {
82 function = LED_FUNCTION_POWER;
83 color = <LED_COLOR_ID_AMBER>;
84 gpios = <&qcom_pinmux 9 GPIO_ACTIVE_HIGH>;
88 function = LED_FUNCTION_WAN;
89 color = <LED_COLOR_ID_WHITE>;
90 gpios = <&qcom_pinmux 22 GPIO_ACTIVE_HIGH>;
94 function = LED_FUNCTION_WAN;
95 color = <LED_COLOR_ID_AMBER>;
96 gpios = <&qcom_pinmux 23 GPIO_ACTIVE_HIGH>;
100 label = "white:wifi";
101 gpios = <&qcom_pinmux 64 GPIO_ACTIVE_HIGH>;
105 function = LED_FUNCTION_WPS;
106 color = <LED_COLOR_ID_WHITE>;
107 gpios = <&qcom_pinmux 24 GPIO_ACTIVE_HIGH>;
113 button_pins: button_pins {
115 pins = "gpio6", "gpio54", "gpio65";
117 drive-strength = <2>;
124 pins = "gpio7", "gpio8", "gpio9",
125 "gpio22", "gpio23", "gpio24",
126 "gpio26", "gpio53", "gpio64";
128 drive-strength = <2>;
133 mdio0_pins: mdio0-pins {
140 rgmii2_pins: rgmii2-pins {
142 pins = "gpio27", "gpio28", "gpio29",
143 "gpio30", "gpio31", "gpio32";
150 pins = "gpio18", "gpio19", "gpio21";
156 pins = "gpio18", "gpio19";
157 drive-strength = <10>;
162 drive-strength = <10>;
168 drive-strength = <12>;
172 spi6_pins: spi6_pins {
174 pins = "gpio55", "gpio56", "gpio58";
181 drive-strength = <12>;
186 drive-strength = <14>;
191 drive-strength = <12>;
197 drive-strength = <12>;
202 drive-strength = <10>;
208 usb0_pwr_en_pins: usb0_pwr_en_pins {
212 drive-strength = <12>;
218 usb1_pwr_en_pins: usb1_pwr_en_pins {
220 pins = "gpio16", "gpio68";
222 drive-strength = <12>;
234 compatible = "qcom,nandcs";
236 nand-ecc-strength = <4>;
237 nand-bus-width = <8>;
238 nand-ecc-step-size = <512>;
241 qcom,boot-partitions = <0x0 0x1180000>;
243 partitions: partitions {
244 compatible = "fixed-partitions";
245 #address-cells = <1>;
250 reg = <0x0000000 0x0c80000>;
256 reg = <0x0c80000 0x0500000>;
262 reg = <0x1180000 0x0080000>;
266 art: partition@1200000 {
268 reg = <0x1200000 0x0140000>;
272 compatible = "fixed-layout";
273 #address-cells = <1>;
276 macaddr_art_0: macaddr@0 {
280 macaddr_art_6: macaddr@6 {
281 compatible = "mac-base";
283 #nvmem-cell-cells = <1>;
286 macaddr_art_c: macaddr@c {
290 precal_art_1000: precal@1000 {
291 reg = <0x1000 0x2f20>;
294 precal_art_5000: precal@5000 {
295 reg = <0x5000 0x2f20>;
302 reg = <0x1340000 0x0140000>;
308 reg = <0x1480000 0x0400000>;
317 pinctrl-0 = <&mdio0_pins>;
318 pinctrl-names = "default";
321 compatible = "qca,qca8337";
322 #address-cells = <1>;
327 #address-cells = <1>;
335 tx-internal-delay-ps = <1000>;
336 rx-internal-delay-ps = <1000>;
347 phy-mode = "internal";
348 phy-handle = <&phy_port1>;
354 phy-mode = "internal";
355 phy-handle = <&phy_port2>;
361 phy-mode = "internal";
362 phy-handle = <&phy_port3>;
368 phy-mode = "internal";
369 phy-handle = <&phy_port4>;
375 phy-mode = "internal";
376 phy-handle = <&phy_port5>;
384 qca,sgmii-enable-pll;
394 #address-cells = <1>;
425 qcom,phy_mdio_addr = <4>;
426 qcom,poll_required = <0>;
427 qcom,rgmii_delay = <1>;
428 qcom,phy_mii_type = <0>;
429 qcom,emulation = <0>;
433 pinctrl-0 = <&rgmii2_pins>;
434 pinctrl-names = "default";
436 nvmem-cells = <&macaddr_art_6 0>;
437 nvmem-cell-names = "mac-address";
450 qcom,phy_mdio_addr = <0>; /* none */
451 qcom,poll_required = <0>; /* no polling */
452 qcom,rgmii_delay = <0>;
453 qcom,phy_mii_type = <1>;
454 qcom,emulation = <0>;
458 nvmem-cells = <&macaddr_art_0>;
459 nvmem-cell-names = "mac-address";
490 pinctrl-0 = <&usb0_pwr_en_pins>;
491 pinctrl-names = "default";
505 pinctrl-0 = <&usb1_pwr_en_pins>;
506 pinctrl-names = "default";
513 reg = <0x00000000 0 0 0 0>;
514 #address-cells = <3>;
519 compatible = "pci168c,0046";
520 reg = <0x00010000 0 0 0 0>;
528 max-link-speed = <1>;
531 reg = <0x00000000 0 0 0 0>;
532 #address-cells = <3>;
537 compatible = "pci168c,0046";
538 reg = <0x00010000 0 0 0 0>;