~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/arm64/boot/dts/qcom/ipq9574-rdp-common.dtsi

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
  2 /*
  3  * IPQ9574 RDP board common device tree source
  4  *
  5  * Copyright (c) 2020-2021 The Linux Foundation. All rights reserved.
  6  * Copyright (c) 2023, Qualcomm Innovation Center, Inc. All rights reserved.
  7  */
  8 
  9 /dts-v1/;
 10 
 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"
 15 
 16 / {
 17         aliases {
 18                 serial0 = &blsp1_uart2;
 19         };
 20 
 21         chosen {
 22                 stdout-path = "serial0:115200n8";
 23         };
 24 
 25         regulator_fixed_3p3: s3300 {
 26                 compatible = "regulator-fixed";
 27                 regulator-min-microvolt = <3300000>;
 28                 regulator-max-microvolt = <3300000>;
 29                 regulator-boot-on;
 30                 regulator-always-on;
 31                 regulator-name = "fixed_3p3";
 32         };
 33 
 34         regulator_fixed_0p925: s0925 {
 35                 compatible = "regulator-fixed";
 36                 regulator-min-microvolt = <925000>;
 37                 regulator-max-microvolt = <925000>;
 38                 regulator-boot-on;
 39                 regulator-always-on;
 40                 regulator-name = "fixed_0p925";
 41         };
 42 
 43         gpio-keys {
 44                 compatible = "gpio-keys";
 45                 pinctrl-0 = <&gpio_keys_default>;
 46                 pinctrl-names = "default";
 47 
 48                 button-wps {
 49                         label = "wps";
 50                         linux,code = <KEY_WPS_BUTTON>;
 51                         gpios = <&tlmm 37 GPIO_ACTIVE_LOW>;
 52                         debounce-interval = <60>;
 53                 };
 54         };
 55 
 56         leds {
 57                 compatible = "gpio-leds";
 58                 pinctrl-0 = <&gpio_leds_default>;
 59                 pinctrl-names = "default";
 60 
 61                 led-0 {
 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";
 67                 };
 68         };
 69 };
 70 
 71 &blsp1_spi0 {
 72         pinctrl-0 = <&spi_0_pins>;
 73         pinctrl-names = "default";
 74         status = "okay";
 75 
 76         flash@0 {
 77                 compatible = "micron,n25q128a11", "jedec,spi-nor";
 78                 reg = <0>;
 79                 #address-cells = <1>;
 80                 #size-cells = <1>;
 81                 spi-max-frequency = <50000000>;
 82         };
 83 };
 84 
 85 &blsp1_uart2 {
 86         pinctrl-0 = <&uart2_pins>;
 87         pinctrl-names = "default";
 88         status = "okay";
 89 };
 90 
 91 &rpm_requests {
 92         regulators {
 93                 compatible = "qcom,rpm-mp5496-regulators";
 94 
 95                 ipq9574_s1: s1 {
 96                 /*
 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
103                  */
104                         regulator-min-microvolt = <725000>;
105                         regulator-max-microvolt = <1075000>;
106                 };
107 
108                 mp5496_l2: l2 {
109                         regulator-min-microvolt = <1800000>;
110                         regulator-max-microvolt = <1800000>;
111                         regulator-always-on;
112                         regulator-boot-on;
113                 };
114         };
115 };
116 
117 &sleep_clk {
118         clock-frequency = <32000>;
119 };
120 
121 &tlmm {
122         spi_0_pins: spi-0-state {
123                 pins = "gpio11", "gpio12", "gpio13", "gpio14";
124                 function = "blsp0_spi";
125                 drive-strength = <8>;
126                 bias-disable;
127         };
128 
129         gpio_keys_default: gpio-keys-default-state {
130                 pins = "gpio37";
131                 function = "gpio";
132                 drive-strength = <8>;
133                 bias-pull-up;
134         };
135 
136         gpio_leds_default: gpio-leds-default-state {
137                 pins = "gpio64";
138                 function = "gpio";
139                 drive-strength = <8>;
140                 bias-pull-up;
141         };
142 };
143 
144 &usb_0_dwc3 {
145         dr_mode = "host";
146 };
147 
148 &usb_0_qmpphy {
149         vdda-pll-supply = <&mp5496_l2>;
150         vdda-phy-supply = <&regulator_fixed_0p925>;
151 
152         status = "okay";
153 };
154 
155 &usb_0_qusbphy {
156         vdd-supply = <&regulator_fixed_0p925>;
157         vdda-pll-supply = <&mp5496_l2>;
158         vdda-phy-dpdm-supply = <&regulator_fixed_3p3>;
159 
160         status = "okay";
161 };
162 
163 &usb3 {
164         status = "okay";
165 };
166 
167 &xo_board_clk {
168         clock-frequency = <24000000>;
169 };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php