1 // SPDX-License-Identifier: GPL-2.0
3 * Device Tree Source for the Kingfisher (ULCB extension) board
5 * Copyright (C) 2017 Renesas Electronics Corp.
6 * Copyright (C) 2017 Cogent Embedded, Inc.
17 clksndsel: clksndsel {
19 compatible = "gpio-mux-clock";
20 clocks = <&cs2000>, <&audio_clk_a>; /* clk8snd, clksnd */
21 select-gpios = <&gpio_exp_75 13 GPIO_ACTIVE_HIGH>;
25 compatible = "hdmi-connector";
30 remote-endpoint = <&adv7513_out>;
35 accel_3v3: regulator-acc-3v3 {
36 compatible = "regulator-fixed";
37 regulator-name = "accel-3v3";
38 regulator-min-microvolt = <3300000>;
39 regulator-max-microvolt = <3300000>;
42 hdmi_1v8: regulator-hdmi-1v8 {
43 compatible = "regulator-fixed";
44 regulator-name = "hdmi-1v8";
45 regulator-min-microvolt = <1800000>;
46 regulator-max-microvolt = <1800000>;
49 hdmi_3v3: regulator-hdmi-3v3 {
50 compatible = "regulator-fixed";
51 regulator-name = "hdmi-3v3";
52 regulator-min-microvolt = <3300000>;
53 regulator-max-microvolt = <3300000>;
56 snd_3p3v: regulator-snd_3p3v {
57 compatible = "regulator-fixed";
58 regulator-name = "snd-3.3v";
59 regulator-min-microvolt = <3300000>;
60 regulator-max-microvolt = <3300000>;
63 snd_vcc5v: regulator-snd_vcc5v {
64 compatible = "regulator-fixed";
65 regulator-name = "snd-vcc5v";
66 regulator-min-microvolt = <5000000>;
67 regulator-max-microvolt = <5000000>;
70 wlan_en: regulator-wlan_en {
71 compatible = "regulator-fixed";
72 regulator-name = "wlan-en-regulator";
74 regulator-min-microvolt = <3300000>;
75 regulator-max-microvolt = <3300000>;
77 gpio = <&gpio_exp_74 4 GPIO_ACTIVE_HIGH>;
78 startup-delay-us = <70000>;
84 pinctrl-0 = <&can0_pins>;
85 pinctrl-names = "default";
90 pinctrl-0 = <&can1_pins>;
91 pinctrl-names = "default";
98 du_out_rgb: endpoint {
99 remote-endpoint = <&adv7513_in>;
111 pinctrl-0 = <&hscif0_pins>;
112 pinctrl-names = "default";
119 pinctrl-0 = <&hscif1_pins>;
120 pinctrl-names = "default";
132 i2cmux2: i2c-mux@71 {
133 compatible = "nxp,pca9548";
134 #address-cells = <1>;
137 reset-gpios = <&gpio5 3 GPIO_ACTIVE_LOW>;
139 /* HDMIoSDA, HDMIoSCL */
141 #address-cells = <1>;
146 compatible = "adi,adv7513";
149 pinctrl-0 = <&hdmi1_pins>;
150 pinctrl-names = "default";
152 interrupt-parent = <&gpio2>;
153 interrupts = <14 IRQ_TYPE_LEVEL_LOW>;
158 pd-gpios = <&gpio_exp_75 5 GPIO_ACTIVE_LOW>;
160 avdd-supply = <&hdmi_1v8>;
161 dvdd-supply = <&hdmi_1v8>;
162 pvdd-supply = <&hdmi_1v8>;
163 dvdd-3v-supply = <&hdmi_3v3>;
164 bgvdd-supply = <&hdmi_1v8>;
166 adi,input-depth = <8>;
167 adi,input-colorspace = "rgb";
168 adi,input-clock = "1x";
171 #address-cells = <1>;
176 adv7513_in: endpoint {
177 remote-endpoint = <&du_out_rgb>;
183 adv7513_out: endpoint {
184 remote-endpoint = <&hdmi1_con>;
191 /* Audio_SDA, Audio_SCL */
193 #address-cells = <1>;
198 compatible = "st,lsm9ds0-imu";
201 vdd-supply = <&accel_3v3>;
202 vddio-supply = <&accel_3v3>;
205 pcm3168a: audio-codec@44 {
206 #sound-dai-cells = <0>;
207 compatible = "ti,pcm3168a";
209 clocks = <&clksndsel>;
210 clock-names = "scki";
212 VDD1-supply = <&snd_3p3v>;
213 VDD2-supply = <&snd_3p3v>;
214 VCCAD1-supply = <&snd_vcc5v>;
215 VCCAD2-supply = <&snd_vcc5v>;
216 VCCDA1-supply = <&snd_vcc5v>;
217 VCCDA2-supply = <&snd_vcc5v>;
221 compatible = "st,lsm9ds0-gyro";
224 vdd-supply = <&accel_3v3>;
225 vddio-supply = <&accel_3v3>;
231 gpio_exp_74: gpio@74 {
232 compatible = "ti,tca9539";
236 interrupt-controller;
237 interrupt-parent = <&gpio6>;
238 interrupts = <8 IRQ_TYPE_EDGE_FALLING>;
242 gpios = <0 GPIO_ACTIVE_HIGH>; /* P00 */
244 line-name = "Audio_Out_OFF";
249 gpios = <6 GPIO_ACTIVE_HIGH>;
251 line-name = "HUB pwen";
256 gpios = <7 GPIO_ACTIVE_HIGH>;
258 line-name = "HUB rst";
263 gpios = <9 GPIO_ACTIVE_HIGH>;
265 line-name = "OTG EXTLPn";
270 gpios = <8 GPIO_ACTIVE_HIGH>;
272 line-name = "OTG OFFVBUSn";
277 gpios = <5 GPIO_ACTIVE_HIGH>;
278 output-low; /* Connect WL1837 */
279 line-name = "SD WiFi mux";
284 gpios = <15 GPIO_ACTIVE_HIGH>; /* P17 */
286 line-name = "SND_RST";
291 gpio_exp_75: gpio@75 {
292 compatible = "ti,tca9539";
296 interrupt-controller;
297 interrupt-parent = <&gpio6>;
298 interrupts = <4 IRQ_TYPE_EDGE_FALLING>;
303 i2cmux4: i2c-mux@71 {
304 compatible = "nxp,pca9548";
305 #address-cells = <1>;
308 reset-gpios = <&gpio3 15 GPIO_ACTIVE_LOW>;
311 gpio_exp_76: gpio@76 {
312 compatible = "ti,tca9539";
316 interrupt-controller;
317 interrupt-parent = <&gpio7>;
318 interrupts = <3 IRQ_TYPE_EDGE_FALLING>;
321 gpio_exp_77: gpio@77 {
322 compatible = "ti,tca9539";
326 interrupt-controller;
327 interrupt-parent = <&gpio5>;
328 interrupts = <9 IRQ_TYPE_EDGE_FALLING>;
338 clock-frequency = <100000000>;
351 groups = "can0_data_a";
356 groups = "can1_data";
367 groups = "du_rgb888", "du_sync", "du_clk_out_0",
373 hscif0_pins: hscif0 {
374 groups = "hscif0_data", "hscif0_ctrl";
378 hscif1_pins: hscif1 {
379 groups = "hscif1_data_a", "hscif1_ctrl_a";
384 groups = "scif1_data_b";
389 groups = "sdhi3_data4", "sdhi3_ctrl";
391 power-source = <3300>;
394 sound_pcm_pins: sound-pcm {
395 groups = "ssi349_ctrl", "ssi3_data", "ssi4_data";
406 pinctrl-0 = <&sound_pins
412 pinctrl-0 = <&scif1_pins>;
413 pinctrl-names = "default";
419 pinctrl-0 = <&sdhi3_pins>;
420 pinctrl-names = "default";
422 vmmc-supply = <&wlan_en>;
423 vqmmc-supply = <&wlan_en>;
428 keep-power-in-suspend;
429 max-frequency = <26000000>;
432 #address-cells = <1>;
435 compatible = "ti,wl1837";
437 interrupt-parent = <&gpio1>;
438 interrupts = <25 IRQ_TYPE_EDGE_FALLING>;
447 pinctrl-0 = <&usb0_pins>;
448 pinctrl-names = "default";
460 * We can switch Audio Card for testing
463 * #include "ulcb-kf-simple-audio-card.dtsi"
464 * #include "ulcb-kf-simple-audio-card-mix+split.dtsi"
465 * #include "ulcb-kf-audio-graph-card.dtsi"
466 * #include "ulcb-kf-audio-graph-card-mix+split.dtsi"
467 * #include "ulcb-kf-audio-graph-card2-mix+split.dtsi"
469 #include "ulcb-kf-audio-graph-card2.dtsi"