1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 * Device Tree Source for the RZ/G2LC SMARC EVK parts
5 * Copyright (C) 2022 Renesas Electronics Corp.
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/pinctrl/rzg2l-pinctrl.h>
11 #include "rzg2lc-smarc-pinfunction.dtsi"
12 #include "rz-smarc-common.dtsi"
21 compatible = "fixed-clock";
23 clock-frequency = <12000000>;
27 compatible = "hdmi-connector";
31 hdmi_con_out: endpoint {
32 remote-endpoint = <&adv7535_out>;
38 #if (SW_SCIF_CAN || SW_RSPI_CAN)
40 pinctrl-0 = <&can1_pins>;
41 /delete-node/ channel@0;
45 /delete-property/ pinctrl-0;
46 /delete-property/ pinctrl-names;
61 data-lanes = <1 2 3 4>;
62 remote-endpoint = <&adv7535_in>;
74 compatible = "adi,adv7535";
77 interrupt-parent = <&pinctrl>;
78 interrupts = <RZG2L_GPIO(43, 1) IRQ_TYPE_EDGE_FALLING>;
81 avdd-supply = <®_1p8v>;
82 dvdd-supply = <®_1p8v>;
83 pvdd-supply = <®_1p8v>;
84 a2vdd-supply = <®_1p8v>;
85 v3p3-supply = <®_3p3v>;
86 v1p2-supply = <®_1p8v>;
96 adv7535_in: endpoint {
97 remote-endpoint = <&dsi0_out>;
103 adv7535_out: endpoint {
104 remote-endpoint = <&hdmi_con_out>;
112 pinctrl-0 = <&i2c2_pins>;
113 pinctrl-names = "default";
114 clock-frequency = <400000>;
119 compatible = "wlf,wm8978";
120 #sound-dai-cells = <0>;
124 versa3: clock-generator@68 {
125 compatible = "renesas,5p35023";
131 80 00 11 19 4c 02 23 7f 83 19 08 a9 5f 25 24 bf
132 00 14 7a e1 00 00 00 00 01 55 59 bb 3f 30 90 b6
136 assigned-clocks = <&versa3 0>, <&versa3 1>,
137 <&versa3 2>, <&versa3 3>,
138 <&versa3 4>, <&versa3 5>;
139 assigned-clock-rates = <24000000>, <11289600>,
140 <11289600>, <12000000>,
141 <25000000>, <12288000>;
147 pinctrl-0 = <&mtu3_pins>;
148 pinctrl-names = "default";
159 * To enable SCIF1 (SER0) on PMOD1 (CN7), On connector board
160 * SW1 should be at position 2->3 so that SER0_CTS# line is activated
161 * SW2 should be at position 2->3 so that SER0_TX line is activated
162 * SW3 should be at position 2->3 so that SER0_RX line is activated
163 * SW4 should be at position 2->3 so that SER0_RTS# line is activated
165 #if (!SW_SCIF_CAN && PMOD1_SER0)
167 pinctrl-0 = <&scif1_pins>;
168 pinctrl-names = "default";
176 pinctrl-0 = <&ssi0_pins>;
177 pinctrl-names = "default";
184 /delete-property/ pinctrl-0;
185 /delete-property/ pinctrl-names;
191 gpios = <&pinctrl RZG2L_GPIO(39, 1) GPIO_ACTIVE_HIGH>;