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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm/renesas/r8a7742-iwg21m.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 ] ~

  1 // SPDX-License-Identifier: GPL-2.0
  2 /*
  3  * Device Tree Source for the iWave RZ/G1H Qseven SOM
  4  *
  5  * Copyright (C) 2020 Renesas Electronics Corp.
  6  */
  7 
  8 #include "r8a7742.dtsi"
  9 #include <dt-bindings/gpio/gpio.h>
 10 
 11 / {
 12         compatible = "iwave,g21m", "renesas,r8a7742";
 13 
 14         memory@40000000 {
 15                 device_type = "memory";
 16                 reg = <0 0x40000000 0 0x40000000>;
 17         };
 18 
 19         memory@200000000 {
 20                 device_type = "memory";
 21                 reg = <2 0x00000000 0 0x40000000>;
 22         };
 23 
 24         reg_3p3v: 3p3v {
 25                 compatible = "regulator-fixed";
 26                 regulator-name = "3P3V";
 27                 regulator-min-microvolt = <3300000>;
 28                 regulator-max-microvolt = <3300000>;
 29                 regulator-always-on;
 30                 regulator-boot-on;
 31         };
 32 };
 33 
 34 &extal_clk {
 35         clock-frequency = <20000000>;
 36 };
 37 
 38 &gpio0 {
 39         /* GP0_18 set low to select QSPI. Doing so will disable VIN2 */
 40         qspi-en-hog {
 41                 gpio-hog;
 42                 gpios = <18 GPIO_ACTIVE_HIGH>;
 43                 output-low;
 44                 line-name = "QSPI_EN";
 45         };
 46 };
 47 
 48 &i2c0 {
 49         pinctrl-0 = <&i2c0_pins>;
 50         pinctrl-names = "default";
 51 
 52         status = "okay";
 53         clock-frequency = <400000>;
 54 
 55         rtc@68 {
 56                 compatible = "ti,bq32000";
 57                 reg = <0x68>;
 58                 interrupt-parent = <&gpio1>;
 59                 interrupts = <1 IRQ_TYPE_EDGE_FALLING>;
 60         };
 61 };
 62 
 63 &mmcif1 {
 64         pinctrl-0 = <&mmc1_pins>;
 65         pinctrl-names = "default";
 66 
 67         vmmc-supply = <&reg_3p3v>;
 68         bus-width = <4>;
 69         non-removable;
 70         status = "okay";
 71 };
 72 
 73 &pfc {
 74         i2c0_pins: i2c0 {
 75                 groups = "i2c0";
 76                 function = "i2c0";
 77         };
 78 
 79         mmc1_pins: mmc1 {
 80                 groups = "mmc1_data4", "mmc1_ctrl";
 81                 function = "mmc1";
 82         };
 83 
 84         qspi_pins: qspi {
 85                 groups = "qspi_ctrl", "qspi_data2";
 86                 function = "qspi";
 87         };
 88 };
 89 
 90 &qspi {
 91         pinctrl-0 = <&qspi_pins>;
 92         pinctrl-names = "default";
 93 
 94         status = "okay";
 95 
 96         flash: flash@0 {
 97                 compatible = "sst,sst25vf016b", "jedec,spi-nor";
 98                 reg = <0>;
 99                 spi-max-frequency = <50000000>;
100                 m25p,fast-read;
101                 spi-cpol;
102                 spi-cpha;
103 
104                 partitions {
105                         compatible = "fixed-partitions";
106                         #address-cells = <1>;
107                         #size-cells = <1>;
108 
109                         partition@0 {
110                                 label = "bootloader";
111                                 reg = <0x00000000 0x000c0000>;
112                                 read-only;
113                         };
114                         partition@c0000 {
115                                 label = "env";
116                                 reg = <0x000c0000 0x00002000>;
117                         };
118                         partition@c2000 {
119                                 label = "user";
120                                 reg = <0x000c2000 0x0013e000>;
121                         };
122                 };
123         };
124 };

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