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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm64/allwinner/sun50i-h6-tanix.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 ] ~

  1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  2 // Copyright (c) 2019 Jernej Skrabec <jernej.skrabec@siol.net>
  3 
  4 /dts-v1/;
  5 
  6 #include "sun50i-h6.dtsi"
  7 #include "sun50i-h6-cpu-opp.dtsi"
  8 
  9 #include <dt-bindings/gpio/gpio.h>
 10 
 11 / {
 12         aliases {
 13                 serial0 = &uart0;
 14         };
 15 
 16         chosen {
 17                 stdout-path = "serial0:115200n8";
 18         };
 19 
 20         connector {
 21                 compatible = "hdmi-connector";
 22                 ddc-en-gpios = <&pio 7 2 GPIO_ACTIVE_HIGH>; /* PH2 */
 23                 type = "a";
 24 
 25                 port {
 26                         hdmi_con_in: endpoint {
 27                                 remote-endpoint = <&hdmi_out_con>;
 28                         };
 29                 };
 30         };
 31 
 32         /* used for FD650 LED display driver */
 33         i2c {
 34                 compatible = "i2c-gpio";
 35                 sda-gpios = <&pio 7 6 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>; /* PH6 */
 36                 scl-gpios = <&pio 7 5 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>; /* PH5 */
 37                 i2c-gpio,delay-us = <5>;
 38         };
 39 
 40         reg_vcc1v8: regulator-vcc1v8 {
 41                 compatible = "regulator-fixed";
 42                 regulator-name = "vcc1v8";
 43                 regulator-min-microvolt = <1800000>;
 44                 regulator-max-microvolt = <1800000>;
 45         };
 46 
 47         reg_vcc3v3: regulator-vcc3v3 {
 48                 compatible = "regulator-fixed";
 49                 regulator-name = "vcc3v3";
 50                 regulator-min-microvolt = <3300000>;
 51                 regulator-max-microvolt = <3300000>;
 52         };
 53 
 54         reg_vdd_cpu_gpu: regulator-vdd-cpu-gpu {
 55                 compatible = "regulator-fixed";
 56                 regulator-name = "vdd-cpu-gpu";
 57                 regulator-min-microvolt = <1135000>;
 58                 regulator-max-microvolt = <1135000>;
 59         };
 60 
 61         sound-spdif {
 62                 compatible = "simple-audio-card";
 63                 simple-audio-card,name = "sun50i-h6-spdif";
 64 
 65                 simple-audio-card,cpu {
 66                         sound-dai = <&spdif>;
 67                 };
 68 
 69                 simple-audio-card,codec {
 70                         sound-dai = <&spdif_out>;
 71                 };
 72         };
 73 
 74         spdif_out: spdif-out {
 75                 #sound-dai-cells = <0>;
 76                 compatible = "linux,spdif-dit";
 77         };
 78 
 79         wifi_pwrseq: wifi-pwrseq {
 80                 compatible = "mmc-pwrseq-simple";
 81                 clocks = <&rtc CLK_OSC32K_FANOUT>;
 82                 clock-names = "ext_clock";
 83                 reset-gpios = <&r_pio 1 3 GPIO_ACTIVE_LOW>; /* PM3 */
 84         };
 85 };
 86 
 87 &cpu0 {
 88         cpu-supply = <&reg_vdd_cpu_gpu>;
 89 };
 90 
 91 &de {
 92         status = "okay";
 93 };
 94 
 95 &dwc3 {
 96         status = "okay";
 97 };
 98 
 99 &ehci0 {
100         status = "okay";
101 };
102 
103 &ehci3 {
104         status = "okay";
105 };
106 
107 &gpu {
108         mali-supply = <&reg_vdd_cpu_gpu>;
109         status = "okay";
110 };
111 
112 &hdmi {
113         status = "okay";
114 };
115 
116 &hdmi_out {
117         hdmi_out_con: endpoint {
118                 remote-endpoint = <&hdmi_con_in>;
119         };
120 };
121 
122 &mmc0 {
123         pinctrl-names = "default";
124         pinctrl-0 = <&mmc0_pins>;
125         vmmc-supply = <&reg_vcc3v3>;
126         cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>;
127         bus-width = <4>;
128         status = "okay";
129 };
130 
131 &mmc1 {
132         vmmc-supply = <&reg_vcc3v3>;
133         vqmmc-supply = <&reg_vcc1v8>;
134         mmc-pwrseq = <&wifi_pwrseq>;
135         bus-width = <4>;
136         non-removable;
137         status = "okay";
138 };
139 
140 &mmc2 {
141         vmmc-supply = <&reg_vcc3v3>;
142         vqmmc-supply = <&reg_vcc1v8>;
143         bus-width = <8>;
144         non-removable;
145         cap-mmc-hw-reset;
146         mmc-hs200-1_8v;
147         status = "okay";
148 };
149 
150 &ohci0 {
151         status = "okay";
152 };
153 
154 &ohci3 {
155         status = "okay";
156 };
157 
158 &pio {
159         vcc-pc-supply = <&reg_vcc1v8>;
160         vcc-pd-supply = <&reg_vcc3v3>;
161         vcc-pg-supply = <&reg_vcc1v8>;
162 };
163 
164 &r_ir {
165         status = "okay";
166 };
167 
168 &spdif {
169         pinctrl-names = "default";
170         pinctrl-0 = <&spdif_tx_pin>;
171         status = "okay";
172 };
173 
174 &uart0 {
175         pinctrl-names = "default";
176         pinctrl-0 = <&uart0_ph_pins>;
177         status = "okay";
178 };
179 
180 &usb2otg {
181         dr_mode = "host";
182         status = "okay";
183 };
184 
185 &usb2phy {
186         status = "okay";
187 };
188 
189 &usb3phy {
190         status = "okay";
191 };

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