ipq40xx: remove support for kernel 4.19
[openwrt/staging/chunkeey.git] / target / linux / ipq806x / files-5.4 / arch / arm / boot / dts / qcom-ipq8064-db149.dts
1 #include "qcom-ipq8064-v1.0.dtsi"
2
3 / {
4 model = "Qualcomm IPQ8064/DB149";
5 compatible = "qcom,ipq8064-db149", "qcom,ipq8064";
6
7 aliases {
8 serial0 = &gsbi2_serial;
9 };
10
11 reserved-memory {
12 #address-cells = <1>;
13 #size-cells = <1>;
14 ranges;
15 rsvd@41200000 {
16 reg = <0x41200000 0x300000>;
17 no-map;
18 };
19 };
20 };
21
22 &qcom_pinmux {
23 rgmii0_pins: rgmii0_pins {
24 mux {
25 pins = "gpio2", "gpio66";
26 drive-strength = <8>;
27 bias-disable;
28 };
29 };
30 };
31
32 &gsbi2 {
33 qcom,mode = <GSBI_PROT_I2C_UART>;
34 status = "okay";
35
36 gsbi2_serial: serial@12490000 {
37 status = "okay";
38 };
39 };
40
41 &gsbi4 {
42 status = "disabled";
43 };
44
45 &gsbi4_serial {
46 status = "disabled";
47 };
48
49 &flash {
50 m25p,fast-read;
51
52 partition@0 {
53 label = "lowlevel_init";
54 reg = <0x0 0x1b0000>;
55 };
56
57 partition@1 {
58 label = "u-boot";
59 reg = <0x1b0000 0x80000>;
60 };
61
62 partition@2 {
63 label = "u-boot-env";
64 reg = <0x230000 0x40000>;
65 };
66
67 partition@3 {
68 label = "caldata";
69 reg = <0x270000 0x40000>;
70 };
71
72 partition@4 {
73 label = "firmware";
74 reg = <0x2b0000 0x1d50000>;
75 };
76 };
77
78 &usb3_0 {
79 status = "okay";
80 };
81
82 &usb3_1 {
83 status = "okay";
84 };
85
86 &pcie0 {
87 status = "okay";
88 };
89
90 &pcie1 {
91 status = "okay";
92 };
93
94 &pcie2 {
95 status = "okay";
96 };
97
98 &mdio0 {
99 status = "okay";
100
101 pinctrl-0 = <&mdio0_pins>;
102 pinctrl-names = "default";
103
104 phy0: ethernet-phy@0 {
105 reg = <0>;
106 qca,ar8327-initvals = <
107 0x00004 0x7600000 /* PAD0_MODE */
108 0x00008 0x1000000 /* PAD5_MODE */
109 0x0000c 0x80 /* PAD6_MODE */
110 0x000e4 0x6a545 /* MAC_POWER_SEL */
111 0x000e0 0xc74164de /* SGMII_CTRL */
112 0x0007c 0x4e /* PORT0_STATUS */
113 0x00094 0x4e /* PORT6_STATUS */
114 >;
115 };
116
117 phy4: ethernet-phy@4 {
118 reg = <4>;
119 };
120
121 phy6: ethernet-phy@6 {
122 reg = <6>;
123 };
124
125 phy7: ethernet-phy@7 {
126 reg = <7>;
127 };
128 };
129
130 &gmac0 {
131 status = "okay";
132 phy-mode = "rgmii";
133 qcom,id = <0>;
134 phy-handle = <&phy4>;
135
136 pinctrl-0 = <&rgmii0_pins>;
137 pinctrl-names = "default";
138 };
139
140 &gmac1 {
141 status = "okay";
142 phy-mode = "sgmii";
143 qcom,id = <1>;
144
145 fixed-link {
146 speed = <1000>;
147 full-duplex;
148 };
149 };
150
151 &gmac2 {
152 status = "okay";
153 phy-mode = "sgmii";
154 qcom,id = <2>;
155 phy-handle = <&phy6>;
156 };
157
158 &gmac3 {
159 status = "okay";
160 phy-mode = "sgmii";
161 qcom,id = <3>;
162 phy-handle = <&phy7>;
163 };