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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm64/renesas/rzg2l-smarc-som.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 ] ~

Diff markup

Differences between /scripts/dtc/include-prefixes/arm64/renesas/rzg2l-smarc-som.dtsi (Architecture i386) and /scripts/dtc/include-prefixes/arm64/renesas/rzg2l-smarc-som.dtsi (Architecture alpha)


  1 // SPDX-License-Identifier: (GPL-2.0-only OR B      1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2 /*                                                  2 /*
  3  * Device Tree Source for the RZ/{G2L,V2L} SMA      3  * Device Tree Source for the RZ/{G2L,V2L} SMARC SOM common parts
  4  *                                                  4  *
  5  * Copyright (C) 2021 Renesas Electronics Corp      5  * Copyright (C) 2021 Renesas Electronics Corp.
  6  */                                                 6  */
  7                                                     7 
  8 #include <dt-bindings/gpio/gpio.h>                  8 #include <dt-bindings/gpio/gpio.h>
  9 #include <dt-bindings/interrupt-controller/irq      9 #include <dt-bindings/interrupt-controller/irqc-rzg2l.h>
 10 #include <dt-bindings/pinctrl/rzg2l-pinctrl.h>     10 #include <dt-bindings/pinctrl/rzg2l-pinctrl.h>
 11                                                    11 
 12 /* SW1[2] should be at position 2/OFF to enabl     12 /* SW1[2] should be at position 2/OFF to enable 64 GB eMMC */
 13 #define EMMC    1                                  13 #define EMMC    1
 14                                                    14 
 15 /*                                                 15 /*
 16  * To enable uSD card on CN3,                      16  * To enable uSD card on CN3,
 17  * SW1[2] should be at position 3/ON.              17  * SW1[2] should be at position 3/ON.
 18  * Disable eMMC by setting "#define EMMC           18  * Disable eMMC by setting "#define EMMC        0" above.
 19  */                                                19  */
 20 #define SDHI    (!EMMC)                            20 #define SDHI    (!EMMC)
 21                                                    21 
 22 / {                                                22 / {
 23         aliases {                                  23         aliases {
 24                 ethernet0 = &eth0;                 24                 ethernet0 = &eth0;
 25                 ethernet1 = &eth1;                 25                 ethernet1 = &eth1;
 26         };                                         26         };
 27                                                    27 
 28         chosen {                                   28         chosen {
 29                 bootargs = "ignore_loglevel rw     29                 bootargs = "ignore_loglevel rw root=/dev/nfs ip=on";
 30         };                                         30         };
 31                                                    31 
 32         memory@48000000 {                          32         memory@48000000 {
 33                 device_type = "memory";            33                 device_type = "memory";
 34                 /* first 128MB is reserved for     34                 /* first 128MB is reserved for secure area. */
 35                 reg = <0x0 0x48000000 0x0 0x78     35                 reg = <0x0 0x48000000 0x0 0x78000000>;
 36         };                                         36         };
 37                                                    37 
 38         reg_1p8v: regulator-1p8v {                 38         reg_1p8v: regulator-1p8v {
 39                 compatible = "regulator-fixed"     39                 compatible = "regulator-fixed";
 40                 regulator-name = "fixed-1.8V";     40                 regulator-name = "fixed-1.8V";
 41                 regulator-min-microvolt = <180     41                 regulator-min-microvolt = <1800000>;
 42                 regulator-max-microvolt = <180     42                 regulator-max-microvolt = <1800000>;
 43                 regulator-boot-on;                 43                 regulator-boot-on;
 44                 regulator-always-on;               44                 regulator-always-on;
 45         };                                         45         };
 46                                                    46 
 47         reg_3p3v: regulator-3p3v {                 47         reg_3p3v: regulator-3p3v {
 48                 compatible = "regulator-fixed"     48                 compatible = "regulator-fixed";
 49                 regulator-name = "fixed-3.3V";     49                 regulator-name = "fixed-3.3V";
 50                 regulator-min-microvolt = <330     50                 regulator-min-microvolt = <3300000>;
 51                 regulator-max-microvolt = <330     51                 regulator-max-microvolt = <3300000>;
 52                 regulator-boot-on;                 52                 regulator-boot-on;
 53                 regulator-always-on;               53                 regulator-always-on;
 54         };                                         54         };
 55                                                    55 
 56         reg_1p1v: regulator-vdd-core {             56         reg_1p1v: regulator-vdd-core {
 57                 compatible = "regulator-fixed"     57                 compatible = "regulator-fixed";
 58                 regulator-name = "fixed-1.1V";     58                 regulator-name = "fixed-1.1V";
 59                 regulator-min-microvolt = <110     59                 regulator-min-microvolt = <1100000>;
 60                 regulator-max-microvolt = <110     60                 regulator-max-microvolt = <1100000>;
 61                 regulator-boot-on;                 61                 regulator-boot-on;
 62                 regulator-always-on;               62                 regulator-always-on;
 63         };                                         63         };
 64                                                    64 
 65         vccq_sdhi0: regulator-vccq-sdhi0 {         65         vccq_sdhi0: regulator-vccq-sdhi0 {
 66                 compatible = "regulator-gpio";     66                 compatible = "regulator-gpio";
 67                                                    67 
 68                 regulator-name = "SDHI0 VccQ";     68                 regulator-name = "SDHI0 VccQ";
 69                 regulator-min-microvolt = <180     69                 regulator-min-microvolt = <1800000>;
 70                 regulator-max-microvolt = <330     70                 regulator-max-microvolt = <3300000>;
 71                 states = <3300000 1>, <1800000     71                 states = <3300000 1>, <1800000 0>;
 72                 regulator-boot-on;                 72                 regulator-boot-on;
 73                 gpios = <&pinctrl RZG2L_GPIO(3     73                 gpios = <&pinctrl RZG2L_GPIO(39, 0) GPIO_ACTIVE_HIGH>;
 74                 regulator-always-on;               74                 regulator-always-on;
 75         };                                         75         };
 76                                                    76 
 77         /* 32.768kHz crystal */                    77         /* 32.768kHz crystal */
 78         x2: x2-clock {                             78         x2: x2-clock {
 79                 compatible = "fixed-clock";        79                 compatible = "fixed-clock";
 80                 #clock-cells = <0>;                80                 #clock-cells = <0>;
 81                 clock-frequency = <32768>;         81                 clock-frequency = <32768>;
 82         };                                         82         };
 83 };                                                 83 };
 84                                                    84 
 85 &adc {                                             85 &adc {
 86         pinctrl-0 = <&adc_pins>;                   86         pinctrl-0 = <&adc_pins>;
 87         pinctrl-names = "default";                 87         pinctrl-names = "default";
 88         status = "okay";                           88         status = "okay";
 89                                                    89 
 90         /delete-node/ channel@6;                   90         /delete-node/ channel@6;
 91         /delete-node/ channel@7;                   91         /delete-node/ channel@7;
 92 };                                                 92 };
 93                                                    93 
 94 &eth0 {                                            94 &eth0 {
 95         pinctrl-0 = <&eth0_pins>;                  95         pinctrl-0 = <&eth0_pins>;
 96         pinctrl-names = "default";                 96         pinctrl-names = "default";
 97         phy-handle = <&phy0>;                      97         phy-handle = <&phy0>;
 98         phy-mode = "rgmii-id";                     98         phy-mode = "rgmii-id";
 99         status = "okay";                           99         status = "okay";
100                                                   100 
101         phy0: ethernet-phy@7 {                    101         phy0: ethernet-phy@7 {
102                 compatible = "ethernet-phy-id0    102                 compatible = "ethernet-phy-id0022.1640",
103                              "ethernet-phy-iee    103                              "ethernet-phy-ieee802.3-c22";
104                 reg = <7>;                        104                 reg = <7>;
105                 interrupt-parent = <&irqc>;       105                 interrupt-parent = <&irqc>;
106                 interrupts = <RZG2L_IRQ2 IRQ_T    106                 interrupts = <RZG2L_IRQ2 IRQ_TYPE_LEVEL_LOW>;
107                 rxc-skew-psec = <2400>;           107                 rxc-skew-psec = <2400>;
108                 txc-skew-psec = <2400>;           108                 txc-skew-psec = <2400>;
109                 rxdv-skew-psec = <0>;             109                 rxdv-skew-psec = <0>;
110                 txen-skew-psec = <0>;             110                 txen-skew-psec = <0>;
111                 rxd0-skew-psec = <0>;             111                 rxd0-skew-psec = <0>;
112                 rxd1-skew-psec = <0>;             112                 rxd1-skew-psec = <0>;
113                 rxd2-skew-psec = <0>;             113                 rxd2-skew-psec = <0>;
114                 rxd3-skew-psec = <0>;             114                 rxd3-skew-psec = <0>;
115                 txd0-skew-psec = <0>;             115                 txd0-skew-psec = <0>;
116                 txd1-skew-psec = <0>;             116                 txd1-skew-psec = <0>;
117                 txd2-skew-psec = <0>;             117                 txd2-skew-psec = <0>;
118                 txd3-skew-psec = <0>;             118                 txd3-skew-psec = <0>;
119         };                                        119         };
120 };                                                120 };
121                                                   121 
122 &eth1 {                                           122 &eth1 {
123         pinctrl-0 = <&eth1_pins>;                 123         pinctrl-0 = <&eth1_pins>;
124         pinctrl-names = "default";                124         pinctrl-names = "default";
125         phy-handle = <&phy1>;                     125         phy-handle = <&phy1>;
126         phy-mode = "rgmii-id";                    126         phy-mode = "rgmii-id";
127         status = "okay";                          127         status = "okay";
128                                                   128 
129         phy1: ethernet-phy@7 {                    129         phy1: ethernet-phy@7 {
130                 compatible = "ethernet-phy-id0    130                 compatible = "ethernet-phy-id0022.1640",
131                              "ethernet-phy-iee    131                              "ethernet-phy-ieee802.3-c22";
132                 reg = <7>;                        132                 reg = <7>;
133                 interrupt-parent = <&irqc>;       133                 interrupt-parent = <&irqc>;
134                 interrupts = <RZG2L_IRQ3 IRQ_T    134                 interrupts = <RZG2L_IRQ3 IRQ_TYPE_LEVEL_LOW>;
135                 rxc-skew-psec = <2400>;           135                 rxc-skew-psec = <2400>;
136                 txc-skew-psec = <2400>;           136                 txc-skew-psec = <2400>;
137                 rxdv-skew-psec = <0>;             137                 rxdv-skew-psec = <0>;
138                 txen-skew-psec = <0>;             138                 txen-skew-psec = <0>;
139                 rxd0-skew-psec = <0>;             139                 rxd0-skew-psec = <0>;
140                 rxd1-skew-psec = <0>;             140                 rxd1-skew-psec = <0>;
141                 rxd2-skew-psec = <0>;             141                 rxd2-skew-psec = <0>;
142                 rxd3-skew-psec = <0>;             142                 rxd3-skew-psec = <0>;
143                 txd0-skew-psec = <0>;             143                 txd0-skew-psec = <0>;
144                 txd1-skew-psec = <0>;             144                 txd1-skew-psec = <0>;
145                 txd2-skew-psec = <0>;             145                 txd2-skew-psec = <0>;
146                 txd3-skew-psec = <0>;             146                 txd3-skew-psec = <0>;
147         };                                        147         };
148 };                                                148 };
149                                                   149 
150 &extal_clk {                                      150 &extal_clk {
151         clock-frequency = <24000000>;             151         clock-frequency = <24000000>;
152 };                                                152 };
153                                                   153 
154 &gpu {                                            154 &gpu {
155         mali-supply = <&reg_1p1v>;                155         mali-supply = <&reg_1p1v>;
156 };                                                156 };
157                                                   157 
158 &i2c3 {                                           158 &i2c3 {
159         raa215300: pmic@12 {                      159         raa215300: pmic@12 {
160                 compatible = "renesas,raa21530    160                 compatible = "renesas,raa215300";
161                 reg = <0x12>, <0x6f>;             161                 reg = <0x12>, <0x6f>;
162                 reg-names = "main", "rtc";        162                 reg-names = "main", "rtc";
163                                                   163 
164                 clocks = <&x2>;                   164                 clocks = <&x2>;
165                 clock-names = "xin";              165                 clock-names = "xin";
166         };                                        166         };
167 };                                                167 };
168                                                   168 
169 &ostm1 {                                          169 &ostm1 {
170         status = "okay";                          170         status = "okay";
171 };                                                171 };
172                                                   172 
173 &ostm2 {                                          173 &ostm2 {
174         status = "okay";                          174         status = "okay";
175 };                                                175 };
176                                                   176 
177 &pinctrl {                                        177 &pinctrl {
178         adc_pins: adc {                           178         adc_pins: adc {
179                 pinmux = <RZG2L_PORT_PINMUX(9,    179                 pinmux = <RZG2L_PORT_PINMUX(9, 0, 2)>; /* ADC_TRG */
180         };                                        180         };
181                                                   181 
182         eth0_pins: eth0 {                         182         eth0_pins: eth0 {
183                 txc {                             183                 txc {
184                         pinmux = <RZG2L_PORT_P    184                         pinmux = <RZG2L_PORT_PINMUX(20, 0, 1)>; /* ET0_TXC */
185                         power-source = <1800>;    185                         power-source = <1800>;
186                         output-enable;            186                         output-enable;
187                 };                                187                 };
188                                                   188 
189                 mux {                             189                 mux {
190                         pinmux = <RZG2L_PORT_P    190                         pinmux = <RZG2L_PORT_PINMUX(28, 1, 1)>, /* ET0_LINKSTA */
191                                  <RZG2L_PORT_P    191                                  <RZG2L_PORT_PINMUX(27, 1, 1)>, /* ET0_MDC */
192                                  <RZG2L_PORT_P    192                                  <RZG2L_PORT_PINMUX(28, 0, 1)>, /* ET0_MDIO */
193                                  <RZG2L_PORT_P    193                                  <RZG2L_PORT_PINMUX(20, 1, 1)>, /* ET0_TX_CTL */
194                                  <RZG2L_PORT_P    194                                  <RZG2L_PORT_PINMUX(20, 2, 1)>, /* ET0_TXD0 */
195                                  <RZG2L_PORT_P    195                                  <RZG2L_PORT_PINMUX(21, 0, 1)>, /* ET0_TXD1 */
196                                  <RZG2L_PORT_P    196                                  <RZG2L_PORT_PINMUX(21, 1, 1)>, /* ET0_TXD2 */
197                                  <RZG2L_PORT_P    197                                  <RZG2L_PORT_PINMUX(22, 0, 1)>, /* ET0_TXD3 */
198                                  <RZG2L_PORT_P    198                                  <RZG2L_PORT_PINMUX(24, 0, 1)>, /* ET0_RXC */
199                                  <RZG2L_PORT_P    199                                  <RZG2L_PORT_PINMUX(24, 1, 1)>, /* ET0_RX_CTL */
200                                  <RZG2L_PORT_P    200                                  <RZG2L_PORT_PINMUX(25, 0, 1)>, /* ET0_RXD0 */
201                                  <RZG2L_PORT_P    201                                  <RZG2L_PORT_PINMUX(25, 1, 1)>, /* ET0_RXD1 */
202                                  <RZG2L_PORT_P    202                                  <RZG2L_PORT_PINMUX(26, 0, 1)>, /* ET0_RXD2 */
203                                  <RZG2L_PORT_P    203                                  <RZG2L_PORT_PINMUX(26, 1, 1)>; /* ET0_RXD3 */
204                         power-source = <1800>;    204                         power-source = <1800>;
205                 };                                205                 };
206                                                   206 
207                 irq {                             207                 irq {
208                         pinmux = <RZG2L_PORT_P    208                         pinmux = <RZG2L_PORT_PINMUX(1, 0, 1)>;  /* IRQ2 */
209                 };                                209                 };
210         };                                        210         };
211                                                   211 
212         eth1_pins: eth1 {                         212         eth1_pins: eth1 {
213                 txc {                             213                 txc {
214                         pinmux = <RZG2L_PORT_P    214                         pinmux = <RZG2L_PORT_PINMUX(29, 0, 1)>; /* ET1_TXC */
215                         power-source = <1800>;    215                         power-source = <1800>;
216                         output-enable;            216                         output-enable;
217                 };                                217                 };
218                                                   218 
219                 mux {                             219                 mux {
220                         pinmux = <RZG2L_PORT_P    220                         pinmux = <RZG2L_PORT_PINMUX(37, 2, 1)>, /* ET1_LINKSTA */
221                                  <RZG2L_PORT_P    221                                  <RZG2L_PORT_PINMUX(37, 0, 1)>, /* ET1_MDC */
222                                  <RZG2L_PORT_P    222                                  <RZG2L_PORT_PINMUX(37, 1, 1)>, /* ET1_MDIO */
223                                  <RZG2L_PORT_P    223                                  <RZG2L_PORT_PINMUX(29, 1, 1)>, /* ET1_TX_CTL */
224                                  <RZG2L_PORT_P    224                                  <RZG2L_PORT_PINMUX(30, 0, 1)>, /* ET1_TXD0 */
225                                  <RZG2L_PORT_P    225                                  <RZG2L_PORT_PINMUX(30, 1, 1)>, /* ET1_TXD1 */
226                                  <RZG2L_PORT_P    226                                  <RZG2L_PORT_PINMUX(31, 0, 1)>, /* ET1_TXD2 */
227                                  <RZG2L_PORT_P    227                                  <RZG2L_PORT_PINMUX(31, 1, 1)>, /* ET1_TXD3 */
228                                  <RZG2L_PORT_P    228                                  <RZG2L_PORT_PINMUX(33, 1, 1)>, /* ET1_RXC */
229                                  <RZG2L_PORT_P    229                                  <RZG2L_PORT_PINMUX(34, 0, 1)>, /* ET1_RX_CTL */
230                                  <RZG2L_PORT_P    230                                  <RZG2L_PORT_PINMUX(34, 1, 1)>, /* ET1_RXD0 */
231                                  <RZG2L_PORT_P    231                                  <RZG2L_PORT_PINMUX(35, 0, 1)>, /* ET1_RXD1 */
232                                  <RZG2L_PORT_P    232                                  <RZG2L_PORT_PINMUX(35, 1, 1)>, /* ET1_RXD2 */
233                                  <RZG2L_PORT_P    233                                  <RZG2L_PORT_PINMUX(36, 0, 1)>; /* ET1_RXD3 */
234                         power-source = <1800>;    234                         power-source = <1800>;
235                 };                                235                 };
236                                                   236 
237                 irq {                             237                 irq {
238                         pinmux = <RZG2L_PORT_P    238                         pinmux = <RZG2L_PORT_PINMUX(1, 1, 1)>;  /* IRQ3 */
239                 };                                239                 };
240         };                                        240         };
241                                                   241 
242         gpio-sd0-pwr-en-hog {                     242         gpio-sd0-pwr-en-hog {
243                 gpio-hog;                         243                 gpio-hog;
244                 gpios = <RZG2L_GPIO(4, 1) GPIO    244                 gpios = <RZG2L_GPIO(4, 1) GPIO_ACTIVE_HIGH>;
245                 output-high;                      245                 output-high;
246                 line-name = "gpio_sd0_pwr_en";    246                 line-name = "gpio_sd0_pwr_en";
247         };                                        247         };
248                                                   248 
249         qspi0_pins: qspi0 {                       249         qspi0_pins: qspi0 {
250                 qspi0-data {                      250                 qspi0-data {
251                         pins = "QSPI0_IO0", "Q    251                         pins = "QSPI0_IO0", "QSPI0_IO1", "QSPI0_IO2", "QSPI0_IO3";
252                         power-source = <1800>;    252                         power-source = <1800>;
253                 };                                253                 };
254                                                   254 
255                 qspi0-ctrl {                      255                 qspi0-ctrl {
256                         pins = "QSPI0_SPCLK",     256                         pins = "QSPI0_SPCLK", "QSPI0_SSL", "QSPI_RESET#";
257                         power-source = <1800>;    257                         power-source = <1800>;
258                 };                                258                 };
259         };                                        259         };
260                                                   260 
261         /*                                        261         /*
262          * SD0 device selection is XOR between    262          * SD0 device selection is XOR between GPIO_SD0_DEV_SEL and SW1[2]
263          * The below switch logic can be used     263          * The below switch logic can be used to select the device between
264          * eMMC and microSD, after setting GPI    264          * eMMC and microSD, after setting GPIO_SD0_DEV_SEL to high in DT.
265          * SW1[2] should be at position 2/OFF     265          * SW1[2] should be at position 2/OFF to enable 64 GB eMMC
266          * SW1[2] should be at position 3/ON t    266          * SW1[2] should be at position 3/ON to enable uSD card CN3
267          */                                       267          */
268         sd0-dev-sel-hog {                         268         sd0-dev-sel-hog {
269                 gpio-hog;                         269                 gpio-hog;
270                 gpios = <RZG2L_GPIO(41, 1) GPI    270                 gpios = <RZG2L_GPIO(41, 1) GPIO_ACTIVE_HIGH>;
271                 output-high;                      271                 output-high;
272                 line-name = "sd0_dev_sel";        272                 line-name = "sd0_dev_sel";
273         };                                        273         };
274                                                   274 
275         sdhi0_emmc_pins: sd0emmc {                275         sdhi0_emmc_pins: sd0emmc {
276                 sd0_emmc_data {                   276                 sd0_emmc_data {
277                         pins = "SD0_DATA0", "S    277                         pins = "SD0_DATA0", "SD0_DATA1", "SD0_DATA2", "SD0_DATA3",
278                                "SD0_DATA4", "S    278                                "SD0_DATA4", "SD0_DATA5", "SD0_DATA6", "SD0_DATA7";
279                         power-source = <1800>;    279                         power-source = <1800>;
280                 };                                280                 };
281                                                   281 
282                 sd0_emmc_ctrl {                   282                 sd0_emmc_ctrl {
283                         pins = "SD0_CLK", "SD0    283                         pins = "SD0_CLK", "SD0_CMD";
284                         power-source = <1800>;    284                         power-source = <1800>;
285                 };                                285                 };
286                                                   286 
287                 sd0_emmc_rst {                    287                 sd0_emmc_rst {
288                         pins = "SD0_RST#";        288                         pins = "SD0_RST#";
289                         power-source = <1800>;    289                         power-source = <1800>;
290                 };                                290                 };
291         };                                        291         };
292                                                   292 
293         sdhi0_pins: sd0 {                         293         sdhi0_pins: sd0 {
294                 sd0_data {                        294                 sd0_data {
295                         pins = "SD0_DATA0", "S    295                         pins = "SD0_DATA0", "SD0_DATA1", "SD0_DATA2", "SD0_DATA3";
296                         power-source = <3300>;    296                         power-source = <3300>;
297                 };                                297                 };
298                                                   298 
299                 sd0_ctrl {                        299                 sd0_ctrl {
300                         pins = "SD0_CLK", "SD0    300                         pins = "SD0_CLK", "SD0_CMD";
301                         power-source = <3300>;    301                         power-source = <3300>;
302                 };                                302                 };
303                                                   303 
304                 sd0_mux {                         304                 sd0_mux {
305                         pinmux = <RZG2L_PORT_P    305                         pinmux = <RZG2L_PORT_PINMUX(47, 0, 2)>; /* SD0_CD */
306                 };                                306                 };
307         };                                        307         };
308                                                   308 
309         sdhi0_pins_uhs: sd0_uhs {                 309         sdhi0_pins_uhs: sd0_uhs {
310                 sd0_data_uhs {                    310                 sd0_data_uhs {
311                         pins = "SD0_DATA0", "S    311                         pins = "SD0_DATA0", "SD0_DATA1", "SD0_DATA2", "SD0_DATA3";
312                         power-source = <1800>;    312                         power-source = <1800>;
313                 };                                313                 };
314                                                   314 
315                 sd0_ctrl_uhs {                    315                 sd0_ctrl_uhs {
316                         pins = "SD0_CLK", "SD0    316                         pins = "SD0_CLK", "SD0_CMD";
317                         power-source = <1800>;    317                         power-source = <1800>;
318                 };                                318                 };
319                                                   319 
320                 sd0_mux_uhs {                     320                 sd0_mux_uhs {
321                         pinmux = <RZG2L_PORT_P    321                         pinmux = <RZG2L_PORT_PINMUX(47, 0, 2)>; /* SD0_CD */
322                 };                                322                 };
323         };                                        323         };
324 };                                                324 };
325                                                   325 
326 &sbc {                                            326 &sbc {
327         pinctrl-0 = <&qspi0_pins>;                327         pinctrl-0 = <&qspi0_pins>;
328         pinctrl-names = "default";                328         pinctrl-names = "default";
329         status = "okay";                          329         status = "okay";
330                                                   330 
331         flash@0 {                                 331         flash@0 {
332                 compatible = "micron,mt25qu512    332                 compatible = "micron,mt25qu512a", "jedec,spi-nor";
333                 reg = <0>;                        333                 reg = <0>;
334                 m25p,fast-read;                   334                 m25p,fast-read;
335                 spi-max-frequency = <50000000>    335                 spi-max-frequency = <50000000>;
336                 spi-rx-bus-width = <4>;           336                 spi-rx-bus-width = <4>;
337                 spi-tx-bus-width = <4>;           337                 spi-tx-bus-width = <4>;
338                                                   338 
339                 partitions {                      339                 partitions {
340                         compatible = "fixed-pa    340                         compatible = "fixed-partitions";
341                         #address-cells = <1>;     341                         #address-cells = <1>;
342                         #size-cells = <1>;        342                         #size-cells = <1>;
343                                                   343 
344                         boot@0 {                  344                         boot@0 {
345                                 reg = <0x00000    345                                 reg = <0x00000000 0x2000000>;
346                                 read-only;        346                                 read-only;
347                         };                        347                         };
348                         user@2000000 {            348                         user@2000000 {
349                                 reg = <0x20000    349                                 reg = <0x2000000 0x2000000>;
350                         };                        350                         };
351                 };                                351                 };
352         };                                        352         };
353 };                                                353 };
354                                                   354 
355 #if SDHI                                          355 #if SDHI
356 &sdhi0 {                                          356 &sdhi0 {
357         pinctrl-0 = <&sdhi0_pins>;                357         pinctrl-0 = <&sdhi0_pins>;
358         pinctrl-1 = <&sdhi0_pins_uhs>;            358         pinctrl-1 = <&sdhi0_pins_uhs>;
359         pinctrl-names = "default", "state_uhs"    359         pinctrl-names = "default", "state_uhs";
360                                                   360 
361         vmmc-supply = <&reg_3p3v>;                361         vmmc-supply = <&reg_3p3v>;
362         vqmmc-supply = <&vccq_sdhi0>;             362         vqmmc-supply = <&vccq_sdhi0>;
363         bus-width = <4>;                          363         bus-width = <4>;
364         sd-uhs-sdr50;                             364         sd-uhs-sdr50;
365         sd-uhs-sdr104;                            365         sd-uhs-sdr104;
366         status = "okay";                          366         status = "okay";
367 };                                                367 };
368 #endif                                            368 #endif
369                                                   369 
370 #if EMMC                                          370 #if EMMC
371 &sdhi0 {                                          371 &sdhi0 {
372         pinctrl-0 = <&sdhi0_emmc_pins>;           372         pinctrl-0 = <&sdhi0_emmc_pins>;
373         pinctrl-1 = <&sdhi0_emmc_pins>;           373         pinctrl-1 = <&sdhi0_emmc_pins>;
374         pinctrl-names = "default", "state_uhs"    374         pinctrl-names = "default", "state_uhs";
375                                                   375 
376         vmmc-supply = <&reg_3p3v>;                376         vmmc-supply = <&reg_3p3v>;
377         vqmmc-supply = <&reg_1p8v>;               377         vqmmc-supply = <&reg_1p8v>;
378         bus-width = <8>;                          378         bus-width = <8>;
379         mmc-hs200-1_8v;                           379         mmc-hs200-1_8v;
380         non-removable;                            380         non-removable;
381         fixed-emmc-driver-type = <1>;             381         fixed-emmc-driver-type = <1>;
382         status = "okay";                          382         status = "okay";
383 };                                                383 };
384 #endif                                            384 #endif
385                                                   385 
386 &wdt0 {                                           386 &wdt0 {
387         status = "okay";                          387         status = "okay";
388         timeout-sec = <60>;                       388         timeout-sec = <60>;
389 };                                                389 };
390                                                   390 
391 &wdt1 {                                           391 &wdt1 {
392         status = "okay";                          392         status = "okay";
393         timeout-sec = <60>;                       393         timeout-sec = <60>;
394 };                                                394 };
                                                      

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