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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm64/rockchip/rk3368-lion.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/rk3368-lion.dtsi (Version linux-6.12-rc7) and /scripts/dtc/include-prefixes/arm64/rockchip/rk3368-lion.dtsi (Version linux-4.17.19)


  1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)       1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  2 /*                                                  2 /*
  3  * Copyright (c) 2018 Theobroma Systems Design      3  * Copyright (c) 2018 Theobroma Systems Design und Consulting GmbH
  4  */                                                 4  */
  5                                                     5 
  6 /dts-v1/;                                           6 /dts-v1/;
  7 #include "rk3368.dtsi"                              7 #include "rk3368.dtsi"
  8                                                     8 
  9 / {                                                 9 / {
 10         aliases {                              << 
 11                 ethernet0 = &gmac;             << 
 12                 mmc0 = &emmc;                  << 
 13         };                                     << 
 14                                                << 
 15         chosen {                                   10         chosen {
 16                 stdout-path = "serial0:115200n     11                 stdout-path = "serial0:115200n8";
 17         };                                         12         };
 18                                                    13 
 19         ext_gmac: gmac-clk {                       14         ext_gmac: gmac-clk {
 20                 compatible = "fixed-clock";        15                 compatible = "fixed-clock";
 21                 clock-frequency = <125000000>;     16                 clock-frequency = <125000000>;
 22                 clock-output-names = "ext_gmac     17                 clock-output-names = "ext_gmac";
 23                 #clock-cells = <0>;                18                 #clock-cells = <0>;
 24         };                                         19         };
 25                                                    20 
 26         i2cmux1 {                                  21         i2cmux1 {
 27                 compatible = "i2c-mux-gpio";       22                 compatible = "i2c-mux-gpio";
 28                 #address-cells = <1>;              23                 #address-cells = <1>;
 29                 #size-cells = <0>;                 24                 #size-cells = <0>;
 30                 i2c-parent = <&i2c1>;              25                 i2c-parent = <&i2c1>;
 31                 mux-gpios = <&gpio1 RK_PA7 GPI     26                 mux-gpios = <&gpio1 RK_PA7 GPIO_ACTIVE_HIGH>;
 32                                                    27 
 33                 /* Q7_GP0_I2C */               !!  28                 /* Q7_GPO_I2C */
 34                 i2c_gp0: i2c@0 {               !!  29                 i2c@0 {
 35                         reg = <0>;                 30                         reg = <0>;
 36                         #address-cells = <1>;      31                         #address-cells = <1>;
 37                         #size-cells = <0>;         32                         #size-cells = <0>;
 38                 };                                 33                 };
 39                                                    34 
 40                 /* Q7_SMB */                       35                 /* Q7_SMB */
 41                 i2c_smb: i2c@1 {               !!  36                 i2c@1 {
 42                         reg = <1>;                 37                         reg = <1>;
 43                         #address-cells = <1>;      38                         #address-cells = <1>;
 44                         #size-cells = <0>;         39                         #size-cells = <0>;
 45                 };                                 40                 };
 46         };                                         41         };
 47                                                    42 
 48         i2cmux2 {                                  43         i2cmux2 {
 49                 compatible = "i2c-mux-gpio";       44                 compatible = "i2c-mux-gpio";
 50                 #address-cells = <1>;              45                 #address-cells = <1>;
 51                 #size-cells = <0>;                 46                 #size-cells = <0>;
 52                 i2c-parent = <&i2c2>;              47                 i2c-parent = <&i2c2>;
 53                 mux-gpios = <&gpio1 RK_PB4 GPI     48                 mux-gpios = <&gpio1 RK_PB4 GPIO_ACTIVE_HIGH>;
 54                                                    49 
 55                 /* Q7_LVDS_BLC_I2C */              50                 /* Q7_LVDS_BLC_I2C */
 56                 i2c_lvds_blc: i2c@0 {          !!  51                 i2c@0 {
 57                         reg = <0>;                 52                         reg = <0>;
 58                         #address-cells = <1>;      53                         #address-cells = <1>;
 59                         #size-cells = <0>;         54                         #size-cells = <0>;
 60                                                    55 
 61                         fan: fan@18 {              56                         fan: fan@18 {
 62                                 compatible = "     57                                 compatible = "ti,amc6821";
 63                                 reg = <0x18>;      58                                 reg = <0x18>;
                                                   >>  59                                 cooling-min-state = <0>;
                                                   >>  60                                 cooling-max-state = <9>;
                                                   >>  61                                 #cooling-cells = <2>;
 64                         };                         62                         };
 65                                                    63 
 66                         rtc_twi: rtc@6f {          64                         rtc_twi: rtc@6f {
 67                                 compatible = "     65                                 compatible = "isil,isl1208";
 68                                 reg = <0x6f>;      66                                 reg = <0x6f>;
 69                         };                         67                         };
 70                 };                                 68                 };
 71                                                    69 
 72                 /* Q7_GP2_I2C = LVDS_DID_CLK/D !!  70                 /* Q7_GP2_I2C */
 73                 i2c_gp2: i2c@1 {               !!  71                 i2c@1 {
 74                         reg = <1>;                 72                         reg = <1>;
 75                         #address-cells = <1>;      73                         #address-cells = <1>;
 76                         #size-cells = <0>;         74                         #size-cells = <0>;
 77                 };                                 75                 };
 78         };                                         76         };
 79                                                    77 
 80         leds {                                     78         leds {
 81                 compatible = "gpio-leds";          79                 compatible = "gpio-leds";
 82                 pinctrl-names = "default";         80                 pinctrl-names = "default";
 83                 pinctrl-0 = <&module_led_pins> !!  81                 pinctrl-0 = <&led_pins_module>;
 84                                                    82 
 85                 module_led1: led-1 {           !!  83                 module_led1 {
 86                         label = "module_led1";     84                         label = "module_led1";
 87                         gpios = <&gpio2 RK_PB5     85                         gpios = <&gpio2 RK_PB5 GPIO_ACTIVE_HIGH>;
 88                         linux,default-trigger      86                         linux,default-trigger = "heartbeat";
 89                         panic-indicator;           87                         panic-indicator;
 90                 };                                 88                 };
 91                                                    89 
 92                 module_led2: led-2 {           !!  90                 module_led2 {
 93                         label = "module_led2";     91                         label = "module_led2";
 94                         gpios = <&gpio3 RK_PA3     92                         gpios = <&gpio3 RK_PA3 GPIO_ACTIVE_HIGH>;
 95                         default-state = "off";     93                         default-state = "off";
 96                 };                                 94                 };
 97         };                                         95         };
 98                                                    96 
 99         vcc_sys: vcc-sys-regulator {               97         vcc_sys: vcc-sys-regulator {
100                 compatible = "regulator-fixed"     98                 compatible = "regulator-fixed";
101                 regulator-name = "vcc_sys";        99                 regulator-name = "vcc_sys";
102                 regulator-min-microvolt = <500    100                 regulator-min-microvolt = <5000000>;
103                 regulator-max-microvolt = <500    101                 regulator-max-microvolt = <5000000>;
104                 regulator-always-on;              102                 regulator-always-on;
105                 regulator-boot-on;                103                 regulator-boot-on;
106         };                                        104         };
107 };                                                105 };
108                                                   106 
109 &cpu_l0 {                                         107 &cpu_l0 {
110         cpu-supply = <&vdd_cpu>;                  108         cpu-supply = <&vdd_cpu>;
111 };                                                109 };
112                                                   110 
113 &cpu_l1 {                                         111 &cpu_l1 {
114         cpu-supply = <&vdd_cpu>;                  112         cpu-supply = <&vdd_cpu>;
115 };                                                113 };
116                                                   114 
117 &cpu_l2 {                                         115 &cpu_l2 {
118         cpu-supply = <&vdd_cpu>;                  116         cpu-supply = <&vdd_cpu>;
119 };                                                117 };
120                                                   118 
121 &cpu_l3 {                                         119 &cpu_l3 {
122         cpu-supply = <&vdd_cpu>;                  120         cpu-supply = <&vdd_cpu>;
123 };                                                121 };
124                                                   122 
125 &cpu_b0 {                                         123 &cpu_b0 {
126         cpu-supply = <&vdd_cpu>;                  124         cpu-supply = <&vdd_cpu>;
127 };                                                125 };
128                                                   126 
129 &cpu_b1 {                                         127 &cpu_b1 {
130         cpu-supply = <&vdd_cpu>;                  128         cpu-supply = <&vdd_cpu>;
131 };                                                129 };
132                                                   130 
133 &cpu_b2 {                                         131 &cpu_b2 {
134         cpu-supply = <&vdd_cpu>;                  132         cpu-supply = <&vdd_cpu>;
135 };                                                133 };
136                                                   134 
137 &cpu_b3 {                                         135 &cpu_b3 {
138         cpu-supply = <&vdd_cpu>;                  136         cpu-supply = <&vdd_cpu>;
139 };                                                137 };
140                                                   138 
141 &emmc {                                           139 &emmc {
142         bus-width = <8>;                          140         bus-width = <8>;
143         clock-frequency = <150000000>;            141         clock-frequency = <150000000>;
                                                   >> 142         disable-wp;
144         mmc-hs200-1_8v;                           143         mmc-hs200-1_8v;
145         non-removable;                            144         non-removable;
146         vmmc-supply = <&vcc33_io>;                145         vmmc-supply = <&vcc33_io>;
147         vqmmc-supply = <&vcc_18>;              !! 146         vqmmc-supply = <&vcc18_io>;
148         pinctrl-names = "default";                147         pinctrl-names = "default";
149         pinctrl-0 = <&emmc_clk>, <&emmc_cmd>,     148         pinctrl-0 = <&emmc_clk>, <&emmc_cmd>, <&emmc_bus8>;
150         status = "okay";                          149         status = "okay";
151 };                                                150 };
152                                                   151 
153 &gmac {                                           152 &gmac {
154         assigned-clocks = <&cru SCLK_MAC>;        153         assigned-clocks = <&cru SCLK_MAC>;
155         assigned-clock-parents = <&ext_gmac>;     154         assigned-clock-parents = <&ext_gmac>;
156         clock_in_out = "input";                   155         clock_in_out = "input";
157         phy-supply = <&vcc33_io>;                 156         phy-supply = <&vcc33_io>;
158         phy-mode = "rgmii";                       157         phy-mode = "rgmii";
159         pinctrl-names = "default";                158         pinctrl-names = "default";
160         pinctrl-0 = <&rgmii_pins>;                159         pinctrl-0 = <&rgmii_pins>;
161         snps,reset-active-low;                    160         snps,reset-active-low;
162         snps,reset-delays-us = <0 10000 50000>    161         snps,reset-delays-us = <0 10000 50000>;
163         snps,reset-gpio = <&gpio3 RK_PB3 GPIO_ !! 162         snps,reset-gpio = <&gpio3 RK_PB3 GPIO_ACTIVE_HIGH>;
164         tx_delay = <0x10>;                        163         tx_delay = <0x10>;
165         rx_delay = <0x10>;                        164         rx_delay = <0x10>;
166         status = "okay";                          165         status = "okay";
167 };                                                166 };
168                                                   167 
169 &i2c0 {                                           168 &i2c0 {
170         status = "okay";                          169         status = "okay";
171                                                   170 
172         rk808: pmic@1b {                          171         rk808: pmic@1b {
173                 compatible = "rockchip,rk808";    172                 compatible = "rockchip,rk808";
174                 reg = <0x1b>;                     173                 reg = <0x1b>;
175                 interrupt-parent = <&gpio0>;      174                 interrupt-parent = <&gpio0>;
176                 interrupts = <RK_PA5 IRQ_TYPE_    175                 interrupts = <RK_PA5 IRQ_TYPE_LEVEL_LOW>;
177                 clock-output-names = "xin32k",    176                 clock-output-names = "xin32k", "rk808-clkout2";
178                 #clock-cells = <1>;               177                 #clock-cells = <1>;
179                 pinctrl-names = "default";        178                 pinctrl-names = "default";
180                 pinctrl-0 = <&pmic_int_l>, <&p    179                 pinctrl-0 = <&pmic_int_l>, <&pmic_sleep>;
181                 rockchip,system-power-controll    180                 rockchip,system-power-controller;
182                 vcc1-supply = <&vcc_sys>;         181                 vcc1-supply = <&vcc_sys>;
183                 vcc2-supply = <&vcc_sys>;         182                 vcc2-supply = <&vcc_sys>;
184                 vcc3-supply = <&vcc_sys>;         183                 vcc3-supply = <&vcc_sys>;
185                 vcc4-supply = <&vcc_sys>;         184                 vcc4-supply = <&vcc_sys>;
186                 vcc6-supply = <&vcc_sys>;         185                 vcc6-supply = <&vcc_sys>;
187                 vcc7-supply = <&vcc_sys>;         186                 vcc7-supply = <&vcc_sys>;
188                 vcc8-supply = <&vcc_sys>;         187                 vcc8-supply = <&vcc_sys>;
189                 vcc9-supply = <&vcc_sys>;         188                 vcc9-supply = <&vcc_sys>;
190                 vcc10-supply = <&vcc_sys>;        189                 vcc10-supply = <&vcc_sys>;
191                 vcc11-supply = <&vcc_sys>;        190                 vcc11-supply = <&vcc_sys>;
192                 vcc12-supply = <&vcc_sys>;        191                 vcc12-supply = <&vcc_sys>;
193                                                   192 
194                 regulators {                      193                 regulators {
195                         vdd_cpu: DCDC_REG1 {      194                         vdd_cpu: DCDC_REG1 {
196                                 regulator-name    195                                 regulator-name = "vdd_cpu";
197                                 regulator-min-    196                                 regulator-min-microvolt = <700000>;
198                                 regulator-max-    197                                 regulator-max-microvolt = <1500000>;
199                                 regulator-alwa    198                                 regulator-always-on;
200                                 regulator-boot    199                                 regulator-boot-on;
201                         };                        200                         };
202                                                   201 
203                         vdd_log: DCDC_REG2 {      202                         vdd_log: DCDC_REG2 {
204                                 regulator-name    203                                 regulator-name = "vdd_log";
205                                 regulator-min-    204                                 regulator-min-microvolt = <700000>;
206                                 regulator-max-    205                                 regulator-max-microvolt = <1500000>;
207                                 regulator-alwa    206                                 regulator-always-on;
208                                 regulator-boot    207                                 regulator-boot-on;
209                         };                        208                         };
210                                                   209 
211                         vcc_ddr: DCDC_REG3 {      210                         vcc_ddr: DCDC_REG3 {
212                                 regulator-name    211                                 regulator-name = "vcc_ddr";
213                                 regulator-alwa    212                                 regulator-always-on;
214                                 regulator-boot    213                                 regulator-boot-on;
215                         };                        214                         };
216                                                   215 
217                         vcc33_io: DCDC_REG4 {     216                         vcc33_io: DCDC_REG4 {
218                                 regulator-name    217                                 regulator-name = "vcc33_io";
219                                 regulator-min-    218                                 regulator-min-microvolt = <3300000>;
220                                 regulator-max-    219                                 regulator-max-microvolt = <3300000>;
221                                 regulator-alwa    220                                 regulator-always-on;
222                                 regulator-boot    221                                 regulator-boot-on;
223                         };                        222                         };
224                                                   223 
225                         vcc33_video: LDO_REG2     224                         vcc33_video: LDO_REG2 {
226                                 regulator-name    225                                 regulator-name = "vcc33_video";
227                                 regulator-min-    226                                 regulator-min-microvolt = <3300000>;
228                                 regulator-max-    227                                 regulator-max-microvolt = <3300000>;
229                                 regulator-alwa    228                                 regulator-always-on;
230                                 regulator-boot    229                                 regulator-boot-on;
231                         };                        230                         };
232                                                   231 
233                         vdd10_pll: LDO_REG3 {     232                         vdd10_pll: LDO_REG3 {
234                                 regulator-name    233                                 regulator-name = "vdd10_pll";
235                                 regulator-min-    234                                 regulator-min-microvolt = <1000000>;
236                                 regulator-max-    235                                 regulator-max-microvolt = <1000000>;
237                                 regulator-alwa    236                                 regulator-always-on;
238                                 regulator-boot    237                                 regulator-boot-on;
239                         };                        238                         };
240                                                   239 
                                                   >> 240                         vcc18_io: LDO_REG4 {
                                                   >> 241                                 regulator-name = "vcc18_io";
                                                   >> 242                                 regulator-min-microvolt = <1800000>;
                                                   >> 243                                 regulator-max-microvolt = <1800000>;
                                                   >> 244                                 regulator-boot-on;
                                                   >> 245                         };
                                                   >> 246 
241                         vdd10_video: LDO_REG6     247                         vdd10_video: LDO_REG6 {
242                                 regulator-name    248                                 regulator-name = "vdd10_video";
243                                 regulator-min-    249                                 regulator-min-microvolt = <1000000>;
244                                 regulator-max-    250                                 regulator-max-microvolt = <1000000>;
245                                 regulator-alwa    251                                 regulator-always-on;
246                                 regulator-boot    252                                 regulator-boot-on;
247                         };                        253                         };
248                                                   254 
249                         vcc_18: LDO_REG7 {     << 
250                                 regulator-alwa << 
251                                 regulator-boot << 
252                                 regulator-min- << 
253                                 regulator-max- << 
254                                 regulator-name << 
255                         };                     << 
256                                                << 
257                         vcc18_video: LDO_REG8     255                         vcc18_video: LDO_REG8 {
258                                 regulator-name    256                                 regulator-name = "vcc18_video";
259                                 regulator-min-    257                                 regulator-min-microvolt = <1800000>;
260                                 regulator-max-    258                                 regulator-max-microvolt = <1800000>;
261                                 regulator-alwa    259                                 regulator-always-on;
262                                 regulator-boot    260                                 regulator-boot-on;
263                         };                        261                         };
264                 };                                262                 };
265         };                                        263         };
266 };                                                264 };
267                                                   265 
268 &i2c1 {                                           266 &i2c1 {
269         status = "okay";                          267         status = "okay";
270 };                                                268 };
271                                                   269 
272 &i2c2 {                                           270 &i2c2 {
273         status = "okay";                          271         status = "okay";
274 };                                                272 };
275                                                   273 
276 /* The RK3368-uQ7 "Lion" has most IO voltages  << 
277 &io_domains {                                  << 
278         audio-supply = <&vcc33_io>;            << 
279         dvp-supply = <&vcc33_io>;              << 
280         flash0-supply = <&vcc_18>;             << 
281         gpio30-supply = <&vcc33_io>;           << 
282         gpio1830-supply = <&vcc33_io>;         << 
283         sdcard-supply = <&vcc33_io>;           << 
284         wifi-supply = <&vcc33_io>;             << 
285         status = "okay";                       << 
286 };                                             << 
287                                                << 
288 &pinctrl {                                        274 &pinctrl {
289         leds {                                    275         leds {
290                 module_led_pins: module-led-pi !! 276                 led_pins_module: led-module-gpio {
291                         rockchip,pins =           277                         rockchip,pins =
292                                 <2 RK_PB5 RK_F !! 278                                 <RK_GPIO2 RK_PB5 RK_FUNC_GPIO &pcfg_pull_none>,
293                                 <3 RK_PA3 RK_F !! 279                                 <RK_GPIO3 RK_PA3 RK_FUNC_GPIO &pcfg_pull_none>;
294                 };                                280                 };
295         };                                        281         };
296         pmic {                                    282         pmic {
297                 pmic_int_l: pmic-int-l {          283                 pmic_int_l: pmic-int-l {
298                         rockchip,pins = <0 RK_ !! 284                         rockchip,pins = <RK_GPIO0 RK_PA5 RK_FUNC_GPIO &pcfg_pull_up>;
299                 };                                285                 };
300                                                   286 
301                 pmic_sleep: pmic-sleep {          287                 pmic_sleep: pmic-sleep {
302                         rockchip,pins = <0 RK_ !! 288                         rockchip,pins = <RK_GPIO0 RK_PA0 RK_FUNC_2 &pcfg_pull_none>;
303                 };                                289                 };
304         };                                        290         };
305 };                                             << 
306                                                << 
307 &pmu_io_domains {                              << 
308         pmu-supply = <&vcc33_io>;              << 
309         vop-supply = <&vcc33_io>;              << 
310         status = "okay";                       << 
311 };                                                291 };
312                                                   292 
313 &spi1 {                                           293 &spi1 {
314         status = "okay";                          294         status = "okay";
315                                                   295 
316         norflash: flash@0 {                       296         norflash: flash@0 {
317                 compatible = "jedec,spi-nor";     297                 compatible = "jedec,spi-nor";
318                 reg = <0>;                        298                 reg = <0>;
319                 spi-max-frequency = <50000000>    299                 spi-max-frequency = <50000000>;
320         };                                        300         };
321 };                                                301 };
322                                                   302 
323 &uart1 {                                          303 &uart1 {
324         status = "okay";                          304         status = "okay";
325 };                                                305 };
326                                                   306 
327 &uart3 {                                          307 &uart3 {
328         status = "okay";                          308         status = "okay";
329 };                                                309 };
330                                                   310 
331 &usb_host0_ehci {                                 311 &usb_host0_ehci {
332         status = "okay";                          312         status = "okay";
333 };                                                313 };
334                                                   314 
335 &wdt {                                            315 &wdt {
336         status = "okay";                          316         status = "okay";
337 };                                                317 };
                                                      

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