Lines Matching +full:jz4770 +full:- +full:tcu

1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
4 #include "jz4770.dtsi"
5 #include <dt-bindings/clock/ingenic,tcu.h>
7 #include <dt-bindings/gpio/gpio.h>
8 #include <dt-bindings/iio/adc/ingenic,adc.h>
9 #include <dt-bindings/input/input.h>
12 compatible = "gcw,zero", "ingenic,jz4770";
29 stdout-path = "serial2:57600n8";
33 compatible = "regulator-fixed";
34 regulator-name = "vcc";
36 regulator-min-microvolt = <3300000>;
37 regulator-max-microvolt = <3300000>;
38 regulator-always-on;
42 compatible = "regulator-fixed";
43 regulator-name = "mmc1_vcc";
46 regulator-min-microvolt = <3300000>;
47 regulator-max-microvolt = <3300000>;
48 vin-supply = <&vcc>;
51 headphones_amp: analog-amplifier@0 {
52 compatible = "simple-audio-amplifier";
53 enable-gpios = <&gpf 3 GPIO_ACTIVE_LOW>;
54 enable-delay-ms = <50>;
56 VCC-supply = <&ldo5>;
57 sound-name-prefix = "Headphones Amp";
60 speaker_amp: analog-amplifier@1 {
61 compatible = "simple-audio-amplifier";
62 enable-gpios = <&gpf 20 GPIO_ACTIVE_HIGH>;
64 VCC-supply = <&ldo5>;
65 sound-name-prefix = "Speaker Amp";
69 compatible = "simple-audio-card";
71 simple-audio-card,name = "gcw0-audio";
72 simple-audio-card,format = "i2s";
74 simple-audio-card,widgets =
77 "Microphone", "Built-in Mic";
78 simple-audio-card,routing =
87 "LLINEIN", "Cap-less",
88 "RLINEIN", "Cap-less",
89 "Built-in Mic", "MICBIAS",
90 "MIC1P", "Built-in Mic",
91 "MIC1N", "Built-in Mic";
92 simple-audio-card,pin-switches = "Speaker", "Headphones";
94 simple-audio-card,hp-det-gpio = <&gpf 21 GPIO_ACTIVE_LOW>;
95 simple-audio-card,aux-devs = <&speaker_amp>, <&headphones_amp>;
97 simple-audio-card,bitclock-master = <&dai_codec>;
98 simple-audio-card,frame-master = <&dai_codec>;
100 dai_cpu: simple-audio-card,cpu {
101 sound-dai = <&aic>;
104 dai_codec: simple-audio-card,codec {
105 sound-dai = <&codec>;
110 compatible = "pwm-vibrator";
112 pwm-names = "enable";
114 pinctrl-names = "default";
115 pinctrl-0 = <&pins_pwm4>;
119 compatible = "pwm-backlight";
121 power-supply = <&vcc>;
123 brightness-levels = <0 16 32 48 64 80 96 112 128
125 default-brightness-level = <12>;
127 pinctrl-names = "default";
128 pinctrl-0 = <&pins_pwm1>;
131 gpio-keys {
132 compatible = "gpio-keys";
135 button-0 {
136 label = "D-pad up";
138 linux,can-disable;
142 button-1 {
143 label = "D-pad down";
145 linux,can-disable;
149 button-2 {
150 label = "D-pad left";
152 linux,can-disable;
156 button-3 {
157 label = "D-pad right";
159 linux,can-disable;
163 button-4 {
166 linux,can-disable;
170 button-5 {
173 linux,can-disable;
177 button-6 {
180 linux,can-disable;
184 button-7 {
187 linux,can-disable;
191 button-8 {
194 linux,can-disable;
198 button-9 {
201 linux,can-disable;
205 button-10 {
208 linux,can-disable;
212 button-11 {
215 linux,can-disable;
223 button-12 {
226 linux,can-disable;
228 wakeup-source;
231 button-13 {
234 linux,can-disable;
239 i2c3: i2c-controller@3 {
240 compatible = "i2c-gpio";
241 #address-cells = <1>;
242 #size-cells = <0>;
244 sda-gpios = <&gpd 5 GPIO_ACTIVE_HIGH>;
245 scl-gpios = <&gpd 4 GPIO_ACTIVE_HIGH>;
246 i2c-gpio,delay-us = <2>; /* 250 kHz */
249 compatible = "active-semi,act8600";
261 regulator-min-microvolt = <5300000>;
262 regulator-max-microvolt = <5300000>;
263 inl-supply = <&vcc>;
271 regulator-min-microvolt = <2500000>;
272 regulator-max-microvolt = <2500000>;
273 inl-supply = <&vcc>;
278 regulator-min-microvolt = <3300000>;
279 regulator-max-microvolt = <3300000>;
280 inl-supply = <&vcc>;
285 regulator-min-microvolt = <3300000>;
286 regulator-max-microvolt = <3300000>;
287 /*regulator-always-on;*/
288 inl-supply = <&vcc>;
297 regulator-min-microvolt = <1800000>;
298 regulator-max-microvolt = <1800000>;
299 regulator-always-on;
300 inl-supply = <&vcc>;
305 regulator-min-microvolt = <3300000>;
306 regulator-max-microvolt = <3300000>;
307 regulator-always-on;
308 inl-supply = <&vcc>;
313 inl-supply = <&vcc>;
320 compatible = "gpio-leds";
324 default-state = "on";
329 compatible = "spi-gpio";
330 #address-cells = <1>;
331 #size-cells = <0>;
333 sck-gpios = <&gpe 15 GPIO_ACTIVE_HIGH>;
334 mosi-gpios = <&gpe 17 GPIO_ACTIVE_HIGH>;
335 cs-gpios = <&gpe 16 GPIO_ACTIVE_HIGH>;
336 num-chipselects = <1>;
339 compatible = "kingdisplay,kd035g6-54nt";
342 spi-max-frequency = <3125000>;
343 spi-3wire;
345 reset-gpios = <&gpe 2 GPIO_ACTIVE_LOW>;
348 power-supply = <&ldo6>;
352 remote-endpoint = <&panel_output>;
359 compatible = "gpio-usb-b-connector", "usb-b-connector";
360 label = "mini-USB";
369 //id-gpios = <&gpf 18 GPIO_ACTIVE_LOW>;
371 vbus-gpios = <&gpb 5 GPIO_ACTIVE_HIGH>;
372 vbus-supply = <&otg_vbus>;
374 pinctrl-names = "default";
375 pinctrl-0 = <&pins_otg>;
379 remote-endpoint = <&usb_otg_ep>;
386 clock-frequency = <12000000>;
392 groups = "lcd-24bit";
397 groups = "uart2-data";
402 groups = "mmc0-1bit-a", "mmc0-4bit-a";
407 groups = "mmc1-1bit-d", "mmc1-4bit-d";
411 otg-vbus-pin {
413 groups = "otg-vbus";
416 vbus-pin {
418 bias-disable;
434 pinctrl-names = "default";
435 pinctrl-0 = <&pins_uart2>;
442 * Put high-speed peripherals under PLL1, such that we can change the
450 assigned-clocks =
458 assigned-clock-parents =
466 assigned-clock-rates =
476 &tcu {
481 assigned-clocks = <&tcu TCU_CLK_TIMER0>, <&tcu TCU_CLK_TIMER2>,
482 <&tcu TCU_CLK_OST>, <&tcu TCU_CLK_WDT>;
483 assigned-clock-parents = <0>, <0>, <0>, <&cgu JZ4770_CLK_RTC>;
484 assigned-clock-rates = <750000>, <750000>, <12000000>;
487 ingenic,pwm-channels-mask = <0xfa>;
493 remote-endpoint = <&usb_ep>;
499 vcc-supply = <&ldo5>;
504 clock-names = "rtc";
506 system-power-controller;
512 bus-width = <4>;
513 max-frequency = <48000000>;
514 vmmc-supply = <&vcc>;
515 non-removable;
517 pinctrl-names = "default";
518 pinctrl-0 = <&pins_mmc0>;
524 bus-width = <4>;
525 max-frequency = <48000000>;
526 cd-gpios = <&gpb 2 GPIO_ACTIVE_LOW>;
527 vmmc-supply = <&mmc1_power>;
529 pinctrl-names = "default";
530 pinctrl-0 = <&pins_mmc1>;
534 pinctrl-names = "default";
535 pinctrl-0 = <&pins_lcd>;
539 remote-endpoint = <&panel_input>;