1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
5 #include "ipq8074.dtsi"
6 #include "ipq8074-hk-cpu.dtsi"
7 #include "ipq8074-ess.dtsi"
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/input/input.h>
10 #include <dt-bindings/leds/common.h>
13 model = "prpl Foundation Haze";
14 compatible = "prpl,haze", "qcom,ipq8074";
17 serial0 = &blsp1_uart5;
18 /* Aliases are required by U-Boot to patch MAC addresses */
23 label-mac-device = &dp6_syn;
24 led-boot = &led_system_blue;
25 led-failsafe = &led_system_red;
26 led-running = &led_system_green;
27 led-upgrade = &led_system_blue;
31 stdout-path = "serial0:115200n8";
35 compatible = "gpio-keys";
36 pinctrl-0 = <&button_pins>;
37 pinctrl-names = "default";
41 gpios = <&tlmm 42 GPIO_ACTIVE_LOW>;
42 linux,code = <KEY_WPS_BUTTON>;
47 gpios = <&tlmm 44 GPIO_ACTIVE_LOW>;
48 linux,code = <KEY_RESTART>;
54 mdio_pins: mdio-state {
70 button_pins: button-state {
86 i2c_3_pins: i2c-3-state {
87 pins = "gpio46", "gpio47";
88 function = "blsp2_i2c";
138 &blsp1_spi1 { /* BLSP1 QUP1 */
139 pinctrl-0 = <&spi_0_pins>;
140 pinctrl-names = "default";
145 #address-cells = <1>;
148 compatible = "jedec,spi-nor";
149 spi-max-frequency = <50000000>;
152 compatible = "qcom,smem-part";
160 pinctrl-0 = <&mdio_pins>;
161 pinctrl-names = "default";
162 reset-gpios = <&tlmm 22 GPIO_ACTIVE_LOW>;
164 ethernet-phy-package@0 {
165 #address-cells = <1>;
167 compatible = "qcom,qca8075-package";
170 qca8075_0: ethernet-phy@0 {
171 compatible = "ethernet-phy-ieee802.3-c22";
175 qca8075_1: ethernet-phy@1 {
176 compatible = "ethernet-phy-ieee802.3-c22";
180 qca8075_2: ethernet-phy@2 {
181 compatible = "ethernet-phy-ieee802.3-c22";
185 qca8075_3: ethernet-phy@3 {
186 compatible = "ethernet-phy-ieee802.3-c22";
191 aqr113c: ethernet-phy@5 {
192 compatible ="ethernet-phy-ieee802.3-c45";
194 reset-gpios = <&tlmm 43 GPIO_ACTIVE_LOW>;
201 vqmmc-supply = <&l11>;
207 switch_lan_bmp = <(ESS_PORT1 | ESS_PORT2 | ESS_PORT3 | ESS_PORT4)>; /* lan port bitmap */
208 switch_wan_bmp = <ESS_PORT6>; /* wan port bitmap */
209 switch_mac_mode = <MAC_MODE_PSGMII>; /* mac mode for uniphy instance0*/
210 switch_mac_mode1 = <MAC_MODE_10GBASE_R>; /* mac mode for uniphy instance1*/
211 switch_mac_mode2 = <MAC_MODE_USXGMII>; /* mac mode for uniphy instance2*/
233 compatible = "ethernet-phy-ieee802.3-c45";
234 ethernet-phy-ieee802.3-c45;
246 phy-handle = <&qca8075_0>;
252 phy-handle = <&qca8075_1>;
258 phy-handle = <&qca8075_2>;
264 phy-handle = <&qca8075_3>;
271 phy-handle = <&aqr113c>;
282 perst-gpio = <&tlmm 58 GPIO_ACTIVE_LOW>;
285 reg = <0x00020000 0 0 0 0>;
286 #address-cells = <3>;
299 perst-gpio = <&tlmm 61 GPIO_ACTIVE_LOW>;
302 reg = <0x00010000 0 0 0 0>;
303 #address-cells = <3>;
310 /* ath11k has no DT compatible for PCI cards */
311 compatible = "pci17cb,1104";
312 reg = <0x00010000 0 0 0 0>;
314 qcom,ath11k-calibration-variant = "prpl-Haze";
322 qcom,ath11k-calibration-variant = "prpl-Haze";
326 pinctrl-0 = <&i2c_3_pins>;
327 pinctrl-names = "default";
331 compatible = "ti,lp5562";
333 clock-mode = /bits/ 8 <2>;
334 #address-cells = <1>;
337 led_system_red: chan@0 {
339 led-cur = /bits/ 8 <0x20>;
340 max-cur = /bits/ 8 <0x60>;
341 color = <LED_COLOR_ID_RED>;
345 led_system_green: chan@1 {
347 led-cur = /bits/ 8 <0x20>;
348 max-cur = /bits/ 8 <0x60>;
349 color = <LED_COLOR_ID_GREEN>;
353 led_system_blue: chan@2 {
355 led-cur = /bits/ 8 <0x20>;
356 max-cur = /bits/ 8 <0x60>;
357 color = <LED_COLOR_ID_BLUE>;