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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm64/rockchip/rk3399-kobol-helios64.dts

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-kobol-helios64.dts (Version linux-6.12-rc7) and /scripts/dtc/include-prefixes/arm64/rockchip/rk3399-kobol-helios64.dts (Version linux-5.14.21)


  1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)       1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  2 /*                                                  2 /*
  3  * Copyright (c) 2020 Aditya Prayoga <aditya@ko      3  * Copyright (c) 2020 Aditya Prayoga <aditya@kobol.io>
  4  */                                                 4  */
  5                                                     5 
  6 /*                                                  6 /*
  7  * The Kobol Helios64 is a board designed to o      7  * The Kobol Helios64 is a board designed to operate as a NAS and optionally
  8  * ships with an enclosing that can host five       8  * ships with an enclosing that can host five 2.5" hard disks.
  9  *                                                  9  *
 10  * See https://wiki.kobol.io/helios64/intro/ f     10  * See https://wiki.kobol.io/helios64/intro/ for further details.
 11  */                                                11  */
 12                                                    12 
 13 /dts-v1/;                                          13 /dts-v1/;
 14 #include "rk3399.dtsi"                             14 #include "rk3399.dtsi"
                                                   >>  15 #include "rk3399-opp.dtsi"
 15                                                    16 
 16 / {                                                17 / {
 17         model = "Kobol Helios64";                  18         model = "Kobol Helios64";
 18         compatible = "kobol,helios64", "rockch     19         compatible = "kobol,helios64", "rockchip,rk3399";
 19                                                    20 
 20         aliases {                                  21         aliases {
 21                 ethernet0 = &gmac;             << 
 22                 mmc0 = &sdmmc;                     22                 mmc0 = &sdmmc;
 23                 mmc1 = &sdhci;                     23                 mmc1 = &sdhci;
 24         };                                         24         };
 25                                                    25 
 26         avdd_0v9_s0: avdd-0v9-s0 {                 26         avdd_0v9_s0: avdd-0v9-s0 {
 27                 compatible = "regulator-fixed"     27                 compatible = "regulator-fixed";
 28                 regulator-name = "avdd_0v9_s0"     28                 regulator-name = "avdd_0v9_s0";
 29                 regulator-always-on;               29                 regulator-always-on;
 30                 regulator-boot-on;                 30                 regulator-boot-on;
 31                 regulator-min-microvolt = <900     31                 regulator-min-microvolt = <900000>;
 32                 regulator-max-microvolt = <900     32                 regulator-max-microvolt = <900000>;
 33                 vin-supply = <&vcc1v8_sys_s3>;     33                 vin-supply = <&vcc1v8_sys_s3>;
 34         };                                         34         };
 35                                                    35 
 36         avdd_1v8_s0: avdd-1v8-s0 {                 36         avdd_1v8_s0: avdd-1v8-s0 {
 37                 compatible = "regulator-fixed"     37                 compatible = "regulator-fixed";
 38                 regulator-name = "avdd_1v8_s0"     38                 regulator-name = "avdd_1v8_s0";
 39                 regulator-always-on;               39                 regulator-always-on;
 40                 regulator-boot-on;                 40                 regulator-boot-on;
 41                 regulator-min-microvolt = <180     41                 regulator-min-microvolt = <1800000>;
 42                 regulator-max-microvolt = <180     42                 regulator-max-microvolt = <1800000>;
 43                 vin-supply = <&vcc3v3_sys_s3>;     43                 vin-supply = <&vcc3v3_sys_s3>;
 44         };                                         44         };
 45                                                    45 
 46         chosen {                               << 
 47                 stdout-path = "serial2:1500000 << 
 48         };                                     << 
 49                                                << 
 50         clkin_gmac: external-gmac-clock {          46         clkin_gmac: external-gmac-clock {
 51                 compatible = "fixed-clock";        47                 compatible = "fixed-clock";
 52                 clock-frequency = <125000000>;     48                 clock-frequency = <125000000>;
 53                 clock-output-names = "clkin_gm     49                 clock-output-names = "clkin_gmac";
 54                 #clock-cells = <0>;                50                 #clock-cells = <0>;
 55         };                                         51         };
 56                                                    52 
 57         fan1 {                                     53         fan1 {
 58                 /* fan connected to P7 */          54                 /* fan connected to P7 */
 59                 compatible = "pwm-fan";            55                 compatible = "pwm-fan";
 60                 pwms = <&pwm0 0 40000 0>;          56                 pwms = <&pwm0 0 40000 0>;
 61                 cooling-levels = <0 80 170 255     57                 cooling-levels = <0 80 170 255>;
 62         };                                         58         };
 63                                                    59 
 64         fan2 {                                     60         fan2 {
 65                 /* fan connected to P6 */          61                 /* fan connected to P6 */
 66                 compatible = "pwm-fan";            62                 compatible = "pwm-fan";
 67                 pwms = <&pwm1 0 40000 0>;          63                 pwms = <&pwm1 0 40000 0>;
 68                 cooling-levels = <0 80 170 255     64                 cooling-levels = <0 80 170 255>;
 69         };                                         65         };
 70                                                    66 
 71         leds {                                     67         leds {
 72                 compatible = "gpio-leds";          68                 compatible = "gpio-leds";
 73                 pinctrl-names = "default";         69                 pinctrl-names = "default";
 74                 pinctrl-0 = <&sys_grn_led_on &     70                 pinctrl-0 = <&sys_grn_led_on &sys_red_led_on>;
 75                                                    71 
 76                 led-0 {                            72                 led-0 {
 77                         label = "helios64:gree     73                         label = "helios64:green:status";
 78                         gpios = <&gpio0 RK_PB4     74                         gpios = <&gpio0 RK_PB4 GPIO_ACTIVE_HIGH>;
 79                         default-state = "on";      75                         default-state = "on";
 80                 };                                 76                 };
 81                                                    77 
 82                 led-1 {                            78                 led-1 {
 83                         label = "helios64:red:     79                         label = "helios64:red:fault";
 84                         gpios = <&gpio0 RK_PB5     80                         gpios = <&gpio0 RK_PB5 GPIO_ACTIVE_HIGH>;
 85                         default-state = "keep"     81                         default-state = "keep";
 86                 };                                 82                 };
 87         };                                         83         };
 88                                                    84 
 89         hdd_a_power: hdd-a-power {             << 
 90                 compatible = "regulator-fixed" << 
 91                 enable-active-high;            << 
 92                 gpio = <&gpio1 RK_PA0 GPIO_ACT << 
 93                 pinctrl-0 = <&hdd_a_power_en>; << 
 94                 pinctrl-names = "default";     << 
 95                 regulator-always-on;           << 
 96                 regulator-boot-on;             << 
 97                 regulator-name = "hdd_a_power" << 
 98                 startup-delay-us = <2000000>;  << 
 99         };                                     << 
100                                                << 
101         hdd_b_power: hdd-b-power {             << 
102                 compatible = "regulator-fixed" << 
103                 enable-active-high;            << 
104                 gpio = <&gpio1 RK_PA1 GPIO_ACT << 
105                 pinctrl-0 = <&hdd_b_power_en>; << 
106                 pinctrl-names = "default";     << 
107                 regulator-always-on;           << 
108                 regulator-boot-on;             << 
109                 regulator-name = "hdd_b_power" << 
110                 startup-delay-us = <2000000>;  << 
111         };                                     << 
112                                                << 
113         pcie_power: pcie-power {                   85         pcie_power: pcie-power {
114                 compatible = "regulator-fixed"     86                 compatible = "regulator-fixed";
115                 enable-active-high;                87                 enable-active-high;
116                 gpio = <&gpio1 RK_PD0 GPIO_ACT     88                 gpio = <&gpio1 RK_PD0 GPIO_ACTIVE_HIGH>;
117                 pinctrl-0 = <&pcie_pwr>;           89                 pinctrl-0 = <&pcie_pwr>;
118                 pinctrl-names = "default";         90                 pinctrl-names = "default";
119                 regulator-boot-on;                 91                 regulator-boot-on;
120                 regulator-name = "pcie_power";     92                 regulator-name = "pcie_power";
121                 startup-delay-us = <10000>;        93                 startup-delay-us = <10000>;
122                 vin-supply = <&vcc5v0_perdev>;     94                 vin-supply = <&vcc5v0_perdev>;
123         };                                         95         };
124                                                    96 
125         usblan_power: usblan-power {           << 
126                 compatible = "regulator-fixed" << 
127                 enable-active-high;            << 
128                 gpio = <&gpio1 RK_PC7 GPIO_ACT << 
129                 pinctrl-names = "default";     << 
130                 pinctrl-0 = <&usb_lan_en>;     << 
131                 regulator-name = "usblan_power << 
132                 regulator-always-on;           << 
133                 regulator-boot-on;             << 
134                 vin-supply = <&vcc5v0_usb>;    << 
135         };                                     << 
136                                                << 
137         vcc1v8_sys_s0: vcc1v8-sys-s0 {             97         vcc1v8_sys_s0: vcc1v8-sys-s0 {
138                 compatible = "regulator-fixed"     98                 compatible = "regulator-fixed";
139                 regulator-name = "vcc1v8_sys_s     99                 regulator-name = "vcc1v8_sys_s0";
140                 regulator-always-on;              100                 regulator-always-on;
141                 regulator-boot-on;                101                 regulator-boot-on;
142                 regulator-min-microvolt = <180    102                 regulator-min-microvolt = <1800000>;
143                 regulator-max-microvolt = <180    103                 regulator-max-microvolt = <1800000>;
144                 vin-supply = <&vcc1v8_sys_s3>;    104                 vin-supply = <&vcc1v8_sys_s3>;
145         };                                        105         };
146                                                   106 
147         vcc3v0_sd: vcc3v0-sd {                    107         vcc3v0_sd: vcc3v0-sd {
148                 compatible = "regulator-fixed"    108                 compatible = "regulator-fixed";
149                 enable-active-high;               109                 enable-active-high;
150                 gpio = <&gpio0 RK_PA1 GPIO_ACT    110                 gpio = <&gpio0 RK_PA1 GPIO_ACTIVE_HIGH>;
151                 regulator-name = "vcc3v0_sd";     111                 regulator-name = "vcc3v0_sd";
152                 regulator-boot-on;                112                 regulator-boot-on;
153                 regulator-min-microvolt = <300    113                 regulator-min-microvolt = <3000000>;
154                 regulator-max-microvolt = <300    114                 regulator-max-microvolt = <3000000>;
155                 pinctrl-names = "default";        115                 pinctrl-names = "default";
156                 pinctrl-0 = <&sdmmc0_pwr_h>;      116                 pinctrl-0 = <&sdmmc0_pwr_h>;
157                 vin-supply = <&vcc3v3_sys_s3>;    117                 vin-supply = <&vcc3v3_sys_s3>;
158         };                                        118         };
159                                                   119 
160         vcc3v3_sys_s3: vcc_lan: vcc3v3-sys-s3     120         vcc3v3_sys_s3: vcc_lan: vcc3v3-sys-s3 {
161                 compatible = "regulator-fixed"    121                 compatible = "regulator-fixed";
162                 regulator-name = "vcc3v3_sys_s    122                 regulator-name = "vcc3v3_sys_s3";
163                 regulator-always-on;              123                 regulator-always-on;
164                 regulator-boot-on;                124                 regulator-boot-on;
165                 regulator-min-microvolt = <330    125                 regulator-min-microvolt = <3300000>;
166                 regulator-max-microvolt = <330    126                 regulator-max-microvolt = <3300000>;
167                 vin-supply = <&vcc5v0_sys>;       127                 vin-supply = <&vcc5v0_sys>;
168                                                   128 
169                 regulator-state-mem {             129                 regulator-state-mem {
170                         regulator-on-in-suspen    130                         regulator-on-in-suspend;
171                 };                                131                 };
172         };                                        132         };
173                                                   133 
174         vcc5v0_perdev: vcc5v0-perdev {            134         vcc5v0_perdev: vcc5v0-perdev {
175                 compatible = "regulator-fixed"    135                 compatible = "regulator-fixed";
176                 regulator-name = "vcc5v0_perde    136                 regulator-name = "vcc5v0_perdev";
177                 regulator-always-on;              137                 regulator-always-on;
178                 regulator-boot-on;                138                 regulator-boot-on;
179                 regulator-min-microvolt = <500    139                 regulator-min-microvolt = <5000000>;
180                 regulator-max-microvolt = <500    140                 regulator-max-microvolt = <5000000>;
181                 vin-supply = <&vcc12v_dcin_bku    141                 vin-supply = <&vcc12v_dcin_bkup>;
182         };                                        142         };
183                                                   143 
184         vcc5v0_sys: vcc5v0-sys {                  144         vcc5v0_sys: vcc5v0-sys {
185                 compatible = "regulator-fixed"    145                 compatible = "regulator-fixed";
186                 regulator-name = "vcc5v0_sys";    146                 regulator-name = "vcc5v0_sys";
187                 regulator-always-on;              147                 regulator-always-on;
188                 regulator-boot-on;                148                 regulator-boot-on;
189                 regulator-min-microvolt = <500    149                 regulator-min-microvolt = <5000000>;
190                 regulator-max-microvolt = <500    150                 regulator-max-microvolt = <5000000>;
191                 vin-supply = <&vcc12v_dcin_bku    151                 vin-supply = <&vcc12v_dcin_bkup>;
192                                                   152 
193                 regulator-state-mem {             153                 regulator-state-mem {
194                         regulator-on-in-suspen    154                         regulator-on-in-suspend;
195                 };                                155                 };
196         };                                        156         };
197                                                   157 
198         vcc5v0_usb: vcc5v0-usb {                  158         vcc5v0_usb: vcc5v0-usb {
199                 compatible = "regulator-fixed"    159                 compatible = "regulator-fixed";
200                 enable-active-high;               160                 enable-active-high;
201                 gpio = <&gpio1 RK_PC6 GPIO_ACT    161                 gpio = <&gpio1 RK_PC6 GPIO_ACTIVE_HIGH>;
202                 pinctrl-names = "default";        162                 pinctrl-names = "default";
203                 pinctrl-0 = <&vcc5v0_usb_en>;     163                 pinctrl-0 = <&vcc5v0_usb_en>;
204                 regulator-name = "vcc5v0_usb";    164                 regulator-name = "vcc5v0_usb";
205                 regulator-always-on;              165                 regulator-always-on;
206                 regulator-boot-on;                166                 regulator-boot-on;
207                 regulator-min-microvolt = <500    167                 regulator-min-microvolt = <5000000>;
208                 regulator-max-microvolt = <500    168                 regulator-max-microvolt = <5000000>;
209                 vin-supply = <&vcc5v0_perdev>;    169                 vin-supply = <&vcc5v0_perdev>;
210         };                                        170         };
211                                                   171 
212         vcc12v_dcin: vcc12v-dcin {                172         vcc12v_dcin: vcc12v-dcin {
213                 compatible = "regulator-fixed"    173                 compatible = "regulator-fixed";
214                 regulator-name = "vcc12v_dcin"    174                 regulator-name = "vcc12v_dcin";
215                 regulator-always-on;              175                 regulator-always-on;
216                 regulator-boot-on;                176                 regulator-boot-on;
217                 regulator-min-microvolt = <120    177                 regulator-min-microvolt = <12000000>;
218                 regulator-max-microvolt = <120    178                 regulator-max-microvolt = <12000000>;
219         };                                        179         };
220                                                   180 
221         vcc12v_dcin_bkup: vcc12v-dcin-bkup {      181         vcc12v_dcin_bkup: vcc12v-dcin-bkup {
222                 compatible = "regulator-fixed"    182                 compatible = "regulator-fixed";
223                 regulator-name = "vcc12v_dcin_    183                 regulator-name = "vcc12v_dcin_bkup";
224                 regulator-always-on;              184                 regulator-always-on;
225                 regulator-boot-on;                185                 regulator-boot-on;
226                 regulator-min-microvolt = <120    186                 regulator-min-microvolt = <12000000>;
227                 regulator-max-microvolt = <120    187                 regulator-max-microvolt = <12000000>;
228                 vin-supply = <&vcc12v_dcin>;      188                 vin-supply = <&vcc12v_dcin>;
229         };                                        189         };
230 };                                                190 };
231                                                   191 
232 /*                                                192 /*
233  * The system doesn't run stable with cpu freq    193  * The system doesn't run stable with cpu freq enabled, so disallow the lower
234  * frequencies until this problem is properly     194  * frequencies until this problem is properly understood and resolved.
235  */                                               195  */
236 &cluster0_opp {                                   196 &cluster0_opp {
237         /delete-node/ opp00;                      197         /delete-node/ opp00;
238         /delete-node/ opp01;                      198         /delete-node/ opp01;
239         /delete-node/ opp02;                      199         /delete-node/ opp02;
240         /delete-node/ opp03;                      200         /delete-node/ opp03;
241         /delete-node/ opp04;                      201         /delete-node/ opp04;
242 };                                                202 };
243                                                   203 
244 &cluster1_opp {                                   204 &cluster1_opp {
245         /delete-node/ opp00;                      205         /delete-node/ opp00;
246         /delete-node/ opp01;                      206         /delete-node/ opp01;
247         /delete-node/ opp02;                      207         /delete-node/ opp02;
248         /delete-node/ opp03;                      208         /delete-node/ opp03;
249         /delete-node/ opp04;                      209         /delete-node/ opp04;
250         /delete-node/ opp05;                      210         /delete-node/ opp05;
251         /delete-node/ opp06;                      211         /delete-node/ opp06;
252 };                                                212 };
253                                                   213 
254 &cpu_b0 {                                         214 &cpu_b0 {
255         cpu-supply = <&vdd_cpu_b>;                215         cpu-supply = <&vdd_cpu_b>;
256 };                                                216 };
257                                                   217 
258 &cpu_b1 {                                         218 &cpu_b1 {
259         cpu-supply = <&vdd_cpu_b>;                219         cpu-supply = <&vdd_cpu_b>;
260 };                                                220 };
261                                                   221 
262 &cpu_l0 {                                         222 &cpu_l0 {
263         cpu-supply = <&vdd_cpu_l>;                223         cpu-supply = <&vdd_cpu_l>;
264 };                                                224 };
265                                                   225 
266 &cpu_l1 {                                         226 &cpu_l1 {
267         cpu-supply = <&vdd_cpu_l>;                227         cpu-supply = <&vdd_cpu_l>;
268 };                                                228 };
269                                                   229 
270 &cpu_l2 {                                         230 &cpu_l2 {
271         cpu-supply = <&vdd_cpu_l>;                231         cpu-supply = <&vdd_cpu_l>;
272 };                                                232 };
273                                                   233 
274 &cpu_l3 {                                         234 &cpu_l3 {
275         cpu-supply = <&vdd_cpu_l>;                235         cpu-supply = <&vdd_cpu_l>;
276 };                                                236 };
277                                                   237 
278 &emmc_phy {                                       238 &emmc_phy {
279         status = "okay";                          239         status = "okay";
280 };                                                240 };
281                                                   241 
282 &gmac {                                           242 &gmac {
283         assigned-clock-parents = <&clkin_gmac>    243         assigned-clock-parents = <&clkin_gmac>;
284         assigned-clocks = <&cru SCLK_RMII_SRC>    244         assigned-clocks = <&cru SCLK_RMII_SRC>;
285         clock_in_out = "input";                   245         clock_in_out = "input";
286         phy-mode = "rgmii";                       246         phy-mode = "rgmii";
287         phy-supply = <&vcc_lan>;                  247         phy-supply = <&vcc_lan>;
288         pinctrl-names = "default";                248         pinctrl-names = "default";
289         pinctrl-0 = <&rgmii_pins &gphy_reset>;    249         pinctrl-0 = <&rgmii_pins &gphy_reset>;
290         rx_delay = <0x20>;                        250         rx_delay = <0x20>;
291         tx_delay = <0x28>;                        251         tx_delay = <0x28>;
292         snps,reset-active-low;                    252         snps,reset-active-low;
293         snps,reset-delays-us = <0 10000 50000>    253         snps,reset-delays-us = <0 10000 50000>;
294         snps,reset-gpio = <&gpio3 RK_PB7 GPIO_    254         snps,reset-gpio = <&gpio3 RK_PB7 GPIO_ACTIVE_LOW>;
295         status = "okay";                          255         status = "okay";
296 };                                                256 };
297                                                   257 
298 &i2c0 {                                           258 &i2c0 {
299         clock-frequency = <400000>;               259         clock-frequency = <400000>;
300         i2c-scl-rising-time-ns = <168>;           260         i2c-scl-rising-time-ns = <168>;
301         i2c-scl-falling-time-ns = <4>;            261         i2c-scl-falling-time-ns = <4>;
302         status = "okay";                          262         status = "okay";
303                                                   263 
304         rk808: pmic@1b {                          264         rk808: pmic@1b {
305                 compatible = "rockchip,rk808";    265                 compatible = "rockchip,rk808";
306                 reg = <0x1b>;                     266                 reg = <0x1b>;
307                 interrupt-parent = <&gpio0>;      267                 interrupt-parent = <&gpio0>;
308                 interrupts = <10 IRQ_TYPE_LEVE    268                 interrupts = <10 IRQ_TYPE_LEVEL_LOW>;
309                 clock-output-names = "xin32k",    269                 clock-output-names = "xin32k", "rk808-clkout2";
310                 pinctrl-names = "default";        270                 pinctrl-names = "default";
311                 pinctrl-0 = <&pmic_int_l>;        271                 pinctrl-0 = <&pmic_int_l>;
312                 rockchip,system-power-controll << 
313                 vcc1-supply = <&vcc5v0_sys>;      272                 vcc1-supply = <&vcc5v0_sys>;
314                 vcc2-supply = <&vcc5v0_sys>;      273                 vcc2-supply = <&vcc5v0_sys>;
315                 vcc3-supply = <&vcc5v0_sys>;      274                 vcc3-supply = <&vcc5v0_sys>;
316                 vcc4-supply = <&vcc5v0_sys>;      275                 vcc4-supply = <&vcc5v0_sys>;
317                 vcc6-supply = <&vcc5v0_sys>;      276                 vcc6-supply = <&vcc5v0_sys>;
318                 vcc7-supply = <&vcc5v0_sys>;      277                 vcc7-supply = <&vcc5v0_sys>;
319                 vcc8-supply = <&vcc3v3_sys_s3>    278                 vcc8-supply = <&vcc3v3_sys_s3>;
320                 vcc9-supply = <&vcc5v0_sys>;      279                 vcc9-supply = <&vcc5v0_sys>;
321                 vcc10-supply = <&vcc5v0_sys>;     280                 vcc10-supply = <&vcc5v0_sys>;
322                 vcc11-supply = <&vcc5v0_sys>;     281                 vcc11-supply = <&vcc5v0_sys>;
323                 vcc12-supply = <&vcc3v3_sys_s3    282                 vcc12-supply = <&vcc3v3_sys_s3>;
324                 vddio-supply = <&vcc3v0_s3>;      283                 vddio-supply = <&vcc3v0_s3>;
325                 wakeup-source;                    284                 wakeup-source;
326                 #clock-cells = <1>;               285                 #clock-cells = <1>;
327                                                   286 
328                 regulators {                      287                 regulators {
329                         vdd_cpu_l: DCDC_REG2 {    288                         vdd_cpu_l: DCDC_REG2 {
330                                 regulator-name    289                                 regulator-name = "vdd_cpu_l";
331                                 regulator-alwa    290                                 regulator-always-on;
332                                 regulator-boot    291                                 regulator-boot-on;
333                                 regulator-min-    292                                 regulator-min-microvolt = <750000>;
334                                 regulator-max-    293                                 regulator-max-microvolt = <1350000>;
335                                 regulator-ramp    294                                 regulator-ramp-delay = <6001>;
336                                                   295 
337                                 regulator-stat    296                                 regulator-state-mem {
338                                         regula    297                                         regulator-off-in-suspend;
339                                 };                298                                 };
340                         };                        299                         };
341                                                   300 
342                         vcc1v8_sys_s3: DCDC_RE    301                         vcc1v8_sys_s3: DCDC_REG4 {
343                                 regulator-name    302                                 regulator-name = "vcc1v8_sys_s3";
344                                 regulator-alwa    303                                 regulator-always-on;
345                                 regulator-boot    304                                 regulator-boot-on;
346                                 regulator-min-    305                                 regulator-min-microvolt = <1800000>;
347                                 regulator-max-    306                                 regulator-max-microvolt = <1800000>;
348                                                   307 
349                                 regulator-stat    308                                 regulator-state-mem {
350                                         regula    309                                         regulator-on-in-suspend;
351                                         regula    310                                         regulator-suspend-microvolt = <1800000>;
352                                 };                311                                 };
353                         };                        312                         };
354                                                   313 
355                         vcc_sdio_s0: LDO_REG4     314                         vcc_sdio_s0: LDO_REG4 {
356                                 regulator-name    315                                 regulator-name = "vcc_sdio_s0";
357                                 regulator-alwa    316                                 regulator-always-on;
358                                 regulator-boot    317                                 regulator-boot-on;
359                                 regulator-min-    318                                 regulator-min-microvolt = <1800000>;
360                                 regulator-max-    319                                 regulator-max-microvolt = <3000000>;
361                                                   320 
362                                 regulator-stat    321                                 regulator-state-mem {
363                                         regula    322                                         regulator-on-in-suspend;
364                                         regula    323                                         regulator-suspend-microvolt = <3000000>;
365                                 };                324                                 };
366                         };                        325                         };
367                                                   326 
368                         vcc3v0_s3: LDO_REG8 {     327                         vcc3v0_s3: LDO_REG8 {
369                                 regulator-name    328                                 regulator-name = "vcc3v0_s3";
370                                 regulator-alwa    329                                 regulator-always-on;
371                                 regulator-boot    330                                 regulator-boot-on;
372                                 regulator-min-    331                                 regulator-min-microvolt = <3000000>;
373                                 regulator-max-    332                                 regulator-max-microvolt = <3000000>;
374                                                   333 
375                                 regulator-stat    334                                 regulator-state-mem {
376                                         regula    335                                         regulator-on-in-suspend;
377                                         regula    336                                         regulator-suspend-microvolt = <3000000>;
378                                 };                337                                 };
379                         };                        338                         };
380                 };                                339                 };
381         };                                        340         };
382                                                   341 
383         vdd_cpu_b: regulator@40 {                 342         vdd_cpu_b: regulator@40 {
384                 compatible = "silergy,syr827";    343                 compatible = "silergy,syr827";
385                 reg = <0x40>;                     344                 reg = <0x40>;
386                 fcs,suspend-voltage-selector =    345                 fcs,suspend-voltage-selector = <1>;
387                 regulator-name = "vdd_cpu_b";     346                 regulator-name = "vdd_cpu_b";
388                 regulator-always-on;              347                 regulator-always-on;
389                 regulator-boot-on;                348                 regulator-boot-on;
390                 regulator-min-microvolt = <712    349                 regulator-min-microvolt = <712500>;
391                 regulator-max-microvolt = <150    350                 regulator-max-microvolt = <1500000>;
392                 regulator-ramp-delay = <1000>;    351                 regulator-ramp-delay = <1000>;
393                 vin-supply = <&vcc5v0_sys>;       352                 vin-supply = <&vcc5v0_sys>;
394                                                   353 
395                 regulator-state-mem {             354                 regulator-state-mem {
396                         regulator-off-in-suspe    355                         regulator-off-in-suspend;
397                 };                                356                 };
398         };                                        357         };
399 };                                                358 };
400                                                   359 
401 &i2c2 {                                           360 &i2c2 {
402         clock-frequency = <400000>;               361         clock-frequency = <400000>;
403         i2c-scl-rising-time-ns = <160>;           362         i2c-scl-rising-time-ns = <160>;
404         i2c-scl-falling-time-ns = <30>;           363         i2c-scl-falling-time-ns = <30>;
405         status = "okay";                          364         status = "okay";
406                                                   365 
407         temp@4c {                                 366         temp@4c {
408                 compatible = "national,lm75";     367                 compatible = "national,lm75";
409                 reg = <0x4c>;                     368                 reg = <0x4c>;
410         };                                        369         };
411 };                                                370 };
412                                                   371 
413 &io_domains {                                     372 &io_domains {
414         audio-supply = <&vcc1v8_sys_s0>;          373         audio-supply = <&vcc1v8_sys_s0>;
415         bt656-supply = <&vcc1v8_sys_s0>;          374         bt656-supply = <&vcc1v8_sys_s0>;
416         gpio1830-supply = <&vcc3v0_s3>;           375         gpio1830-supply = <&vcc3v0_s3>;
417         sdmmc-supply = <&vcc_sdio_s0>;            376         sdmmc-supply = <&vcc_sdio_s0>;
418         status = "okay";                          377         status = "okay";
419 };                                                378 };
420                                                   379 
421 &pcie_phy {                                       380 &pcie_phy {
422         status = "okay";                          381         status = "okay";
423 };                                                382 };
424                                                   383 
425 &pcie0 {                                          384 &pcie0 {
426         ep-gpios = <&gpio2 RK_PD4 GPIO_ACTIVE_ << 
427         max-link-speed = <2>;                  << 
428         num-lanes = <2>;                          385         num-lanes = <2>;
429         pinctrl-names = "default";             << 
430         status = "okay";                          386         status = "okay";
431                                                   387 
432         vpcie12v-supply = <&vcc12v_dcin>;         388         vpcie12v-supply = <&vcc12v_dcin>;
433         vpcie3v3-supply = <&pcie_power>;          389         vpcie3v3-supply = <&pcie_power>;
434         vpcie1v8-supply = <&avdd_1v8_s0>;         390         vpcie1v8-supply = <&avdd_1v8_s0>;
435         vpcie0v9-supply = <&avdd_0v9_s0>;         391         vpcie0v9-supply = <&avdd_0v9_s0>;
436 };                                                392 };
437                                                   393 
438 &pinctrl {                                        394 &pinctrl {
439         gmac {                                    395         gmac {
440                 gphy_reset: gphy-reset {          396                 gphy_reset: gphy-reset {
441                         rockchip,pins = <3 RK_    397                         rockchip,pins = <3 RK_PB7 RK_FUNC_GPIO &pcfg_output_low>;
442                 };                                398                 };
443         };                                        399         };
444                                                   400 
445         leds {                                    401         leds {
446                 sys_grn_led_on: sys-grn-led-on    402                 sys_grn_led_on: sys-grn-led-on {
447                         rockchip,pins = <0 RK_    403                         rockchip,pins = <0 RK_PB4 RK_FUNC_GPIO &pcfg_pull_down>;
448                 };                                404                 };
449                                                   405 
450                 sys_red_led_on: sys-red-led-on    406                 sys_red_led_on: sys-red-led-on {
451                         rockchip,pins = <0 RK_    407                         rockchip,pins = <0 RK_PB5 RK_FUNC_GPIO &pcfg_pull_down>;
452                 };                                408                 };
453         };                                        409         };
454                                                   410 
455         pcie {                                    411         pcie {
456                 pcie_pwr: pcie-pwr {              412                 pcie_pwr: pcie-pwr {
457                         rockchip,pins =           413                         rockchip,pins =
458                                 <1 RK_PD0 RK_F    414                                 <1 RK_PD0 RK_FUNC_GPIO &pcfg_pull_none>;
459                 };                                415                 };
460         };                                        416         };
461                                                   417 
462         pmic {                                    418         pmic {
463                 pmic_int_l: pmic-int-l {          419                 pmic_int_l: pmic-int-l {
464                         rockchip,pins = <0 RK_    420                         rockchip,pins = <0 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>;
465                 };                                421                 };
466         };                                        422         };
467                                                   423 
468         power {                                   424         power {
469                 hdd_a_power_en: hdd-a-power-en << 
470                         rockchip,pins = <1 RK_ << 
471                 };                             << 
472                                                << 
473                 hdd_b_power_en: hdd-b-power-en << 
474                         rockchip,pins = <1 RK_ << 
475                 };                             << 
476                                                << 
477                 vcc5v0_usb_en: vcc5v0-usb-en {    425                 vcc5v0_usb_en: vcc5v0-usb-en {
478                         rockchip,pins = <1 RK_    426                         rockchip,pins = <1 RK_PC6 RK_FUNC_GPIO &pcfg_pull_none>;
479                 };                                427                 };
480                                                << 
481                 usb_lan_en: usb-lan-en {       << 
482                         rockchip,pins = <1 RK_ << 
483                 };                             << 
484         };                                        428         };
485                                                   429 
486         vcc3v0-sd {                               430         vcc3v0-sd {
487                 sdmmc0_pwr_h: sdmmc0-pwr-h {      431                 sdmmc0_pwr_h: sdmmc0-pwr-h {
488                         rockchip,pins = <0 RK_    432                         rockchip,pins = <0 RK_PA1 RK_FUNC_GPIO &pcfg_pull_up>;
489                 };                                433                 };
490         };                                        434         };
491 };                                                435 };
492                                                   436 
493 &pmu_io_domains {                                 437 &pmu_io_domains {
494         pmu1830-supply = <&vcc3v0_s3>;            438         pmu1830-supply = <&vcc3v0_s3>;
495         status = "okay";                          439         status = "okay";
496 };                                                440 };
497                                                   441 
498 &pwm0 {                                           442 &pwm0 {
499         /* pwm-fan on P7 */                       443         /* pwm-fan on P7 */
500         status = "okay";                          444         status = "okay";
501 };                                                445 };
502                                                   446 
503 &pwm1 {                                           447 &pwm1 {
504         /* pwm-fan on P6 */                       448         /* pwm-fan on P6 */
505         status = "okay";                          449         status = "okay";
506 };                                                450 };
507                                                   451 
508 &sdhci {                                          452 &sdhci {
509         bus-width = <8>;                          453         bus-width = <8>;
510         mmc-hs200-1_8v;                           454         mmc-hs200-1_8v;
511         non-removable;                            455         non-removable;
512         vqmmc-supply = <&vcc1v8_sys_s0>;          456         vqmmc-supply = <&vcc1v8_sys_s0>;
513         status = "okay";                          457         status = "okay";
514 };                                                458 };
515                                                   459 
516 &sdmmc {                                          460 &sdmmc {
517         bus-width = <4>;                          461         bus-width = <4>;
518         cap-sd-highspeed;                         462         cap-sd-highspeed;
519         cd-gpios = <&gpio0 RK_PA7 GPIO_ACTIVE_    463         cd-gpios = <&gpio0 RK_PA7 GPIO_ACTIVE_LOW>;
520         disable-wp;                               464         disable-wp;
521         pinctrl-names = "default";                465         pinctrl-names = "default";
522         pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sd    466         pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd &sdmmc_bus4>;
523         vmmc-supply = <&vcc3v0_sd>;               467         vmmc-supply = <&vcc3v0_sd>;
524         vqmmc-supply = <&vcc_sdio_s0>;            468         vqmmc-supply = <&vcc_sdio_s0>;
525         status = "okay";                          469         status = "okay";
526 };                                                470 };
527                                                   471 
528 &spi1 {                                        << 
529         status = "okay";                       << 
530                                                << 
531         spiflash: flash@0 {                    << 
532                 compatible = "jedec,spi-nor";  << 
533                 reg = <0x0>;                   << 
534                 spi-max-frequency = <25000000> << 
535                 status = "okay";               << 
536                 m25p,fast-read;                << 
537         };                                     << 
538 };                                             << 
539                                                << 
540 /* UEXT connector */                           << 
541 &spi2 {                                        << 
542         status = "okay";                       << 
543 };                                             << 
544                                                << 
545 &spi5 {                                        << 
546         status = "okay";                       << 
547 };                                             << 
548                                                << 
549 &tcphy1 {                                         472 &tcphy1 {
550         /* phy for &usbdrd_dwc3_1 */              473         /* phy for &usbdrd_dwc3_1 */
551         status = "okay";                          474         status = "okay";
552 };                                                475 };
553                                                   476 
554 &tsadc {                                       << 
555         /* tshut mode 0:CRU 1:GPIO */          << 
556         rockchip,hw-tshut-mode = <1>;          << 
557         /* tshut polarity 0:LOW 1:HIGH */      << 
558         rockchip,hw-tshut-polarity = <1>;      << 
559         status = "okay";                       << 
560 };                                             << 
561                                                << 
562 &u2phy1 {                                         477 &u2phy1 {
563         status = "okay";                          478         status = "okay";
564                                                   479 
565         otg-port {                                480         otg-port {
566                 /* phy for &usbdrd_dwc3_1 */      481                 /* phy for &usbdrd_dwc3_1 */
567                 phy-supply = <&vcc5v0_usb>;       482                 phy-supply = <&vcc5v0_usb>;
568                 status = "okay";                  483                 status = "okay";
569         };                                        484         };
570 };                                                485 };
571                                                   486 
572 &uart2 {                                          487 &uart2 {
573         status = "okay";                          488         status = "okay";
574 };                                                489 };
575                                                   490 
576 &usbdrd3_1 {                                      491 &usbdrd3_1 {
577         status = "okay";                          492         status = "okay";
578                                                   493 
579         usb@fe900000 {                            494         usb@fe900000 {
580                 dr_mode = "host";                 495                 dr_mode = "host";
581                 status = "okay";                  496                 status = "okay";
582                 #address-cells = <1>;          << 
583                 #size-cells = <0>;             << 
584                                                << 
585                 hub@1 {                        << 
586                         compatible = "usb2109, << 
587                         reg = <1>;             << 
588                         #address-cells = <1>;  << 
589                         #size-cells = <0>;     << 
590                                                << 
591                         port@1 {               << 
592                                 reg = <1>;     << 
593                                 #trigger-sourc << 
594                         };                     << 
595                                                << 
596                         port@2 {               << 
597                                 reg = <2>;     << 
598                                 #trigger-sourc << 
599                         };                     << 
600                                                << 
601                         port@3 {               << 
602                                 reg = <3>;     << 
603                                 #trigger-sourc << 
604                         };                     << 
605                                                << 
606                         device@4 {             << 
607                                 compatible = " << 
608                                 reg = <4>;     << 
609                                 #address-cells << 
610                                 #size-cells =  << 
611                                                << 
612                                 interface@0 {  << 
613                                         compat << 
614                                         reg =  << 
615                                 };             << 
616                         };                     << 
617                 };                             << 
618         };                                        497         };
619 };                                                498 };
                                                      

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