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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm64/allwinner/sun50i-a64-pine64.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/allwinner/sun50i-a64-pine64.dts (Version linux-6.12-rc7) and /scripts/dtc/include-prefixes/arm64/allwinner/sun50i-a64-pine64.dts (Version linux-4.14.336)


  1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)  !!   1 /*
  2 // Copyright (c) 2016 ARM Ltd.                 !!   2  * Copyright (c) 2016 ARM Ltd.
                                                   >>   3  *
                                                   >>   4  * This file is dual-licensed: you can use it either under the terms
                                                   >>   5  * of the GPL or the X11 license, at your option. Note that this dual
                                                   >>   6  * licensing only applies to this file, and not this project as a
                                                   >>   7  * whole.
                                                   >>   8  *
                                                   >>   9  *  a) This library is free software; you can redistribute it and/or
                                                   >>  10  *     modify it under the terms of the GNU General Public License as
                                                   >>  11  *     published by the Free Software Foundation; either version 2 of the
                                                   >>  12  *     License, or (at your option) any later version.
                                                   >>  13  *
                                                   >>  14  *     This library is distributed in the hope that it will be useful,
                                                   >>  15  *     but WITHOUT ANY WARRANTY; without even the implied warranty of
                                                   >>  16  *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
                                                   >>  17  *     GNU General Public License for more details.
                                                   >>  18  *
                                                   >>  19  * Or, alternatively,
                                                   >>  20  *
                                                   >>  21  *  b) Permission is hereby granted, free of charge, to any person
                                                   >>  22  *     obtaining a copy of this software and associated documentation
                                                   >>  23  *     files (the "Software"), to deal in the Software without
                                                   >>  24  *     restriction, including without limitation the rights to use,
                                                   >>  25  *     copy, modify, merge, publish, distribute, sublicense, and/or
                                                   >>  26  *     sell copies of the Software, and to permit persons to whom the
                                                   >>  27  *     Software is furnished to do so, subject to the following
                                                   >>  28  *     conditions:
                                                   >>  29  *
                                                   >>  30  *     The above copyright notice and this permission notice shall be
                                                   >>  31  *     included in all copies or substantial portions of the Software.
                                                   >>  32  *
                                                   >>  33  *     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
                                                   >>  34  *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
                                                   >>  35  *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
                                                   >>  36  *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
                                                   >>  37  *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
                                                   >>  38  *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
                                                   >>  39  *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
                                                   >>  40  *     OTHER DEALINGS IN THE SOFTWARE.
                                                   >>  41  */
  3                                                    42 
  4 /dts-v1/;                                          43 /dts-v1/;
  5                                                    44 
  6 #include "sun50i-a64.dtsi"                         45 #include "sun50i-a64.dtsi"
  7 #include "sun50i-a64-cpu-opp.dtsi"             << 
  8                                                    46 
  9 #include <dt-bindings/gpio/gpio.h>                 47 #include <dt-bindings/gpio/gpio.h>
 10                                                    48 
 11 / {                                                49 / {
 12         model = "Pine64 PINE A64";             !!  50         model = "Pine64";
 13         compatible = "pine64,pine64", "allwinn     51         compatible = "pine64,pine64", "allwinner,sun50i-a64";
 14                                                    52 
 15         aliases {                                  53         aliases {
 16                 ethernet0 = &emac;             << 
 17                 serial0 = &uart0;                  54                 serial0 = &uart0;
 18                 serial1 = &uart1;                  55                 serial1 = &uart1;
 19                 serial2 = &uart2;                  56                 serial2 = &uart2;
 20                 serial3 = &uart3;                  57                 serial3 = &uart3;
 21                 serial4 = &uart4;                  58                 serial4 = &uart4;
 22         };                                         59         };
 23                                                    60 
 24         chosen {                                   61         chosen {
 25                 stdout-path = "serial0:115200n     62                 stdout-path = "serial0:115200n8";
 26         };                                         63         };
 27                                                << 
 28         hdmi-connector {                       << 
 29                 compatible = "hdmi-connector"; << 
 30                 type = "a";                    << 
 31                                                << 
 32                 port {                         << 
 33                         hdmi_con_in: endpoint  << 
 34                                 remote-endpoin << 
 35                         };                     << 
 36                 };                             << 
 37         };                                     << 
 38 };                                             << 
 39                                                << 
 40 &codec {                                       << 
 41         status = "okay";                       << 
 42 };                                             << 
 43                                                << 
 44 &codec_analog {                                << 
 45         cpvdd-supply = <&reg_eldo1>;           << 
 46         status = "okay";                       << 
 47 };                                             << 
 48                                                << 
 49 &cpu0 {                                        << 
 50         cpu-supply = <&reg_dcdc2>;             << 
 51 };                                             << 
 52                                                << 
 53 &cpu1 {                                        << 
 54         cpu-supply = <&reg_dcdc2>;             << 
 55 };                                             << 
 56                                                << 
 57 &cpu2 {                                        << 
 58         cpu-supply = <&reg_dcdc2>;             << 
 59 };                                             << 
 60                                                << 
 61 &cpu3 {                                        << 
 62         cpu-supply = <&reg_dcdc2>;             << 
 63 };                                             << 
 64                                                << 
 65 &dai {                                         << 
 66         status = "okay";                       << 
 67 };                                             << 
 68                                                << 
 69 &de {                                          << 
 70         status = "okay";                       << 
 71 };                                                 64 };
 72                                                    65 
 73 &ehci0 {                                           66 &ehci0 {
 74         status = "okay";                           67         status = "okay";
 75 };                                                 68 };
 76                                                    69 
 77 &ehci1 {                                           70 &ehci1 {
 78         status = "okay";                           71         status = "okay";
 79 };                                                 72 };
 80                                                    73 
 81 &emac {                                        << 
 82         pinctrl-names = "default";             << 
 83         pinctrl-0 = <&rmii_pins>;              << 
 84         phy-mode = "rmii";                     << 
 85         phy-handle = <&ext_rmii_phy1>;         << 
 86         phy-supply = <&reg_dc1sw>;             << 
 87         status = "okay";                       << 
 88                                                << 
 89 };                                             << 
 90                                                << 
 91 &hdmi {                                        << 
 92         hvcc-supply = <&reg_dldo1>;            << 
 93         status = "okay";                       << 
 94 };                                             << 
 95                                                << 
 96 &hdmi_out {                                    << 
 97         hdmi_out_con: endpoint {               << 
 98                 remote-endpoint = <&hdmi_con_i << 
 99         };                                     << 
100 };                                             << 
101                                                << 
102 &i2c1 {                                            74 &i2c1 {
                                                   >>  75         pinctrl-names = "default";
                                                   >>  76         pinctrl-0 = <&i2c1_pins>;
103         status = "okay";                           77         status = "okay";
104 };                                                 78 };
105                                                    79 
106 &i2c1_pins {                                       80 &i2c1_pins {
107         bias-pull-up;                              81         bias-pull-up;
108 };                                                 82 };
109                                                    83 
110 &mdio {                                        << 
111         ext_rmii_phy1: ethernet-phy@1 {        << 
112                 compatible = "ethernet-phy-iee << 
113                 reg = <1>;                     << 
114         };                                     << 
115 };                                             << 
116                                                << 
117 &mmc0 {                                            84 &mmc0 {
118         pinctrl-names = "default";                 85         pinctrl-names = "default";
119         pinctrl-0 = <&mmc0_pins>;                  86         pinctrl-0 = <&mmc0_pins>;
120         vmmc-supply = <&reg_dcdc1>;                87         vmmc-supply = <&reg_dcdc1>;
121         cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>; !!  88         cd-gpios = <&pio 5 6 GPIO_ACTIVE_HIGH>;
                                                   >>  89         cd-inverted;
122         disable-wp;                                90         disable-wp;
123         bus-width = <4>;                           91         bus-width = <4>;
124         status = "okay";                           92         status = "okay";
125 };                                                 93 };
126                                                    94 
127 &ohci0 {                                           95 &ohci0 {
128         status = "okay";                           96         status = "okay";
129 };                                                 97 };
130                                                    98 
131 &ohci1 {                                           99 &ohci1 {
132         status = "okay";                          100         status = "okay";
133 };                                                101 };
134                                                   102 
135 &r_rsb {                                          103 &r_rsb {
136         status = "okay";                          104         status = "okay";
137                                                   105 
138         axp803: pmic@3a3 {                        106         axp803: pmic@3a3 {
139                 compatible = "x-powers,axp803"    107                 compatible = "x-powers,axp803";
140                 reg = <0x3a3>;                    108                 reg = <0x3a3>;
141                 interrupt-parent = <&r_intc>;     109                 interrupt-parent = <&r_intc>;
142                 interrupts = <GIC_SPI 32 IRQ_T !! 110                 interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
143         };                                        111         };
144 };                                                112 };
145                                                   113 
146 #include "axp803.dtsi"                            114 #include "axp803.dtsi"
147                                                   115 
148 &ac_power_supply {                             << 
149         status = "okay";                       << 
150 };                                             << 
151                                                << 
152 &battery_power_supply {                        << 
153         status = "okay";                       << 
154 };                                             << 
155                                                << 
156 &reg_aldo2 {                                      116 &reg_aldo2 {
157         regulator-always-on;                      117         regulator-always-on;
158         regulator-min-microvolt = <1800000>;      118         regulator-min-microvolt = <1800000>;
159         regulator-max-microvolt = <3300000>;      119         regulator-max-microvolt = <3300000>;
160         regulator-name = "vcc-pl";                120         regulator-name = "vcc-pl";
161 };                                                121 };
162                                                   122 
163 &reg_aldo3 {                                      123 &reg_aldo3 {
164         regulator-always-on;                      124         regulator-always-on;
165         regulator-min-microvolt = <3000000>;      125         regulator-min-microvolt = <3000000>;
166         regulator-max-microvolt = <3000000>;      126         regulator-max-microvolt = <3000000>;
167         regulator-name = "vcc-pll-avcc";          127         regulator-name = "vcc-pll-avcc";
168 };                                                128 };
169                                                   129 
170 &reg_dc1sw {                                      130 &reg_dc1sw {
171         regulator-name = "vcc-phy";               131         regulator-name = "vcc-phy";
172 };                                                132 };
173                                                   133 
174 &reg_dcdc1 {                                      134 &reg_dcdc1 {
175         regulator-always-on;                      135         regulator-always-on;
176         regulator-min-microvolt = <3300000>;      136         regulator-min-microvolt = <3300000>;
177         regulator-max-microvolt = <3300000>;      137         regulator-max-microvolt = <3300000>;
178         regulator-name = "vcc-3v3";               138         regulator-name = "vcc-3v3";
179 };                                                139 };
180                                                   140 
181 &reg_dcdc2 {                                      141 &reg_dcdc2 {
182         regulator-always-on;                      142         regulator-always-on;
183         regulator-min-microvolt = <1040000>;      143         regulator-min-microvolt = <1040000>;
184         regulator-max-microvolt = <1300000>;      144         regulator-max-microvolt = <1300000>;
185         regulator-name = "vdd-cpux";              145         regulator-name = "vdd-cpux";
186 };                                                146 };
187                                                   147 
188 /* DCDC3 is polyphased with DCDC2 */              148 /* DCDC3 is polyphased with DCDC2 */
189                                                   149 
190 /*                                                150 /*
191  * The DRAM chips used by Pine64 boards are DD    151  * The DRAM chips used by Pine64 boards are DDR3L-compatible, so they can
192  * work at 1.35V with less power consumption.     152  * work at 1.35V with less power consumption.
193  * As AXP803 DCDC5 cannot reach 1.35V accurate    153  * As AXP803 DCDC5 cannot reach 1.35V accurately, use 1.36V instead.
194  */                                               154  */
195 &reg_dcdc5 {                                      155 &reg_dcdc5 {
196         regulator-always-on;                      156         regulator-always-on;
197         regulator-min-microvolt = <1360000>;      157         regulator-min-microvolt = <1360000>;
198         regulator-max-microvolt = <1360000>;      158         regulator-max-microvolt = <1360000>;
199         regulator-name = "vcc-dram";              159         regulator-name = "vcc-dram";
200 };                                                160 };
201                                                   161 
202 &reg_dcdc6 {                                      162 &reg_dcdc6 {
203         regulator-always-on;                      163         regulator-always-on;
204         regulator-min-microvolt = <1100000>;      164         regulator-min-microvolt = <1100000>;
205         regulator-max-microvolt = <1100000>;      165         regulator-max-microvolt = <1100000>;
206         regulator-name = "vdd-sys";               166         regulator-name = "vdd-sys";
207 };                                                167 };
208                                                   168 
209 &reg_dldo1 {                                      169 &reg_dldo1 {
210         regulator-min-microvolt = <3300000>;      170         regulator-min-microvolt = <3300000>;
211         regulator-max-microvolt = <3300000>;      171         regulator-max-microvolt = <3300000>;
212         regulator-name = "vcc-hdmi";              172         regulator-name = "vcc-hdmi";
213 };                                                173 };
214                                                   174 
215 &reg_dldo2 {                                      175 &reg_dldo2 {
216         regulator-min-microvolt = <3300000>;      176         regulator-min-microvolt = <3300000>;
217         regulator-max-microvolt = <3300000>;      177         regulator-max-microvolt = <3300000>;
218         regulator-name = "vcc-mipi";              178         regulator-name = "vcc-mipi";
219 };                                                179 };
220                                                   180 
221 &reg_dldo4 {                                      181 &reg_dldo4 {
222         regulator-min-microvolt = <3300000>;      182         regulator-min-microvolt = <3300000>;
223         regulator-max-microvolt = <3300000>;      183         regulator-max-microvolt = <3300000>;
224         regulator-name = "vcc-wifi";              184         regulator-name = "vcc-wifi";
225 };                                                185 };
226                                                   186 
227 &reg_eldo1 {                                      187 &reg_eldo1 {
228         regulator-min-microvolt = <1800000>;      188         regulator-min-microvolt = <1800000>;
229         regulator-max-microvolt = <1800000>;      189         regulator-max-microvolt = <1800000>;
230         regulator-name = "cpvdd";                 190         regulator-name = "cpvdd";
231 };                                                191 };
232                                                   192 
233 &reg_fldo1 {                                      193 &reg_fldo1 {
234         regulator-min-microvolt = <1200000>;      194         regulator-min-microvolt = <1200000>;
235         regulator-max-microvolt = <1200000>;      195         regulator-max-microvolt = <1200000>;
236         regulator-name = "vcc-1v2-hsic";          196         regulator-name = "vcc-1v2-hsic";
237 };                                                197 };
238                                                   198 
239 /*                                                199 /*
240  * The A64 chip cannot work without this regul    200  * The A64 chip cannot work without this regulator off, although
241  * it seems to be only driving the AR100 core.    201  * it seems to be only driving the AR100 core.
242  * Maybe we don't still know well about CPUs d    202  * Maybe we don't still know well about CPUs domain.
243  */                                               203  */
244 &reg_fldo2 {                                      204 &reg_fldo2 {
245         regulator-always-on;                      205         regulator-always-on;
246         regulator-min-microvolt = <1100000>;      206         regulator-min-microvolt = <1100000>;
247         regulator-max-microvolt = <1100000>;      207         regulator-max-microvolt = <1100000>;
248         regulator-name = "vdd-cpus";              208         regulator-name = "vdd-cpus";
249 };                                                209 };
250                                                   210 
251 &reg_rtc_ldo {                                    211 &reg_rtc_ldo {
252         regulator-name = "vcc-rtc";               212         regulator-name = "vcc-rtc";
253 };                                                213 };
254                                                   214 
255 &simplefb_hdmi {                               << 
256         vcc-hdmi-supply = <&reg_dldo1>;        << 
257 };                                             << 
258                                                << 
259 &sound {                                       << 
260         simple-audio-card,aux-devs = <&codec_a << 
261         simple-audio-card,widgets = "Microphon << 
262                                     "Headphone << 
263         simple-audio-card,routing =            << 
264                         "Left DAC", "DACL",    << 
265                         "Right DAC", "DACR",   << 
266                         "Headphone Jack", "HP" << 
267                         "ADCL", "Left ADC",    << 
268                         "ADCR", "Right ADC",   << 
269                         "MIC2", "Microphone Ja << 
270         status = "okay";                       << 
271 };                                             << 
272                                                << 
273 /* On Euler connector */                       << 
274 &spdif {                                       << 
275         status = "disabled";                   << 
276 };                                             << 
277                                                << 
278 /* On Exp and Euler connectors */                 215 /* On Exp and Euler connectors */
279 &uart0 {                                          216 &uart0 {
280         pinctrl-names = "default";                217         pinctrl-names = "default";
281         pinctrl-0 = <&uart0_pb_pins>;          !! 218         pinctrl-0 = <&uart0_pins_a>;
282         status = "okay";                          219         status = "okay";
283 };                                                220 };
284                                                   221 
285 /* On Wifi/BT connector, with RTS/CTS */          222 /* On Wifi/BT connector, with RTS/CTS */
286 &uart1 {                                          223 &uart1 {
287         pinctrl-names = "default";                224         pinctrl-names = "default";
288         pinctrl-0 = <&uart1_pins>, <&uart1_rts    225         pinctrl-0 = <&uart1_pins>, <&uart1_rts_cts_pins>;
289         status = "disabled";                      226         status = "disabled";
290 };                                                227 };
291                                                   228 
292 /* On Pi-2 connector */                           229 /* On Pi-2 connector */
293 &uart2 {                                          230 &uart2 {
294         pinctrl-names = "default";                231         pinctrl-names = "default";
295         pinctrl-0 = <&uart2_pins>;                232         pinctrl-0 = <&uart2_pins>;
296         status = "disabled";                      233         status = "disabled";
297 };                                                234 };
298                                                   235 
299 /* On Euler connector */                          236 /* On Euler connector */
300 &uart3 {                                          237 &uart3 {
301         pinctrl-names = "default";                238         pinctrl-names = "default";
302         pinctrl-0 = <&uart3_pins>;                239         pinctrl-0 = <&uart3_pins>;
303         status = "disabled";                      240         status = "disabled";
304 };                                                241 };
305                                                   242 
306 /* On Euler connector, RTS/CTS optional */        243 /* On Euler connector, RTS/CTS optional */
307 &uart4 {                                          244 &uart4 {
308         pinctrl-names = "default";                245         pinctrl-names = "default";
309         pinctrl-0 = <&uart4_pins>;                246         pinctrl-0 = <&uart4_pins>;
310         status = "disabled";                      247         status = "disabled";
311 };                                                248 };
312                                                   249 
313 &usb_otg {                                        250 &usb_otg {
314         dr_mode = "host";                         251         dr_mode = "host";
315         status = "okay";                          252         status = "okay";
316 };                                                253 };
317                                                   254 
318 &usbphy {                                         255 &usbphy {
319         status = "okay";                          256         status = "okay";
320 };                                                257 };
                                                      

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