Biju Das | c9a41f5 | 2017-08-15 11:54:19 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Device Tree Source for the iWave-RZG1E-G22M SODIMM SOM |
| 3 | * |
| 4 | * Copyright (C) 2017 Renesas Electronics Corp. |
| 5 | * |
| 6 | * This file is licensed under the terms of the GNU General Public License |
| 7 | * version 2. This program is licensed "as is" without any warranty of any |
| 8 | * kind, whether express or implied. |
| 9 | */ |
| 10 | |
| 11 | #include "r8a7745.dtsi" |
| 12 | |
| 13 | / { |
| 14 | compatible = "iwave,g22m", "renesas,r8a7745"; |
| 15 | |
| 16 | memory@40000000 { |
| 17 | device_type = "memory"; |
| 18 | reg = <0 0x40000000 0 0x20000000>; |
| 19 | }; |
Fabrizio Castro | 3350ed9 | 2017-08-17 18:31:43 +0100 | [diff] [blame] | 20 | |
| 21 | reg_3p3v: 3p3v { |
| 22 | compatible = "regulator-fixed"; |
| 23 | regulator-name = "3P3V"; |
| 24 | regulator-min-microvolt = <3300000>; |
| 25 | regulator-max-microvolt = <3300000>; |
| 26 | regulator-always-on; |
| 27 | regulator-boot-on; |
| 28 | }; |
Biju Das | c9a41f5 | 2017-08-15 11:54:19 +0100 | [diff] [blame] | 29 | }; |
| 30 | |
| 31 | &extal_clk { |
| 32 | clock-frequency = <20000000>; |
| 33 | }; |
Fabrizio Castro | 3350ed9 | 2017-08-17 18:31:43 +0100 | [diff] [blame] | 34 | |
| 35 | &pfc { |
| 36 | mmcif0_pins: mmc { |
| 37 | groups = "mmc_data8", "mmc_ctrl"; |
| 38 | function = "mmc"; |
| 39 | }; |
Fabrizio Castro | a7b8f48 | 2017-08-22 19:22:46 +0100 | [diff] [blame^] | 40 | |
| 41 | i2c3_pins: i2c3 { |
| 42 | groups = "i2c3_b"; |
| 43 | function = "i2c3"; |
| 44 | }; |
Fabrizio Castro | 3350ed9 | 2017-08-17 18:31:43 +0100 | [diff] [blame] | 45 | }; |
| 46 | |
| 47 | &mmcif0 { |
| 48 | pinctrl-0 = <&mmcif0_pins>; |
| 49 | pinctrl-names = "default"; |
| 50 | |
| 51 | vmmc-supply = <®_3p3v>; |
| 52 | bus-width = <8>; |
| 53 | non-removable; |
| 54 | status = "okay"; |
| 55 | }; |
Fabrizio Castro | a7b8f48 | 2017-08-22 19:22:46 +0100 | [diff] [blame^] | 56 | |
| 57 | &i2c3 { |
| 58 | pinctrl-0 = <&i2c3_pins>; |
| 59 | pinctrl-names = "default"; |
| 60 | |
| 61 | status = "okay"; |
| 62 | clock-frequency = <400000>; |
| 63 | |
| 64 | rtc@68 { |
| 65 | compatible = "ti,bq32000"; |
| 66 | reg = <0x68>; |
| 67 | }; |
| 68 | }; |