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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm64/rockchip/rk3399-sapphire.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 ] ~

Diff markup

Differences between /scripts/dtc/include-prefixes/arm64/rockchip/rk3399-sapphire.dtsi (Version linux-6.12-rc7) and /scripts/dtc/include-prefixes/arm64/rockchip/rk3399-sapphire.dtsi (Version linux-5.10.229)


  1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)       1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  2 /*                                                  2 /*
  3  * Copyright (c) 2017 Fuzhou Rockchip Electron      3  * Copyright (c) 2017 Fuzhou Rockchip Electronics Co., Ltd.
  4  */                                                 4  */
  5                                                     5 
  6 #include "dt-bindings/pwm/pwm.h"                    6 #include "dt-bindings/pwm/pwm.h"
  7 #include "dt-bindings/input/input.h"                7 #include "dt-bindings/input/input.h"
  8 #include "rk3399.dtsi"                              8 #include "rk3399.dtsi"
                                                   >>   9 #include "rk3399-opp.dtsi"
  9                                                    10 
 10 / {                                                11 / {
 11         compatible = "rockchip,rk3399-sapphire     12         compatible = "rockchip,rk3399-sapphire", "rockchip,rk3399";
 12                                                    13 
 13         aliases {                              << 
 14                 ethernet0 = &gmac;             << 
 15                 mmc0 = &sdmmc;                 << 
 16                 mmc1 = &sdhci;                 << 
 17         };                                     << 
 18                                                << 
 19         chosen {                                   14         chosen {
 20                 stdout-path = "serial2:1500000     15                 stdout-path = "serial2:1500000n8";
 21         };                                         16         };
 22                                                    17 
 23         clkin_gmac: external-gmac-clock {          18         clkin_gmac: external-gmac-clock {
 24                 compatible = "fixed-clock";        19                 compatible = "fixed-clock";
 25                 clock-frequency = <125000000>;     20                 clock-frequency = <125000000>;
 26                 clock-output-names = "clkin_gm     21                 clock-output-names = "clkin_gmac";
 27                 #clock-cells = <0>;                22                 #clock-cells = <0>;
 28         };                                         23         };
 29                                                    24 
 30         dc_12v: dc-12v {                           25         dc_12v: dc-12v {
 31                 compatible = "regulator-fixed"     26                 compatible = "regulator-fixed";
 32                 regulator-name = "dc_12v";         27                 regulator-name = "dc_12v";
 33                 regulator-always-on;               28                 regulator-always-on;
 34                 regulator-boot-on;                 29                 regulator-boot-on;
 35                 regulator-min-microvolt = <120     30                 regulator-min-microvolt = <12000000>;
 36                 regulator-max-microvolt = <120     31                 regulator-max-microvolt = <12000000>;
 37         };                                         32         };
 38                                                    33 
 39         /*                                         34         /*
 40          * The fan power supply comes from the     35          * The fan power supply comes from the baseboard.
 41          * For the standalone Sapphire one opt     36          * For the standalone Sapphire one option is to connect a wire
 42          * from  R90030 DNP R0805 pin2  to  C9     37          * from  R90030 DNP R0805 pin2  to  C90002 10uF C0805 pin1 (vcc_sys).
 43          */                                        38          */
 44         fan0: gpio-fan {                           39         fan0: gpio-fan {
 45                 #cooling-cells = <2>;              40                 #cooling-cells = <2>;
 46                 compatible = "gpio-fan";           41                 compatible = "gpio-fan";
 47                 gpio-fan,speed-map = <0 0>, <3 !!  42                 gpio-fan,speed-map = <0 0 3000 1>;
 48                 gpios = <&gpio1 RK_PC2 GPIO_AC     43                 gpios = <&gpio1 RK_PC2 GPIO_ACTIVE_HIGH>;
 49                 status = "okay";                   44                 status = "okay";
 50         };                                         45         };
 51                                                    46 
 52         keys: gpio-keys {                          47         keys: gpio-keys {
 53                 compatible = "gpio-keys";          48                 compatible = "gpio-keys";
 54                 autorepeat;                        49                 autorepeat;
 55                                                    50 
 56                 key-power {                    !!  51                 power {
 57                         debounce-interval = <1     52                         debounce-interval = <100>;
 58                         gpios = <&gpio0 RK_PA5     53                         gpios = <&gpio0 RK_PA5 GPIO_ACTIVE_LOW>;
 59                         label = "GPIO Power";      54                         label = "GPIO Power";
 60                         linux,code = <KEY_POWE     55                         linux,code = <KEY_POWER>;
 61                         linux,input-type = <1>     56                         linux,input-type = <1>;
 62                         pinctrl-names = "defau     57                         pinctrl-names = "default";
 63                         pinctrl-0 = <&pwr_btn>     58                         pinctrl-0 = <&pwr_btn>;
 64                         wakeup-source;             59                         wakeup-source;
 65                 };                                 60                 };
 66         };                                         61         };
 67                                                    62 
 68         /* switched by pmic_sleep */               63         /* switched by pmic_sleep */
 69         vcc1v8_s3: vcca1v8_s3: vcc1v8-s3 {         64         vcc1v8_s3: vcca1v8_s3: vcc1v8-s3 {
 70                 compatible = "regulator-fixed"     65                 compatible = "regulator-fixed";
 71                 regulator-name = "vcc1v8_s3";      66                 regulator-name = "vcc1v8_s3";
 72                 regulator-always-on;               67                 regulator-always-on;
 73                 regulator-boot-on;                 68                 regulator-boot-on;
 74                 regulator-min-microvolt = <180     69                 regulator-min-microvolt = <1800000>;
 75                 regulator-max-microvolt = <180     70                 regulator-max-microvolt = <1800000>;
 76                 vin-supply = <&vcc_1v8>;           71                 vin-supply = <&vcc_1v8>;
 77         };                                         72         };
 78                                                    73 
 79         vcc3v0_sd: vcc3v0-sd {                     74         vcc3v0_sd: vcc3v0-sd {
 80                 compatible = "regulator-fixed"     75                 compatible = "regulator-fixed";
 81                 enable-active-high;                76                 enable-active-high;
 82                 gpio = <&gpio0 RK_PA1 GPIO_ACT     77                 gpio = <&gpio0 RK_PA1 GPIO_ACTIVE_HIGH>;
 83                 pinctrl-names = "default";         78                 pinctrl-names = "default";
 84                 pinctrl-0 = <&sdmmc0_pwr_h>;       79                 pinctrl-0 = <&sdmmc0_pwr_h>;
 85                 regulator-always-on;               80                 regulator-always-on;
 86                 regulator-max-microvolt = <300     81                 regulator-max-microvolt = <3000000>;
 87                 regulator-min-microvolt = <300     82                 regulator-min-microvolt = <3000000>;
 88                 regulator-name = "vcc3v0_sd";      83                 regulator-name = "vcc3v0_sd";
 89                 vin-supply = <&vcc3v3_sys>;        84                 vin-supply = <&vcc3v3_sys>;
 90         };                                         85         };
 91                                                    86 
 92         vcc3v3_sys: vcc3v3-sys {                   87         vcc3v3_sys: vcc3v3-sys {
 93                 compatible = "regulator-fixed"     88                 compatible = "regulator-fixed";
 94                 regulator-name = "vcc3v3_sys";     89                 regulator-name = "vcc3v3_sys";
 95                 regulator-always-on;               90                 regulator-always-on;
 96                 regulator-boot-on;                 91                 regulator-boot-on;
 97                 regulator-min-microvolt = <330     92                 regulator-min-microvolt = <3300000>;
 98                 regulator-max-microvolt = <330     93                 regulator-max-microvolt = <3300000>;
 99                 vin-supply = <&vcc_sys>;           94                 vin-supply = <&vcc_sys>;
100         };                                         95         };
101                                                    96 
102         vcc5v0_host: vcc5v0-host-regulator {       97         vcc5v0_host: vcc5v0-host-regulator {
103                 compatible = "regulator-fixed"     98                 compatible = "regulator-fixed";
104                 enable-active-high;                99                 enable-active-high;
105                 gpio = <&gpio4 RK_PD1 GPIO_ACT    100                 gpio = <&gpio4 RK_PD1 GPIO_ACTIVE_HIGH>;
106                 pinctrl-names = "default";        101                 pinctrl-names = "default";
107                 pinctrl-0 = <&vcc5v0_host_en>;    102                 pinctrl-0 = <&vcc5v0_host_en>;
108                 regulator-name = "vcc5v0_host"    103                 regulator-name = "vcc5v0_host";
109                 regulator-always-on;              104                 regulator-always-on;
110                 vin-supply = <&vcc_sys>;          105                 vin-supply = <&vcc_sys>;
111         };                                        106         };
112                                                   107 
113         vcc5v0_typec0: vcc5v0-typec0-regulator    108         vcc5v0_typec0: vcc5v0-typec0-regulator {
114                 compatible = "regulator-fixed"    109                 compatible = "regulator-fixed";
115                 enable-active-high;               110                 enable-active-high;
116                 gpio = <&gpio2 RK_PA0 GPIO_ACT    111                 gpio = <&gpio2 RK_PA0 GPIO_ACTIVE_HIGH>;
117                 pinctrl-names = "default";        112                 pinctrl-names = "default";
118                 pinctrl-0 = <&vcc5v0_typec0_en    113                 pinctrl-0 = <&vcc5v0_typec0_en>;
119                 regulator-name = "vcc5v0_typec    114                 regulator-name = "vcc5v0_typec0";
120                 vin-supply = <&vcc_sys>;          115                 vin-supply = <&vcc_sys>;
121         };                                        116         };
122                                                   117 
123         vcc_sys: vcc-sys {                        118         vcc_sys: vcc-sys {
124                 compatible = "regulator-fixed"    119                 compatible = "regulator-fixed";
125                 regulator-name = "vcc_sys";       120                 regulator-name = "vcc_sys";
126                 regulator-always-on;              121                 regulator-always-on;
127                 regulator-boot-on;                122                 regulator-boot-on;
128                 regulator-min-microvolt = <500    123                 regulator-min-microvolt = <5000000>;
129                 regulator-max-microvolt = <500    124                 regulator-max-microvolt = <5000000>;
130                 vin-supply = <&dc_12v>;           125                 vin-supply = <&dc_12v>;
131         };                                        126         };
132                                                   127 
133         vdd_log: vdd-log {                        128         vdd_log: vdd-log {
134                 compatible = "pwm-regulator";     129                 compatible = "pwm-regulator";
135                 pwms = <&pwm2 0 25000 1>;         130                 pwms = <&pwm2 0 25000 1>;
136                 pwm-supply = <&vcc_sys>;       << 
137                 regulator-name = "vdd_log";       131                 regulator-name = "vdd_log";
138                 regulator-always-on;              132                 regulator-always-on;
139                 regulator-boot-on;                133                 regulator-boot-on;
140                 regulator-min-microvolt = <800    134                 regulator-min-microvolt = <800000>;
141                 regulator-max-microvolt = <140    135                 regulator-max-microvolt = <1400000>;
                                                   >> 136                 vin-supply = <&vcc_sys>;
142         };                                        137         };
143 };                                                138 };
144                                                   139 
145 &cpu_l0 {                                         140 &cpu_l0 {
146         cpu-supply = <&vdd_cpu_l>;                141         cpu-supply = <&vdd_cpu_l>;
147 };                                                142 };
148                                                   143 
149 &cpu_l1 {                                         144 &cpu_l1 {
150         cpu-supply = <&vdd_cpu_l>;                145         cpu-supply = <&vdd_cpu_l>;
151 };                                                146 };
152                                                   147 
153 &cpu_l2 {                                         148 &cpu_l2 {
154         cpu-supply = <&vdd_cpu_l>;                149         cpu-supply = <&vdd_cpu_l>;
155 };                                                150 };
156                                                   151 
157 &cpu_l3 {                                         152 &cpu_l3 {
158         cpu-supply = <&vdd_cpu_l>;                153         cpu-supply = <&vdd_cpu_l>;
159 };                                                154 };
160                                                   155 
161 &cpu_b0 {                                         156 &cpu_b0 {
162         cpu-supply = <&vdd_cpu_b>;                157         cpu-supply = <&vdd_cpu_b>;
163 };                                                158 };
164                                                   159 
165 &cpu_b1 {                                         160 &cpu_b1 {
166         cpu-supply = <&vdd_cpu_b>;                161         cpu-supply = <&vdd_cpu_b>;
167 };                                                162 };
168                                                   163 
169 &cpu_thermal {                                    164 &cpu_thermal {
170         trips {                                   165         trips {
171                 cpu_hot: cpu_hot {                166                 cpu_hot: cpu_hot {
172                         hysteresis = <10000>;     167                         hysteresis = <10000>;
173                         temperature = <55000>;    168                         temperature = <55000>;
174                         type = "active";          169                         type = "active";
175                 };                                170                 };
176         };                                        171         };
177                                                   172 
178         cooling-maps {                            173         cooling-maps {
179                 map2 {                            174                 map2 {
180                         cooling-device =          175                         cooling-device =
181                                 <&fan0 THERMAL    176                                 <&fan0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
182                         trip = <&cpu_hot>;        177                         trip = <&cpu_hot>;
183                 };                                178                 };
184         };                                        179         };
185 };                                                180 };
186                                                   181 
187 &emmc_phy {                                       182 &emmc_phy {
188         status = "okay";                          183         status = "okay";
189 };                                                184 };
190                                                   185 
191 &gmac {                                           186 &gmac {
192         assigned-clocks = <&cru SCLK_RMII_SRC>    187         assigned-clocks = <&cru SCLK_RMII_SRC>;
193         assigned-clock-parents = <&clkin_gmac>    188         assigned-clock-parents = <&clkin_gmac>;
194         clock_in_out = "input";                   189         clock_in_out = "input";
195         phy-supply = <&vcc_lan>;                  190         phy-supply = <&vcc_lan>;
196         phy-mode = "rgmii";                       191         phy-mode = "rgmii";
197         pinctrl-names = "default";                192         pinctrl-names = "default";
198         pinctrl-0 = <&rgmii_pins>;                193         pinctrl-0 = <&rgmii_pins>;
199         snps,reset-gpio = <&gpio3 RK_PB7 GPIO_    194         snps,reset-gpio = <&gpio3 RK_PB7 GPIO_ACTIVE_LOW>;
200         snps,reset-active-low;                    195         snps,reset-active-low;
201         snps,reset-delays-us = <0 10000 50000>    196         snps,reset-delays-us = <0 10000 50000>;
202         tx_delay = <0x28>;                        197         tx_delay = <0x28>;
203         rx_delay = <0x11>;                        198         rx_delay = <0x11>;
204         status = "okay";                          199         status = "okay";
205 };                                                200 };
206                                                   201 
207 &gpu {                                            202 &gpu {
208         mali-supply = <&vdd_gpu>;                 203         mali-supply = <&vdd_gpu>;
209         status = "okay";                          204         status = "okay";
210 };                                                205 };
211                                                   206 
212 &hdmi {                                           207 &hdmi {
213         ddc-i2c-bus = <&i2c3>;                    208         ddc-i2c-bus = <&i2c3>;
214         status = "okay";                          209         status = "okay";
215 };                                                210 };
216                                                   211 
217 &hdmi_sound {                                     212 &hdmi_sound {
218         status = "okay";                          213         status = "okay";
219 };                                                214 };
220                                                   215 
221 &i2c0 {                                           216 &i2c0 {
222         clock-frequency = <400000>;               217         clock-frequency = <400000>;
223         i2c-scl-rising-time-ns = <168>;           218         i2c-scl-rising-time-ns = <168>;
224         i2c-scl-falling-time-ns = <4>;            219         i2c-scl-falling-time-ns = <4>;
225         status = "okay";                          220         status = "okay";
226                                                   221 
227         rk808: pmic@1b {                          222         rk808: pmic@1b {
228                 compatible = "rockchip,rk808";    223                 compatible = "rockchip,rk808";
229                 reg = <0x1b>;                     224                 reg = <0x1b>;
230                 interrupt-parent = <&gpio1>;      225                 interrupt-parent = <&gpio1>;
231                 interrupts = <21 IRQ_TYPE_LEVE    226                 interrupts = <21 IRQ_TYPE_LEVEL_LOW>;
232                 #clock-cells = <1>;               227                 #clock-cells = <1>;
233                 clock-output-names = "xin32k",    228                 clock-output-names = "xin32k", "rk808-clkout2";
234                 pinctrl-names = "default";        229                 pinctrl-names = "default";
235                 pinctrl-0 = <&pmic_int_l>;        230                 pinctrl-0 = <&pmic_int_l>;
236                 rockchip,system-power-controll    231                 rockchip,system-power-controller;
237                 wakeup-source;                    232                 wakeup-source;
238                                                   233 
239                 vcc1-supply = <&vcc_sys>;         234                 vcc1-supply = <&vcc_sys>;
240                 vcc2-supply = <&vcc_sys>;         235                 vcc2-supply = <&vcc_sys>;
241                 vcc3-supply = <&vcc_sys>;         236                 vcc3-supply = <&vcc_sys>;
242                 vcc4-supply = <&vcc_sys>;         237                 vcc4-supply = <&vcc_sys>;
243                 vcc6-supply = <&vcc_sys>;         238                 vcc6-supply = <&vcc_sys>;
244                 vcc7-supply = <&vcc_sys>;         239                 vcc7-supply = <&vcc_sys>;
245                 vcc8-supply = <&vcc3v3_sys>;      240                 vcc8-supply = <&vcc3v3_sys>;
246                 vcc9-supply = <&vcc_sys>;         241                 vcc9-supply = <&vcc_sys>;
247                 vcc10-supply = <&vcc_sys>;        242                 vcc10-supply = <&vcc_sys>;
248                 vcc11-supply = <&vcc_sys>;        243                 vcc11-supply = <&vcc_sys>;
249                 vcc12-supply = <&vcc3v3_sys>;     244                 vcc12-supply = <&vcc3v3_sys>;
250                 vddio-supply = <&vcc1v8_pmu>;     245                 vddio-supply = <&vcc1v8_pmu>;
251                                                   246 
252                 regulators {                      247                 regulators {
253                         vdd_center: DCDC_REG1     248                         vdd_center: DCDC_REG1 {
254                                 regulator-name    249                                 regulator-name = "vdd_center";
255                                 regulator-alwa    250                                 regulator-always-on;
256                                 regulator-boot    251                                 regulator-boot-on;
257                                 regulator-min-    252                                 regulator-min-microvolt = <750000>;
258                                 regulator-max-    253                                 regulator-max-microvolt = <1350000>;
259                                 regulator-ramp    254                                 regulator-ramp-delay = <6001>;
260                                 regulator-stat    255                                 regulator-state-mem {
261                                         regula    256                                         regulator-off-in-suspend;
262                                 };                257                                 };
263                         };                        258                         };
264                                                   259 
265                         vdd_cpu_l: DCDC_REG2 {    260                         vdd_cpu_l: DCDC_REG2 {
266                                 regulator-name    261                                 regulator-name = "vdd_cpu_l";
267                                 regulator-alwa    262                                 regulator-always-on;
268                                 regulator-boot    263                                 regulator-boot-on;
269                                 regulator-min-    264                                 regulator-min-microvolt = <750000>;
270                                 regulator-max-    265                                 regulator-max-microvolt = <1350000>;
271                                 regulator-ramp    266                                 regulator-ramp-delay = <6001>;
272                                 regulator-stat    267                                 regulator-state-mem {
273                                         regula    268                                         regulator-off-in-suspend;
274                                 };                269                                 };
275                         };                        270                         };
276                                                   271 
277                         vcc_ddr: DCDC_REG3 {      272                         vcc_ddr: DCDC_REG3 {
278                                 regulator-name    273                                 regulator-name = "vcc_ddr";
279                                 regulator-alwa    274                                 regulator-always-on;
280                                 regulator-boot    275                                 regulator-boot-on;
281                                 regulator-stat    276                                 regulator-state-mem {
282                                         regula    277                                         regulator-on-in-suspend;
283                                 };                278                                 };
284                         };                        279                         };
285                                                   280 
286                         vcc_1v8: DCDC_REG4 {      281                         vcc_1v8: DCDC_REG4 {
287                                 regulator-name    282                                 regulator-name = "vcc_1v8";
288                                 regulator-alwa    283                                 regulator-always-on;
289                                 regulator-boot    284                                 regulator-boot-on;
290                                 regulator-min-    285                                 regulator-min-microvolt = <1800000>;
291                                 regulator-max-    286                                 regulator-max-microvolt = <1800000>;
292                                 regulator-stat    287                                 regulator-state-mem {
293                                         regula    288                                         regulator-on-in-suspend;
294                                         regula    289                                         regulator-suspend-microvolt = <1800000>;
295                                 };                290                                 };
296                         };                        291                         };
297                                                   292 
298                         vcc1v8_dvp: LDO_REG1 {    293                         vcc1v8_dvp: LDO_REG1 {
299                                 regulator-name    294                                 regulator-name = "vcc1v8_dvp";
300                                 regulator-alwa    295                                 regulator-always-on;
301                                 regulator-boot    296                                 regulator-boot-on;
302                                 regulator-min-    297                                 regulator-min-microvolt = <1800000>;
303                                 regulator-max-    298                                 regulator-max-microvolt = <1800000>;
304                                 regulator-stat    299                                 regulator-state-mem {
305                                         regula    300                                         regulator-off-in-suspend;
306                                 };                301                                 };
307                         };                        302                         };
308                                                   303 
309                         vcc3v0_tp: LDO_REG2 {     304                         vcc3v0_tp: LDO_REG2 {
310                                 regulator-name    305                                 regulator-name = "vcc3v0_tp";
311                                 regulator-alwa    306                                 regulator-always-on;
312                                 regulator-boot    307                                 regulator-boot-on;
313                                 regulator-min-    308                                 regulator-min-microvolt = <3000000>;
314                                 regulator-max-    309                                 regulator-max-microvolt = <3000000>;
315                                 regulator-stat    310                                 regulator-state-mem {
316                                         regula    311                                         regulator-off-in-suspend;
317                                 };                312                                 };
318                         };                        313                         };
319                                                   314 
320                         vcc1v8_pmu: LDO_REG3 {    315                         vcc1v8_pmu: LDO_REG3 {
321                                 regulator-name    316                                 regulator-name = "vcc1v8_pmu";
322                                 regulator-alwa    317                                 regulator-always-on;
323                                 regulator-boot    318                                 regulator-boot-on;
324                                 regulator-min-    319                                 regulator-min-microvolt = <1800000>;
325                                 regulator-max-    320                                 regulator-max-microvolt = <1800000>;
326                                 regulator-stat    321                                 regulator-state-mem {
327                                         regula    322                                         regulator-on-in-suspend;
328                                         regula    323                                         regulator-suspend-microvolt = <1800000>;
329                                 };                324                                 };
330                         };                        325                         };
331                                                   326 
332                         vcc_sdio: LDO_REG4 {      327                         vcc_sdio: LDO_REG4 {
333                                 regulator-name    328                                 regulator-name = "vcc_sdio";
334                                 regulator-alwa    329                                 regulator-always-on;
335                                 regulator-boot    330                                 regulator-boot-on;
336                                 regulator-min-    331                                 regulator-min-microvolt = <1800000>;
337                                 regulator-max-    332                                 regulator-max-microvolt = <3300000>;
338                                 regulator-stat    333                                 regulator-state-mem {
339                                         regula    334                                         regulator-on-in-suspend;
340                                         regula    335                                         regulator-suspend-microvolt = <3000000>;
341                                 };                336                                 };
342                         };                        337                         };
343                                                   338 
344                         vcca3v0_codec: LDO_REG    339                         vcca3v0_codec: LDO_REG5 {
345                                 regulator-name    340                                 regulator-name = "vcca3v0_codec";
346                                 regulator-alwa    341                                 regulator-always-on;
347                                 regulator-boot    342                                 regulator-boot-on;
348                                 regulator-min-    343                                 regulator-min-microvolt = <3000000>;
349                                 regulator-max-    344                                 regulator-max-microvolt = <3000000>;
350                                 regulator-stat    345                                 regulator-state-mem {
351                                         regula    346                                         regulator-off-in-suspend;
352                                 };                347                                 };
353                         };                        348                         };
354                                                   349 
355                         vcc_1v5: LDO_REG6 {       350                         vcc_1v5: LDO_REG6 {
356                                 regulator-name    351                                 regulator-name = "vcc_1v5";
357                                 regulator-alwa    352                                 regulator-always-on;
358                                 regulator-boot    353                                 regulator-boot-on;
359                                 regulator-min-    354                                 regulator-min-microvolt = <1500000>;
360                                 regulator-max-    355                                 regulator-max-microvolt = <1500000>;
361                                 regulator-stat    356                                 regulator-state-mem {
362                                         regula    357                                         regulator-on-in-suspend;
363                                         regula    358                                         regulator-suspend-microvolt = <1500000>;
364                                 };                359                                 };
365                         };                        360                         };
366                                                   361 
367                         vcca1v8_codec: LDO_REG    362                         vcca1v8_codec: LDO_REG7 {
368                                 regulator-name    363                                 regulator-name = "vcca1v8_codec";
369                                 regulator-alwa    364                                 regulator-always-on;
370                                 regulator-boot    365                                 regulator-boot-on;
371                                 regulator-min-    366                                 regulator-min-microvolt = <1800000>;
372                                 regulator-max-    367                                 regulator-max-microvolt = <1800000>;
373                                 regulator-stat    368                                 regulator-state-mem {
374                                         regula    369                                         regulator-off-in-suspend;
375                                 };                370                                 };
376                         };                        371                         };
377                                                   372 
378                         vcc_3v0: LDO_REG8 {       373                         vcc_3v0: LDO_REG8 {
379                                 regulator-name    374                                 regulator-name = "vcc_3v0";
380                                 regulator-alwa    375                                 regulator-always-on;
381                                 regulator-boot    376                                 regulator-boot-on;
382                                 regulator-min-    377                                 regulator-min-microvolt = <3000000>;
383                                 regulator-max-    378                                 regulator-max-microvolt = <3000000>;
384                                 regulator-stat    379                                 regulator-state-mem {
385                                         regula    380                                         regulator-on-in-suspend;
386                                         regula    381                                         regulator-suspend-microvolt = <3000000>;
387                                 };                382                                 };
388                         };                        383                         };
389                                                   384 
390                         vcc3v3_s3: vcc_lan: SW    385                         vcc3v3_s3: vcc_lan: SWITCH_REG1 {
391                                 regulator-name    386                                 regulator-name = "vcc3v3_s3";
392                                 regulator-alwa    387                                 regulator-always-on;
393                                 regulator-boot    388                                 regulator-boot-on;
394                                 regulator-stat    389                                 regulator-state-mem {
395                                         regula    390                                         regulator-off-in-suspend;
396                                 };                391                                 };
397                         };                        392                         };
398                                                   393 
399                         vcc3v3_s0: SWITCH_REG2    394                         vcc3v3_s0: SWITCH_REG2 {
400                                 regulator-name    395                                 regulator-name = "vcc3v3_s0";
401                                 regulator-alwa    396                                 regulator-always-on;
402                                 regulator-boot    397                                 regulator-boot-on;
403                                 regulator-stat    398                                 regulator-state-mem {
404                                         regula    399                                         regulator-off-in-suspend;
405                                 };                400                                 };
406                         };                        401                         };
407                 };                                402                 };
408         };                                        403         };
409                                                   404 
410         vdd_cpu_b: regulator@40 {                 405         vdd_cpu_b: regulator@40 {
411                 compatible = "silergy,syr827";    406                 compatible = "silergy,syr827";
412                 reg = <0x40>;                     407                 reg = <0x40>;
413                 fcs,suspend-voltage-selector =    408                 fcs,suspend-voltage-selector = <1>;
414                 regulator-name = "vdd_cpu_b";     409                 regulator-name = "vdd_cpu_b";
415                 regulator-min-microvolt = <712    410                 regulator-min-microvolt = <712500>;
416                 regulator-max-microvolt = <150    411                 regulator-max-microvolt = <1500000>;
417                 regulator-ramp-delay = <1000>;    412                 regulator-ramp-delay = <1000>;
418                 regulator-always-on;              413                 regulator-always-on;
419                 regulator-boot-on;                414                 regulator-boot-on;
420                 vin-supply = <&vcc_sys>;          415                 vin-supply = <&vcc_sys>;
421                                                   416 
422                 regulator-state-mem {             417                 regulator-state-mem {
423                         regulator-off-in-suspe    418                         regulator-off-in-suspend;
424                 };                                419                 };
425         };                                        420         };
426                                                   421 
427         vdd_gpu: regulator@41 {                   422         vdd_gpu: regulator@41 {
428                 compatible = "silergy,syr828";    423                 compatible = "silergy,syr828";
429                 reg = <0x41>;                     424                 reg = <0x41>;
430                 fcs,suspend-voltage-selector =    425                 fcs,suspend-voltage-selector = <1>;
431                 regulator-name = "vdd_gpu";       426                 regulator-name = "vdd_gpu";
432                 regulator-min-microvolt = <712    427                 regulator-min-microvolt = <712500>;
433                 regulator-max-microvolt = <150    428                 regulator-max-microvolt = <1500000>;
434                 regulator-ramp-delay = <1000>;    429                 regulator-ramp-delay = <1000>;
435                 regulator-always-on;              430                 regulator-always-on;
436                 regulator-boot-on;                431                 regulator-boot-on;
437                 vin-supply = <&vcc_sys>;          432                 vin-supply = <&vcc_sys>;
438                                                   433 
439                 regulator-state-mem {             434                 regulator-state-mem {
440                         regulator-off-in-suspe    435                         regulator-off-in-suspend;
441                 };                                436                 };
442         };                                        437         };
443 };                                                438 };
444                                                   439 
445 &i2c3 {                                           440 &i2c3 {
446         i2c-scl-rising-time-ns = <450>;           441         i2c-scl-rising-time-ns = <450>;
447         i2c-scl-falling-time-ns = <15>;           442         i2c-scl-falling-time-ns = <15>;
448         status = "okay";                          443         status = "okay";
449 };                                                444 };
450                                                   445 
451 &i2s2 {                                           446 &i2s2 {
452         status = "okay";                          447         status = "okay";
453 };                                                448 };
454                                                   449 
455 &io_domains {                                     450 &io_domains {
456         status = "okay";                          451         status = "okay";
457                                                   452 
458         bt656-supply = <&vcc_3v0>;                453         bt656-supply = <&vcc_3v0>;
459         audio-supply = <&vcca1v8_codec>;          454         audio-supply = <&vcca1v8_codec>;
460         sdmmc-supply = <&vcc_sdio>;               455         sdmmc-supply = <&vcc_sdio>;
461         gpio1830-supply = <&vcc_3v0>;             456         gpio1830-supply = <&vcc_3v0>;
462 };                                                457 };
463                                                   458 
464 &pmu_io_domains {                                 459 &pmu_io_domains {
465         pmu1830-supply = <&vcc_3v0>;              460         pmu1830-supply = <&vcc_3v0>;
466         status = "okay";                          461         status = "okay";
467 };                                                462 };
468                                                   463 
469 &pinctrl {                                        464 &pinctrl {
470         buttons {                                 465         buttons {
471                 pwr_btn: pwr-btn {                466                 pwr_btn: pwr-btn {
472                         rockchip,pins = <0 RK_    467                         rockchip,pins = <0 RK_PA5 RK_FUNC_GPIO &pcfg_pull_up>;
473                 };                                468                 };
474         };                                        469         };
475                                                   470 
476         fan {                                     471         fan {
477                 motor_pwr: motor-pwr {            472                 motor_pwr: motor-pwr {
478                         rockchip,pins =           473                         rockchip,pins =
479                                 <1 RK_PC2 RK_F    474                                 <1 RK_PC2 RK_FUNC_GPIO &pcfg_pull_none>;
480                 };                                475                 };
481         };                                        476         };
482                                                   477 
483         pmic {                                    478         pmic {
484                 pmic_int_l: pmic-int-l {          479                 pmic_int_l: pmic-int-l {
485                         rockchip,pins =           480                         rockchip,pins =
486                                 <1 RK_PC5 RK_F    481                                 <1 RK_PC5 RK_FUNC_GPIO &pcfg_pull_up>;
487                 };                                482                 };
488                                                   483 
489                 vsel1_pin: vsel1-pin {            484                 vsel1_pin: vsel1-pin {
490                         rockchip,pins = <1 RK_    485                         rockchip,pins = <1 RK_PC1 RK_FUNC_GPIO &pcfg_pull_down>;
491                 };                                486                 };
492                                                   487 
493                 vsel2_pin: vsel2-pin {            488                 vsel2_pin: vsel2-pin {
494                         rockchip,pins = <1 RK_    489                         rockchip,pins = <1 RK_PB6 RK_FUNC_GPIO &pcfg_pull_down>;
495                 };                                490                 };
496         };                                        491         };
497                                                   492 
498         sd {                                      493         sd {
499                 sdmmc0_pwr_h: sdmmc0-pwr-h {      494                 sdmmc0_pwr_h: sdmmc0-pwr-h {
500                         rockchip,pins =           495                         rockchip,pins =
501                                 <0 RK_PA1 RK_F    496                                 <0 RK_PA1 RK_FUNC_GPIO &pcfg_pull_none>;
502                 };                                497                 };
503         };                                        498         };
504                                                   499 
505         usb2 {                                    500         usb2 {
506                 vcc5v0_host_en: vcc5v0-host-en    501                 vcc5v0_host_en: vcc5v0-host-en {
507                         rockchip,pins =           502                         rockchip,pins =
508                                 <4 RK_PD1 RK_F    503                                 <4 RK_PD1 RK_FUNC_GPIO &pcfg_pull_none>;
509                 };                                504                 };
510                 vcc5v0_typec0_en: vcc5v0-typec    505                 vcc5v0_typec0_en: vcc5v0-typec0-en {
511                         rockchip,pins =           506                         rockchip,pins =
512                                 <2 RK_PA0 RK_F    507                                 <2 RK_PA0 RK_FUNC_GPIO &pcfg_pull_none>;
513                 };                                508                 };
514         };                                        509         };
515 };                                                510 };
516                                                   511 
517 &pwm0 {                                           512 &pwm0 {
518         status = "okay";                          513         status = "okay";
519 };                                                514 };
520                                                   515 
521 &pwm2 {                                           516 &pwm2 {
522         status = "okay";                          517         status = "okay";
523 };                                                518 };
524                                                   519 
525 &saradc {                                         520 &saradc {
526         vref-supply = <&vcca1v8_s3>;              521         vref-supply = <&vcca1v8_s3>;
527         status = "okay";                          522         status = "okay";
528 };                                                523 };
529                                                   524 
530 &sdhci {                                          525 &sdhci {
531         bus-width = <8>;                          526         bus-width = <8>;
532         mmc-hs400-1_8v;                           527         mmc-hs400-1_8v;
533         mmc-hs400-enhanced-strobe;                528         mmc-hs400-enhanced-strobe;
534         non-removable;                            529         non-removable;
535         status = "okay";                          530         status = "okay";
536 };                                                531 };
537                                                   532 
538 &sdmmc {                                          533 &sdmmc {
539         broken-cd;                                534         broken-cd;
540         bus-width = <4>;                          535         bus-width = <4>;
541         cap-mmc-highspeed;                        536         cap-mmc-highspeed;
542         cap-sd-highspeed;                         537         cap-sd-highspeed;
543         clock-frequency = <150000000>;            538         clock-frequency = <150000000>;
544         disable-wp;                               539         disable-wp;
545         max-frequency = <150000000>;              540         max-frequency = <150000000>;
546         pinctrl-names = "default";                541         pinctrl-names = "default";
547         pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sd    542         pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd &sdmmc_bus4>;
548         vmmc-supply = <&vcc3v0_sd>;               543         vmmc-supply = <&vcc3v0_sd>;
549         vqmmc-supply = <&vcc_sdio>;               544         vqmmc-supply = <&vcc_sdio>;
550         status = "okay";                          545         status = "okay";
551 };                                                546 };
552                                                   547 
553 &tcphy0 {                                         548 &tcphy0 {
554         status = "okay";                          549         status = "okay";
555 };                                                550 };
556                                                   551 
557 &tcphy1 {                                         552 &tcphy1 {
558         status = "okay";                          553         status = "okay";
559 };                                                554 };
560                                                   555 
561 &tsadc {                                          556 &tsadc {
562         /* tshut mode 0:CRU 1:GPIO */             557         /* tshut mode 0:CRU 1:GPIO */
563         rockchip,hw-tshut-mode = <1>;             558         rockchip,hw-tshut-mode = <1>;
564         /* tshut polarity 0:LOW 1:HIGH */         559         /* tshut polarity 0:LOW 1:HIGH */
565         rockchip,hw-tshut-polarity = <1>;         560         rockchip,hw-tshut-polarity = <1>;
566         status = "okay";                          561         status = "okay";
567 };                                                562 };
568                                                   563 
569 &u2phy0 {                                         564 &u2phy0 {
570         status = "okay";                          565         status = "okay";
571                                                   566 
572         u2phy0_otg: otg-port {                    567         u2phy0_otg: otg-port {
573                 status = "okay";                  568                 status = "okay";
574         };                                        569         };
575                                                   570 
576         u2phy0_host: host-port {                  571         u2phy0_host: host-port {
577                 phy-supply = <&vcc5v0_typec0>;    572                 phy-supply = <&vcc5v0_typec0>;
578                 status = "okay";                  573                 status = "okay";
579         };                                        574         };
580 };                                                575 };
581                                                   576 
582 &u2phy1 {                                         577 &u2phy1 {
583         status = "okay";                          578         status = "okay";
584                                                   579 
585         u2phy1_otg: otg-port {                    580         u2phy1_otg: otg-port {
586                 status = "okay";                  581                 status = "okay";
587         };                                        582         };
588                                                   583 
589         u2phy1_host: host-port {                  584         u2phy1_host: host-port {
590                 phy-supply = <&vcc5v0_host>;      585                 phy-supply = <&vcc5v0_host>;
591                 status = "okay";                  586                 status = "okay";
592         };                                        587         };
593 };                                                588 };
594                                                   589 
595 &uart0 {                                          590 &uart0 {
596         pinctrl-names = "default";                591         pinctrl-names = "default";
597         pinctrl-0 = <&uart0_xfer &uart0_cts>;     592         pinctrl-0 = <&uart0_xfer &uart0_cts>;
598         status = "okay";                          593         status = "okay";
599 };                                                594 };
600                                                   595 
601 &uart2 {                                          596 &uart2 {
602         status = "okay";                          597         status = "okay";
603 };                                                598 };
604                                                   599 
605 &usb_host0_ehci {                                 600 &usb_host0_ehci {
606         status = "okay";                          601         status = "okay";
607 };                                                602 };
608                                                   603 
609 &usb_host0_ohci {                                 604 &usb_host0_ohci {
610         status = "okay";                          605         status = "okay";
611 };                                                606 };
612                                                   607 
613 &usb_host1_ehci {                                 608 &usb_host1_ehci {
614         status = "okay";                          609         status = "okay";
615 };                                                610 };
616                                                   611 
617 &usb_host1_ohci {                                 612 &usb_host1_ohci {
618         status = "okay";                          613         status = "okay";
619 };                                                614 };
620                                                   615 
621 &usbdrd3_0 {                                      616 &usbdrd3_0 {
622         status = "okay";                          617         status = "okay";
623 };                                                618 };
624                                                   619 
625 &usbdrd_dwc3_0 {                                  620 &usbdrd_dwc3_0 {
626         status = "okay";                          621         status = "okay";
627         dr_mode = "host";                         622         dr_mode = "host";
628 };                                                623 };
629                                                   624 
630 &usbdrd3_1 {                                      625 &usbdrd3_1 {
631         status = "okay";                          626         status = "okay";
632 };                                                627 };
633                                                   628 
634 &usbdrd_dwc3_1 {                                  629 &usbdrd_dwc3_1 {
635         status = "okay";                          630         status = "okay";
636         dr_mode = "host";                         631         dr_mode = "host";
637 };                                                632 };
638                                                   633 
639 &vopb {                                           634 &vopb {
640         status = "okay";                          635         status = "okay";
641 };                                                636 };
642                                                   637 
643 &vopb_mmu {                                       638 &vopb_mmu {
644         status = "okay";                          639         status = "okay";
645 };                                                640 };
646                                                   641 
647 &vopl {                                           642 &vopl {
648         status = "okay";                          643         status = "okay";
649 };                                                644 };
650                                                   645 
651 &vopl_mmu {                                       646 &vopl_mmu {
652         status = "okay";                          647         status = "okay";
653 };                                                648 };
                                                      

~ [ 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