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";
306 compatible = "qca,qca8337";
307 #address-cells = <1>;
312 #address-cells = <1>;
320 tx-internal-delay-ps = <1000>;
321 rx-internal-delay-ps = <1000>;
332 phy-mode = "internal";
333 phy-handle = <&phy_port1>;
339 phy-mode = "internal";
340 phy-handle = <&phy_port2>;
346 phy-mode = "internal";
347 phy-handle = <&phy_port3>;
353 phy-mode = "internal";
354 phy-handle = <&phy_port4>;
360 phy-mode = "internal";
361 phy-handle = <&phy_port5>;
382 #address-cells = <1>;
413 qcom,phy_mdio_addr = <4>;
414 qcom,poll_required = <0>;
415 qcom,rgmii_delay = <1>;
416 qcom,phy_mii_type = <0>;
417 qcom,emulation = <0>;
421 pinctrl-0 = <&rgmii2_pins>;
422 pinctrl-names = "default";
424 nvmem-cells = <&macaddr_art_6>;
425 nvmem-cell-names = "mac-address";
438 qcom,phy_mdio_addr = <0>; /* none */
439 qcom,poll_required = <0>; /* no polling */
440 qcom,rgmii_delay = <0>;
441 qcom,phy_mii_type = <1>;
442 qcom,emulation = <0>;
446 nvmem-cells = <&macaddr_art_0>;
447 nvmem-cell-names = "mac-address";
478 pinctrl-0 = <&usb0_pwr_en_pins>;
479 pinctrl-names = "default";
493 pinctrl-0 = <&usb1_pwr_en_pins>;
494 pinctrl-names = "default";
501 reg = <0x00000000 0 0 0 0>;
502 #address-cells = <3>;
507 compatible = "pci168c,0046";
508 reg = <0x00010000 0 0 0 0>;
516 max-link-speed = <1>;
519 reg = <0x00000000 0 0 0 0>;
520 #address-cells = <3>;
525 compatible = "pci168c,0046";
526 reg = <0x00010000 0 0 0 0>;