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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm64/amlogic/meson-sm1-ac2xx.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/amlogic/meson-sm1-ac2xx.dtsi (Architecture i386) and /scripts/dtc/include-prefixes/arm64/amlogic/meson-sm1-ac2xx.dtsi (Architecture sparc)


  1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)       1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  2 /*                                                  2 /*
  3  * Copyright (c) 2019 BayLibre SAS. All rights      3  * Copyright (c) 2019 BayLibre SAS. All rights reserved.
  4  * Copyright (c) 2020 Christian Hewitt <christi      4  * Copyright (c) 2020 Christian Hewitt <christianshewitt@gmail.com>
  5  *                                                  5  *
  6  * AC200/AC202 = S905D3                             6  * AC200/AC202 = S905D3
  7  * AC213/AC214 = S905X3                             7  * AC213/AC214 = S905X3
  8  *                                                  8  *
  9  */                                                 9  */
 10                                                    10 
 11 #include "meson-sm1.dtsi"                          11 #include "meson-sm1.dtsi"
 12 #include <dt-bindings/gpio/gpio.h>                 12 #include <dt-bindings/gpio/gpio.h>
 13 #include <dt-bindings/gpio/meson-g12a-gpio.h>      13 #include <dt-bindings/gpio/meson-g12a-gpio.h>
 14 #include <dt-bindings/input/input.h>               14 #include <dt-bindings/input/input.h>
 15                                                    15 
 16 / {                                                16 / {
 17         aliases {                                  17         aliases {
 18                 serial0 = &uart_AO;                18                 serial0 = &uart_AO;
 19                 ethernet0 = &ethmac;               19                 ethernet0 = &ethmac;
 20         };                                         20         };
 21                                                    21 
 22         chosen {                                   22         chosen {
 23                 stdout-path = "serial0:115200n     23                 stdout-path = "serial0:115200n8";
 24         };                                         24         };
 25                                                    25 
 26         emmc_pwrseq: emmc-pwrseq {                 26         emmc_pwrseq: emmc-pwrseq {
 27                 compatible = "mmc-pwrseq-emmc"     27                 compatible = "mmc-pwrseq-emmc";
 28                 reset-gpios = <&gpio BOOT_12 G     28                 reset-gpios = <&gpio BOOT_12 GPIO_ACTIVE_LOW>;
 29         };                                         29         };
 30                                                    30 
 31         cvbs-connector {                           31         cvbs-connector {
 32                 compatible = "composite-video-     32                 compatible = "composite-video-connector";
 33                                                    33 
 34                 port {                             34                 port {
 35                         cvbs_connector_in: end     35                         cvbs_connector_in: endpoint {
 36                                 remote-endpoin     36                                 remote-endpoint = <&cvbs_vdac_out>;
 37                         };                         37                         };
 38                 };                                 38                 };
 39         };                                         39         };
 40                                                    40 
 41         hdmi-connector {                           41         hdmi-connector {
 42                 compatible = "hdmi-connector";     42                 compatible = "hdmi-connector";
 43                 type = "a";                        43                 type = "a";
 44                                                    44 
 45                 port {                             45                 port {
 46                         hdmi_connector_in: end     46                         hdmi_connector_in: endpoint {
 47                                 remote-endpoin     47                                 remote-endpoint = <&hdmi_tx_tmds_out>;
 48                         };                         48                         };
 49                 };                                 49                 };
 50         };                                         50         };
 51                                                    51 
 52         memory@0 {                                 52         memory@0 {
 53                 device_type = "memory";            53                 device_type = "memory";
 54                 reg = <0x0 0x0 0x0 0x40000000>     54                 reg = <0x0 0x0 0x0 0x40000000>;
 55         };                                         55         };
 56                                                    56 
 57         ao_5v: regulator-ao-5v {                   57         ao_5v: regulator-ao-5v {
 58                 compatible = "regulator-fixed"     58                 compatible = "regulator-fixed";
 59                 regulator-name = "AO_5V";          59                 regulator-name = "AO_5V";
 60                 regulator-min-microvolt = <500     60                 regulator-min-microvolt = <5000000>;
 61                 regulator-max-microvolt = <500     61                 regulator-max-microvolt = <5000000>;
 62                 vin-supply = <&dc_in>;             62                 vin-supply = <&dc_in>;
 63                 regulator-always-on;               63                 regulator-always-on;
 64         };                                         64         };
 65                                                    65 
 66         dc_in: regulator-dc-in {                   66         dc_in: regulator-dc-in {
 67                 compatible = "regulator-fixed"     67                 compatible = "regulator-fixed";
 68                 regulator-name = "DC_IN";          68                 regulator-name = "DC_IN";
 69                 regulator-min-microvolt = <500     69                 regulator-min-microvolt = <5000000>;
 70                 regulator-max-microvolt = <500     70                 regulator-max-microvolt = <5000000>;
 71                 regulator-always-on;               71                 regulator-always-on;
 72         };                                         72         };
 73                                                    73 
 74         emmc_1v8: regulator-emmc-1v8 {             74         emmc_1v8: regulator-emmc-1v8 {
 75                 compatible = "regulator-fixed"     75                 compatible = "regulator-fixed";
 76                 regulator-name = "EMMC_1V8";       76                 regulator-name = "EMMC_1V8";
 77                 regulator-min-microvolt = <180     77                 regulator-min-microvolt = <1800000>;
 78                 regulator-max-microvolt = <180     78                 regulator-max-microvolt = <1800000>;
 79                 vin-supply = <&vddao_3v3>;         79                 vin-supply = <&vddao_3v3>;
 80                 regulator-always-on;               80                 regulator-always-on;
 81         };                                         81         };
 82                                                    82 
 83         vddao_3v3: regulator-vddao-3v3 {           83         vddao_3v3: regulator-vddao-3v3 {
 84                 compatible = "regulator-fixed"     84                 compatible = "regulator-fixed";
 85                 regulator-name = "VDDAO_3V3";      85                 regulator-name = "VDDAO_3V3";
 86                 regulator-min-microvolt = <330     86                 regulator-min-microvolt = <3300000>;
 87                 regulator-max-microvolt = <330     87                 regulator-max-microvolt = <3300000>;
 88                 vin-supply = <&dc_in>;             88                 vin-supply = <&dc_in>;
 89                 regulator-always-on;               89                 regulator-always-on;
 90         };                                         90         };
 91                                                    91 
 92         vddcpu: regulator-vddcpu {                 92         vddcpu: regulator-vddcpu {
 93                 compatible = "pwm-regulator";      93                 compatible = "pwm-regulator";
 94                                                    94 
 95                 regulator-name = "VDDCPU";         95                 regulator-name = "VDDCPU";
 96                 regulator-min-microvolt = <690     96                 regulator-min-microvolt = <690000>;
 97                 regulator-max-microvolt = <105     97                 regulator-max-microvolt = <1050000>;
 98                                                    98 
 99                 vin-supply = <&dc_in>;             99                 vin-supply = <&dc_in>;
100                                                   100 
101                 pwms = <&pwm_AO_cd 1 1500 0>;     101                 pwms = <&pwm_AO_cd 1 1500 0>;
102                 pwm-dutycycle-range = <100 0>;    102                 pwm-dutycycle-range = <100 0>;
103                                                   103 
104                 regulator-boot-on;                104                 regulator-boot-on;
105                 regulator-always-on;              105                 regulator-always-on;
106         };                                        106         };
107                                                   107 
108         vddio_ao1v8: regulator-vddio-ao1v8 {      108         vddio_ao1v8: regulator-vddio-ao1v8 {
109                 compatible = "regulator-fixed"    109                 compatible = "regulator-fixed";
110                 regulator-name = "VDDIO_AO1V8"    110                 regulator-name = "VDDIO_AO1V8";
111                 regulator-min-microvolt = <180    111                 regulator-min-microvolt = <1800000>;
112                 regulator-max-microvolt = <180    112                 regulator-max-microvolt = <1800000>;
113                 vin-supply = <&vddao_3v3>;        113                 vin-supply = <&vddao_3v3>;
114                 regulator-always-on;              114                 regulator-always-on;
115         };                                        115         };
116                                                   116 
117         sdio_pwrseq: sdio-pwrseq {                117         sdio_pwrseq: sdio-pwrseq {
118                 compatible = "mmc-pwrseq-simpl    118                 compatible = "mmc-pwrseq-simple";
119                 reset-gpios = <&gpio GPIOX_6 G    119                 reset-gpios = <&gpio GPIOX_6 GPIO_ACTIVE_LOW>;
120                 clocks = <&wifi32k>;              120                 clocks = <&wifi32k>;
121                 clock-names = "ext_clock";        121                 clock-names = "ext_clock";
122         };                                        122         };
123                                                   123 
124         wifi32k: wifi32k {                        124         wifi32k: wifi32k {
125                 compatible = "pwm-clock";         125                 compatible = "pwm-clock";
126                 #clock-cells = <0>;               126                 #clock-cells = <0>;
127                 clock-frequency = <32768>;        127                 clock-frequency = <32768>;
128                 pwms = <&pwm_ef 0 30518 0>; /*    128                 pwms = <&pwm_ef 0 30518 0>; /* PWM_E at 32.768KHz */
129         };                                        129         };
130 };                                                130 };
131                                                   131 
132 &cec_AO {                                         132 &cec_AO {
133         pinctrl-0 = <&cec_ao_a_h_pins>;           133         pinctrl-0 = <&cec_ao_a_h_pins>;
134         pinctrl-names = "default";                134         pinctrl-names = "default";
135         status = "disabled";                      135         status = "disabled";
136         hdmi-phandle = <&hdmi_tx>;                136         hdmi-phandle = <&hdmi_tx>;
137 };                                                137 };
138                                                   138 
139 &cecb_AO {                                        139 &cecb_AO {
140         pinctrl-0 = <&cec_ao_b_h_pins>;           140         pinctrl-0 = <&cec_ao_b_h_pins>;
141         pinctrl-names = "default";                141         pinctrl-names = "default";
142         status = "okay";                          142         status = "okay";
143         hdmi-phandle = <&hdmi_tx>;                143         hdmi-phandle = <&hdmi_tx>;
144 };                                                144 };
145                                                   145 
146 &cpu0 {                                           146 &cpu0 {
147         cpu-supply = <&vddcpu>;                   147         cpu-supply = <&vddcpu>;
148         operating-points-v2 = <&cpu_opp_table>    148         operating-points-v2 = <&cpu_opp_table>;
149         clocks = <&clkc CLKID_CPU_CLK>;           149         clocks = <&clkc CLKID_CPU_CLK>;
150         clock-latency = <50000>;                  150         clock-latency = <50000>;
151 };                                                151 };
152                                                   152 
153 &cpu1 {                                           153 &cpu1 {
154         cpu-supply = <&vddcpu>;                   154         cpu-supply = <&vddcpu>;
155         operating-points-v2 = <&cpu_opp_table>    155         operating-points-v2 = <&cpu_opp_table>;
156         clocks = <&clkc CLKID_CPU1_CLK>;          156         clocks = <&clkc CLKID_CPU1_CLK>;
157         clock-latency = <50000>;                  157         clock-latency = <50000>;
158 };                                                158 };
159                                                   159 
160 &cpu2 {                                           160 &cpu2 {
161         cpu-supply = <&vddcpu>;                   161         cpu-supply = <&vddcpu>;
162         operating-points-v2 = <&cpu_opp_table>    162         operating-points-v2 = <&cpu_opp_table>;
163         clocks = <&clkc CLKID_CPU2_CLK>;          163         clocks = <&clkc CLKID_CPU2_CLK>;
164         clock-latency = <50000>;                  164         clock-latency = <50000>;
165 };                                                165 };
166                                                   166 
167 &cpu3 {                                           167 &cpu3 {
168         cpu-supply = <&vddcpu>;                   168         cpu-supply = <&vddcpu>;
169         operating-points-v2 = <&cpu_opp_table>    169         operating-points-v2 = <&cpu_opp_table>;
170         clocks = <&clkc CLKID_CPU3_CLK>;          170         clocks = <&clkc CLKID_CPU3_CLK>;
171         clock-latency = <50000>;                  171         clock-latency = <50000>;
172 };                                                172 };
173                                                   173 
174 &cvbs_vdac_port {                                 174 &cvbs_vdac_port {
175         cvbs_vdac_out: endpoint {                 175         cvbs_vdac_out: endpoint {
176                 remote-endpoint = <&cvbs_conne    176                 remote-endpoint = <&cvbs_connector_in>;
177         };                                        177         };
178 };                                                178 };
179                                                   179 
180 &hdmi_tx {                                        180 &hdmi_tx {
181         status = "okay";                          181         status = "okay";
182         pinctrl-0 = <&hdmitx_hpd_pins>, <&hdmi    182         pinctrl-0 = <&hdmitx_hpd_pins>, <&hdmitx_ddc_pins>;
183         pinctrl-names = "default";                183         pinctrl-names = "default";
184 };                                                184 };
185                                                   185 
186 &hdmi_tx_tmds_port {                              186 &hdmi_tx_tmds_port {
187         hdmi_tx_tmds_out: endpoint {              187         hdmi_tx_tmds_out: endpoint {
188                 remote-endpoint = <&hdmi_conne    188                 remote-endpoint = <&hdmi_connector_in>;
189         };                                        189         };
190 };                                                190 };
191                                                   191 
192 &ir {                                             192 &ir {
193         status = "okay";                          193         status = "okay";
194         pinctrl-0 = <&remote_input_ao_pins>;      194         pinctrl-0 = <&remote_input_ao_pins>;
195         pinctrl-names = "default";                195         pinctrl-names = "default";
196 };                                                196 };
197                                                   197 
198 &pwm_AO_ab {                                      198 &pwm_AO_ab {
199         status = "okay";                          199         status = "okay";
200         pinctrl-0 = <&pwm_ao_a_pins>;             200         pinctrl-0 = <&pwm_ao_a_pins>;
201         pinctrl-names = "default";                201         pinctrl-names = "default";
202         clocks = <&xtal>;                         202         clocks = <&xtal>;
203         clock-names = "clkin0";                   203         clock-names = "clkin0";
204 };                                                204 };
205                                                   205 
206 &pwm_AO_cd {                                      206 &pwm_AO_cd {
207         pinctrl-0 = <&pwm_ao_d_e_pins>;           207         pinctrl-0 = <&pwm_ao_d_e_pins>;
208         pinctrl-names = "default";                208         pinctrl-names = "default";
209         clocks = <&xtal>;                         209         clocks = <&xtal>;
210         clock-names = "clkin1";                   210         clock-names = "clkin1";
211         status = "okay";                          211         status = "okay";
212 };                                                212 };
213                                                   213 
214 &pwm_ef {                                         214 &pwm_ef {
215         status = "okay";                          215         status = "okay";
216         pinctrl-0 = <&pwm_e_pins>;                216         pinctrl-0 = <&pwm_e_pins>;
217         pinctrl-names = "default";                217         pinctrl-names = "default";
218         clocks = <&xtal>;                         218         clocks = <&xtal>;
219         clock-names = "clkin0";                   219         clock-names = "clkin0";
220 };                                                220 };
221                                                   221 
222 &saradc {                                         222 &saradc {
223         status = "okay";                          223         status = "okay";
224         vref-supply = <&vddio_ao1v8>;             224         vref-supply = <&vddio_ao1v8>;
225 };                                                225 };
226                                                   226 
227 /* SDIO */                                        227 /* SDIO */
228 &sd_emmc_a {                                      228 &sd_emmc_a {
229         status = "okay";                          229         status = "okay";
230         pinctrl-0 = <&sdio_pins>;                 230         pinctrl-0 = <&sdio_pins>;
231         pinctrl-1 = <&sdio_clk_gate_pins>;        231         pinctrl-1 = <&sdio_clk_gate_pins>;
232         pinctrl-names = "default", "clk-gate";    232         pinctrl-names = "default", "clk-gate";
233         #address-cells = <1>;                     233         #address-cells = <1>;
234         #size-cells = <0>;                        234         #size-cells = <0>;
235                                                   235 
236         bus-width = <4>;                          236         bus-width = <4>;
237         cap-sd-highspeed;                         237         cap-sd-highspeed;
238         sd-uhs-sdr104;                            238         sd-uhs-sdr104;
239         max-frequency = <200000000>;              239         max-frequency = <200000000>;
240                                                   240 
241         non-removable;                            241         non-removable;
242         disable-wp;                               242         disable-wp;
243                                                   243 
244         /* WiFi firmware requires power to be     244         /* WiFi firmware requires power to be kept while in suspend */
245         keep-power-in-suspend;                    245         keep-power-in-suspend;
246                                                   246 
247         mmc-pwrseq = <&sdio_pwrseq>;              247         mmc-pwrseq = <&sdio_pwrseq>;
248                                                   248 
249         vmmc-supply = <&vddao_3v3>;               249         vmmc-supply = <&vddao_3v3>;
250         vqmmc-supply = <&vddio_ao1v8>;            250         vqmmc-supply = <&vddio_ao1v8>;
251 };                                                251 };
252                                                   252 
253 /* SD Card */                                     253 /* SD Card */
254 &sd_emmc_b {                                      254 &sd_emmc_b {
255         status = "okay";                          255         status = "okay";
256         pinctrl-0 = <&sdcard_c_pins>;             256         pinctrl-0 = <&sdcard_c_pins>;
257         pinctrl-1 = <&sdcard_clk_gate_c_pins>;    257         pinctrl-1 = <&sdcard_clk_gate_c_pins>;
258         pinctrl-names = "default", "clk-gate";    258         pinctrl-names = "default", "clk-gate";
259                                                   259 
260         bus-width = <4>;                          260         bus-width = <4>;
261         cap-sd-highspeed;                         261         cap-sd-highspeed;
262         /* CRC errors are observed at 50MHz */    262         /* CRC errors are observed at 50MHz */
263         max-frequency = <35000000>;               263         max-frequency = <35000000>;
264         disable-wp;                               264         disable-wp;
265                                                   265 
266         cd-gpios = <&gpio GPIOC_6 GPIO_ACTIVE_    266         cd-gpios = <&gpio GPIOC_6 GPIO_ACTIVE_LOW>;
267         vmmc-supply = <&vddao_3v3>;               267         vmmc-supply = <&vddao_3v3>;
268         vqmmc-supply = <&vddao_3v3>;              268         vqmmc-supply = <&vddao_3v3>;
269 };                                                269 };
270                                                   270 
271 /* eMMC */                                        271 /* eMMC */
272 &sd_emmc_c {                                      272 &sd_emmc_c {
273         status = "okay";                          273         status = "okay";
274         pinctrl-0 = <&emmc_ctrl_pins>, <&emmc_    274         pinctrl-0 = <&emmc_ctrl_pins>, <&emmc_data_8b_pins>, <&emmc_ds_pins>;
275         pinctrl-1 = <&emmc_clk_gate_pins>;        275         pinctrl-1 = <&emmc_clk_gate_pins>;
276         pinctrl-names = "default", "clk-gate";    276         pinctrl-names = "default", "clk-gate";
277                                                   277 
278         bus-width = <8>;                          278         bus-width = <8>;
279         cap-mmc-highspeed;                        279         cap-mmc-highspeed;
280         mmc-ddr-1_8v;                             280         mmc-ddr-1_8v;
281         mmc-hs200-1_8v;                           281         mmc-hs200-1_8v;
282         max-frequency = <200000000>;              282         max-frequency = <200000000>;
283         non-removable;                            283         non-removable;
284         disable-wp;                               284         disable-wp;
285                                                   285 
286         mmc-pwrseq = <&emmc_pwrseq>;              286         mmc-pwrseq = <&emmc_pwrseq>;
287         vmmc-supply = <&vddao_3v3>;               287         vmmc-supply = <&vddao_3v3>;
288         vqmmc-supply = <&emmc_1v8>;               288         vqmmc-supply = <&emmc_1v8>;
289 };                                                289 };
290                                                   290 
291 &uart_AO {                                        291 &uart_AO {
292         status = "okay";                          292         status = "okay";
293         pinctrl-0 = <&uart_ao_a_pins>;            293         pinctrl-0 = <&uart_ao_a_pins>;
294         pinctrl-names = "default";                294         pinctrl-names = "default";
295 };                                                295 };
296                                                   296 
297 &usb {                                            297 &usb {
298         status = "okay";                          298         status = "okay";
299         dr_mode = "otg";                          299         dr_mode = "otg";
300 };                                                300 };
                                                      

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