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

TOMOYO Linux Cross Reference
Linux/arch/arm64/boot/dts/renesas/rzg2ul-smarc.dtsi

Version: ~ [ linux-6.11.5 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.58 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.114 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.169 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.228 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.284 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.322 ] ~ [ 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.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2 /*
  3  * Device Tree Source for the RZ/G2UL Type-1 SMARC EVK parts
  4  *
  5  * Copyright (C) 2022 Renesas Electronics Corp.
  6  */
  7 
  8 #include <dt-bindings/gpio/gpio.h>
  9 #include "rzg2ul-smarc-pinfunction.dtsi"
 10 #include "rz-smarc-common.dtsi"
 11 
 12 #if (!SW_ET0_EN_N)
 13 &canfd {
 14         /delete-property/ pinctrl-0;
 15         /delete-property/ pinctrl-names;
 16         status = "disabled";
 17 };
 18 #endif
 19 
 20 &cpu_dai {
 21         sound-dai = <&ssi1>;
 22 };
 23 
 24 &i2c0 {
 25         clock-frequency = <400000>;
 26 
 27         da9062: pmic@58 {
 28                 compatible = "dlg,da9062";
 29                 reg = <0x58>;
 30                 gpio-controller;
 31                 #gpio-cells = <2>;
 32 
 33                 gpio {
 34                         compatible = "dlg,da9062-gpio";
 35                 };
 36 
 37                 onkey {
 38                         compatible = "dlg,da9062-onkey";
 39                 };
 40 
 41                 pmic-good-hog {
 42                         gpio-hog;
 43                         gpios = <4 GPIO_ACTIVE_HIGH>;
 44                         output-high;
 45                         line-name = "PMIC_PGOOD";
 46                 };
 47 
 48                 rtc {
 49                         compatible = "dlg,da9062-rtc";
 50                 };
 51 
 52                 sd0-pwr-sel-hog {
 53                         gpio-hog;
 54                         gpios = <1 GPIO_ACTIVE_HIGH>;
 55                         input;
 56                         line-name = "SD0_PWR_SEL";
 57                 };
 58 
 59                 sd1-pwr-sel-hog {
 60                         gpio-hog;
 61                         gpios = <2 GPIO_ACTIVE_HIGH>;
 62                         input;
 63                         line-name = "SD1_PWR_SEL";
 64                 };
 65 
 66                 sw-et0-en-hog {
 67                         gpio-hog;
 68                         gpios = <3 GPIO_ACTIVE_HIGH>;
 69                         input;
 70                         line-name = "SW_ET0_EN#";
 71                 };
 72 
 73                 thermal {
 74                         compatible = "dlg,da9062-thermal";
 75                         status = "disabled";
 76                 };
 77 
 78                 watchdog {
 79                         compatible = "dlg,da9062-watchdog";
 80                         status = "disabled";
 81                 };
 82         };
 83 
 84         versa3: clock-generator@68 {
 85                 compatible = "renesas,5p35023";
 86                 reg = <0x68>;
 87                 #clock-cells = <1>;
 88                 clocks = <&x1>;
 89 
 90                 renesas,settings = [
 91                         80 00 11 19 4c 02 23 7f 83 19 08 a9 5f 25 24 bf
 92                         00 14 7a e1 00 00 00 00 01 55 59 bb 3f 30 90 b6
 93                         80 b0 45 c4 95
 94                 ];
 95 
 96                 assigned-clocks = <&versa3 0>, <&versa3 1>,
 97                                   <&versa3 2>, <&versa3 3>,
 98                                   <&versa3 4>, <&versa3 5>;
 99                 assigned-clock-rates = <24000000>, <11289600>,
100                                        <11289600>, <12000000>,
101                                        <25000000>, <12288000>;
102         };
103 };
104 
105 &i2c1 {
106         wm8978: codec@1a {
107                 compatible = "wlf,wm8978";
108                 #sound-dai-cells = <0>;
109                 reg = <0x1a>;
110         };
111 };
112 
113 #if PMOD_MTU3
114 &mtu3 {
115         pinctrl-0 = <&mtu3_pins>;
116         pinctrl-names = "default";
117 
118         status = "okay";
119 };
120 
121 &spi1 {
122         status = "disabled";
123 };
124 #endif
125 
126 #if (SW_ET0_EN_N)
127 &ssi1 {
128         pinctrl-0 = <&ssi1_pins>;
129         pinctrl-names = "default";
130 
131         status = "okay";
132 };
133 #else
134 &snd_rzg2l {
135         status = "disabled";
136 };
137 
138 &spi1 {
139         /delete-property/ pinctrl-0;
140         /delete-property/ pinctrl-names;
141         status = "disabled";
142 };
143 
144 &ssi1 {
145         /delete-property/ pinctrl-0;
146         /delete-property/ pinctrl-names;
147         status = "disabled";
148 };
149 #endif
150 
151 &vccq_sdhi1 {
152         gpios = <&pinctrl RZG2L_GPIO(6, 1) GPIO_ACTIVE_HIGH>;
153 };

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