1 #include "qcom-ipq8064-v1.0.dtsi"
4 model = "Qualcomm IPQ8064/AP161";
5 compatible = "qcom,ipq8064-ap161", "qcom,ipq8064";
8 reg = <0x42000000 0x1e000000>;
9 device_type = "memory";
17 reg = <0x41200000 0x300000>;
23 serial0 = &gsbi4_serial;
28 stdout-path = "serial0:115200n8";
33 i2c4_pins: i2c4_pinmux {
34 pins = "gpio12", "gpio13";
41 pins = "gpio18", "gpio19", "gpio21";
43 drive-strength = <10>;
47 nand_pins: nand_pins {
49 pins = "gpio34", "gpio35", "gpio36",
52 drive-strength = <10>;
59 drive-strength = <10>;
64 pins = "gpio40", "gpio41", "gpio42",
65 "gpio43", "gpio44", "gpio45",
68 drive-strength = <10>;
73 mdio0_pins: mdio0_pins {
75 pins = "gpio0", "gpio1";
82 rgmii2_pins: rgmii2_pins {
84 pins = "gpio2", "gpio27", "gpio28",
85 "gpio29", "gpio30", "gpio31",
86 "gpio32", "gpio51", "gpio52",
87 "gpio59", "gpio60", "gpio61",
97 qcom,mode = <GSBI_PROT_I2C_UART>;
104 * The i2c device on gsbi4 should not be enabled.
105 * On ipq806x designs gsbi4 i2c is meant for exclusive
106 * RPM usage. Turning this on in kernel manifests as
107 * i2c failure for the RPM.
111 gsbi5: gsbi@1a200000 {
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>;
132 compatible = "qcom,smem";
146 usb3_0: usb3@110f8800 {
150 usb3_1: usb3@100f8800 {
154 pcie0: pci@1b500000 {
158 pcie1: pci@1b700000 {
163 pcie2: pci@1b900000 {
170 pinctrl-0 = <&nand_pins>;
171 pinctrl-names = "default";
175 compatible = "qcom,nandcs";
177 nand-ecc-strength = <4>;
178 nand-bus-width = <8>;
179 nand-ecc-step-size = <512>;
182 compatible = "qcom,smem";
188 compatible = "virtual,mdio-gpio";
189 #address-cells = <1>;
191 gpios = <&qcom_pinmux 1 0 &qcom_pinmux 0 0>;
192 pinctrl-0 = <&mdio0_pins>;
193 pinctrl-names = "default";
195 phy0: ethernet-phy@0 {
197 qca,ar8327-initvals = <
198 0x00004 0x7600000 /* PAD0_MODE */
199 0x00008 0x1000000 /* PAD5_MODE */
200 0x0000c 0x20080 /* PAD6_MODE */
201 0x000e4 0x6a545 /* MAC_POWER_SEL */
202 0x000e0 0xc74164de /* SGMII_CTRL */
203 0x0007c 0x4e /* PORT0_STATUS */
204 0x00094 0x4e /* PORT6_STATUS */
208 phy4: ethernet-phy@4 {
215 phy3: ethernet-phy@3 {
216 device_type = "ethernet-phy";
221 gmac0: ethernet@37000000 {
226 pinctrl-0 = <&rgmii2_pins>;
227 pinctrl-names = "default";
236 gmac1: ethernet@37200000 {
248 gmac2: ethernet@37400000 {