1 #include "qcom-ipq8064-v1.0.dtsi"
4 model = "Qualcomm IPQ8064/DB149";
5 compatible = "qcom,ipq8064-db149", "qcom,ipq8064";
12 reg = <0x41200000 0x300000>;
23 stdout-path = "serial0:115200n8";
27 mdio0: mdio@37000000 {
31 compatible = "qcom,ipq8064-mdio", "syscon";
32 reg = <0x37000000 0x200000>;
33 resets = <&gcc GMAC_CORE1_RESET>;
34 reset-names = "stmmaceth";
35 clocks = <&gcc GMAC_CORE1_CLK>;
36 clock-names = "stmmaceth";
38 pinctrl-0 = <&mdio0_pins>;
39 pinctrl-names = "default";
41 phy0: ethernet-phy@0 {
43 qca,ar8327-initvals = <
44 0x00004 0x7600000 /* PAD0_MODE */
45 0x00008 0x1000000 /* PAD5_MODE */
46 0x0000c 0x80 /* PAD6_MODE */
47 0x000e4 0x6a545 /* MAC_POWER_SEL */
48 0x000e0 0xc74164de /* SGMII_CTRL */
49 0x0007c 0x4e /* PORT0_STATUS */
50 0x00094 0x4e /* PORT6_STATUS */
54 phy4: ethernet-phy@4 {
58 phy6: ethernet-phy@6 {
62 phy7: ethernet-phy@7 {
70 i2c4_pins: i2c4_pinmux {
71 pins = "gpio12", "gpio13";
78 pins = "gpio18", "gpio19", "gpio21";
80 drive-strength = <10>;
85 mdio0_pins: mdio0_pins {
87 pins = "gpio0", "gpio1";
94 rgmii0_pins: rgmii0_pins {
96 pins = "gpio2", "gpio66";
104 qcom,mode = <GSBI_PROT_I2C_UART>;
106 uart2: serial@12490000 {
112 qcom,mode = <GSBI_PROT_SPI>;
117 spi-max-frequency = <50000000>;
119 pinctrl-0 = <&spi_pins>;
120 pinctrl-names = "default";
122 cs-gpios = <&qcom_pinmux 20 0>;
125 compatible = "s25fl256s1";
126 #address-cells = <1>;
128 spi-max-frequency = <50000000>;
133 label = "lowlevel_init";
134 reg = <0x0 0x1b0000>;
139 reg = <0x1b0000 0x80000>;
143 label = "u-boot-env";
144 reg = <0x230000 0x40000>;
149 reg = <0x270000 0x40000>;
154 reg = <0x2b0000 0x1d50000>;
192 phy-handle = <&phy4>;
194 pinctrl-0 = <&rgmii0_pins>;
195 pinctrl-names = "default";
213 phy-handle = <&phy6>;
220 phy-handle = <&phy7>;