1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
3 * IPQ9574 RDP board common device tree source
5 * Copyright (c) 2020-2021 The Linux Foundation. All rights reserved.
6 * Copyright (c) 2023, Qualcomm Innovation Center, Inc. All rights reserved.
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/input/input.h>
13 #include <dt-bindings/leds/common.h>
14 #include "ipq9574.dtsi"
18 serial0 = &blsp1_uart2;
22 stdout-path = "serial0:115200n8";
25 regulator_fixed_3p3: s3300 {
26 compatible = "regulator-fixed";
27 regulator-min-microvolt = <3300000>;
28 regulator-max-microvolt = <3300000>;
31 regulator-name = "fixed_3p3";
34 regulator_fixed_0p925: s0925 {
35 compatible = "regulator-fixed";
36 regulator-min-microvolt = <925000>;
37 regulator-max-microvolt = <925000>;
40 regulator-name = "fixed_0p925";
44 compatible = "gpio-keys";
45 pinctrl-0 = <&gpio_keys_default>;
46 pinctrl-names = "default";
50 linux,code = <KEY_WPS_BUTTON>;
51 gpios = <&tlmm 37 GPIO_ACTIVE_LOW>;
52 debounce-interval = <60>;
57 compatible = "gpio-leds";
58 pinctrl-0 = <&gpio_leds_default>;
59 pinctrl-names = "default";
62 color = <LED_COLOR_ID_GREEN>;
63 function = LED_FUNCTION_WLAN;
64 gpios = <&tlmm 64 GPIO_ACTIVE_LOW>;
65 linux,default-trigger = "phy0tx";
66 default-state = "off";
72 pinctrl-0 = <&spi_0_pins>;
73 pinctrl-names = "default";
77 compatible = "micron,n25q128a11", "jedec,spi-nor";
81 spi-max-frequency = <50000000>;
86 pinctrl-0 = <&uart2_pins>;
87 pinctrl-names = "default";
93 compatible = "qcom,rpm-mp5496-regulators";
97 * During kernel bootup, the SoC runs at 800MHz with 875mV set by the bootloaders.
98 * During regulator registration, kernel not knowing the initial voltage,
99 * considers it as zero and brings up the regulators with minimum supported voltage.
100 * Update the regulator-min-microvolt with SVS voltage of 725mV so that
101 * the regulators are brought up with 725mV which is sufficient for all the
102 * corner parts to operate at 800MHz
104 regulator-min-microvolt = <725000>;
105 regulator-max-microvolt = <1075000>;
109 regulator-min-microvolt = <1800000>;
110 regulator-max-microvolt = <1800000>;
118 clock-frequency = <32000>;
122 spi_0_pins: spi-0-state {
123 pins = "gpio11", "gpio12", "gpio13", "gpio14";
124 function = "blsp0_spi";
125 drive-strength = <8>;
129 gpio_keys_default: gpio-keys-default-state {
132 drive-strength = <8>;
136 gpio_leds_default: gpio-leds-default-state {
139 drive-strength = <8>;
149 vdda-pll-supply = <&mp5496_l2>;
150 vdda-phy-supply = <®ulator_fixed_0p925>;
156 vdd-supply = <®ulator_fixed_0p925>;
157 vdda-pll-supply = <&mp5496_l2>;
158 vdda-phy-dpdm-supply = <®ulator_fixed_3p3>;
168 clock-frequency = <24000000>;