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>;
266 compatible = "fixed-layout";
267 #address-cells = <1>;
270 macaddr_art_0: macaddr@0 {
274 macaddr_art_6: macaddr@6 {
275 compatible = "mac-base";
277 #nvmem-cell-cells = <1>;
280 macaddr_art_c: macaddr@c {
284 precal_art_1000: precal@1000 {
285 reg = <0x1000 0x2f20>;
288 precal_art_5000: precal@5000 {
289 reg = <0x5000 0x2f20>;
296 reg = <0x1340000 0x0140000>;
302 reg = <0x1480000 0x0400000>;
311 pinctrl-0 = <&mdio0_pins>;
312 pinctrl-names = "default";
315 compatible = "qca,qca8337";
316 #address-cells = <1>;
321 #address-cells = <1>;
329 tx-internal-delay-ps = <1000>;
330 rx-internal-delay-ps = <1000>;
341 phy-mode = "internal";
342 phy-handle = <&phy_port1>;
348 phy-mode = "internal";
349 phy-handle = <&phy_port2>;
355 phy-mode = "internal";
356 phy-handle = <&phy_port3>;
362 phy-mode = "internal";
363 phy-handle = <&phy_port4>;
369 phy-mode = "internal";
370 phy-handle = <&phy_port5>;
378 qca,sgmii-enable-pll;
388 #address-cells = <1>;
419 qcom,phy_mdio_addr = <4>;
420 qcom,poll_required = <0>;
421 qcom,rgmii_delay = <1>;
422 qcom,phy_mii_type = <0>;
423 qcom,emulation = <0>;
427 pinctrl-0 = <&rgmii2_pins>;
428 pinctrl-names = "default";
430 nvmem-cells = <&macaddr_art_6>;
431 nvmem-cell-names = "mac-address";
444 qcom,phy_mdio_addr = <0>; /* none */
445 qcom,poll_required = <0>; /* no polling */
446 qcom,rgmii_delay = <0>;
447 qcom,phy_mii_type = <1>;
448 qcom,emulation = <0>;
452 nvmem-cells = <&macaddr_art_0>;
453 nvmem-cell-names = "mac-address";
484 pinctrl-0 = <&usb0_pwr_en_pins>;
485 pinctrl-names = "default";
499 pinctrl-0 = <&usb1_pwr_en_pins>;
500 pinctrl-names = "default";
507 reg = <0x00000000 0 0 0 0>;
508 #address-cells = <3>;
513 compatible = "pci168c,0046";
514 reg = <0x00010000 0 0 0 0>;
522 max-link-speed = <1>;
525 reg = <0x00000000 0 0 0 0>;
526 #address-cells = <3>;
531 compatible = "pci168c,0046";
532 reg = <0x00010000 0 0 0 0>;