163070d7cSYoshihiro Shimoda// SPDX-License-Identifier: GPL-2.0 263070d7cSYoshihiro Shimoda/* 363070d7cSYoshihiro Shimoda * Device Tree Source for the Falcon CPU board 463070d7cSYoshihiro Shimoda * 563070d7cSYoshihiro Shimoda * Copyright (C) 2020 Renesas Electronics Corp. 663070d7cSYoshihiro Shimoda */ 763070d7cSYoshihiro Shimoda 8e8ac55a5SWolfram Sang#include <dt-bindings/gpio/gpio.h> 963070d7cSYoshihiro Shimoda#include "r8a779a0.dtsi" 1063070d7cSYoshihiro Shimoda 1163070d7cSYoshihiro Shimoda/ { 1263070d7cSYoshihiro Shimoda model = "Renesas Falcon CPU board"; 1363070d7cSYoshihiro Shimoda compatible = "renesas,falcon-cpu", "renesas,r8a779a0"; 1463070d7cSYoshihiro Shimoda 15e86ff34cSGeert Uytterhoeven aliases { 16e86ff34cSGeert Uytterhoeven serial0 = &scif0; 17e86ff34cSGeert Uytterhoeven }; 18e86ff34cSGeert Uytterhoeven 19e86ff34cSGeert Uytterhoeven chosen { 20e86ff34cSGeert Uytterhoeven stdout-path = "serial0:115200n8"; 21e86ff34cSGeert Uytterhoeven }; 22e86ff34cSGeert Uytterhoeven 2363070d7cSYoshihiro Shimoda memory@48000000 { 2463070d7cSYoshihiro Shimoda device_type = "memory"; 2563070d7cSYoshihiro Shimoda /* first 128MB is reserved for secure area. */ 2663070d7cSYoshihiro Shimoda reg = <0x0 0x48000000 0x0 0x78000000>; 2763070d7cSYoshihiro Shimoda }; 2863070d7cSYoshihiro Shimoda 2963070d7cSYoshihiro Shimoda memory@500000000 { 3063070d7cSYoshihiro Shimoda device_type = "memory"; 3163070d7cSYoshihiro Shimoda reg = <0x5 0x00000000 0x0 0x80000000>; 3263070d7cSYoshihiro Shimoda }; 3363070d7cSYoshihiro Shimoda 3463070d7cSYoshihiro Shimoda memory@600000000 { 3563070d7cSYoshihiro Shimoda device_type = "memory"; 3663070d7cSYoshihiro Shimoda reg = <0x6 0x00000000 0x0 0x80000000>; 3763070d7cSYoshihiro Shimoda }; 3863070d7cSYoshihiro Shimoda 3963070d7cSYoshihiro Shimoda memory@700000000 { 4063070d7cSYoshihiro Shimoda device_type = "memory"; 4163070d7cSYoshihiro Shimoda reg = <0x7 0x00000000 0x0 0x80000000>; 4263070d7cSYoshihiro Shimoda }; 43ee33cd69STakeshi Saito 44ee33cd69STakeshi Saito reg_1p8v: regulator-1p8v { 45ee33cd69STakeshi Saito compatible = "regulator-fixed"; 46ee33cd69STakeshi Saito regulator-name = "fixed-1.8V"; 47ee33cd69STakeshi Saito regulator-min-microvolt = <1800000>; 48ee33cd69STakeshi Saito regulator-max-microvolt = <1800000>; 49ee33cd69STakeshi Saito regulator-boot-on; 50ee33cd69STakeshi Saito regulator-always-on; 51ee33cd69STakeshi Saito }; 52ee33cd69STakeshi Saito 53ee33cd69STakeshi Saito reg_3p3v: regulator-3p3v { 54ee33cd69STakeshi Saito compatible = "regulator-fixed"; 55ee33cd69STakeshi Saito regulator-name = "fixed-3.3V"; 56ee33cd69STakeshi Saito regulator-min-microvolt = <3300000>; 57ee33cd69STakeshi Saito regulator-max-microvolt = <3300000>; 58ee33cd69STakeshi Saito regulator-boot-on; 59ee33cd69STakeshi Saito regulator-always-on; 60ee33cd69STakeshi Saito }; 6163070d7cSYoshihiro Shimoda}; 6263070d7cSYoshihiro Shimoda 63e8ac55a5SWolfram Sang&avb0 { 64e8ac55a5SWolfram Sang pinctrl-0 = <&avb0_pins>; 65e8ac55a5SWolfram Sang pinctrl-names = "default"; 66e8ac55a5SWolfram Sang phy-handle = <&phy0>; 67e8ac55a5SWolfram Sang tx-internal-delay-ps = <2000>; 68e8ac55a5SWolfram Sang status = "okay"; 69e8ac55a5SWolfram Sang 70e8ac55a5SWolfram Sang phy0: ethernet-phy@0 { 71e8ac55a5SWolfram Sang rxc-skew-ps = <1500>; 72e8ac55a5SWolfram Sang reg = <0>; 73e8ac55a5SWolfram Sang interrupt-parent = <&gpio4>; 74e8ac55a5SWolfram Sang interrupts = <16 IRQ_TYPE_LEVEL_LOW>; 75e8ac55a5SWolfram Sang reset-gpios = <&gpio4 15 GPIO_ACTIVE_LOW>; 76e8ac55a5SWolfram Sang }; 77e8ac55a5SWolfram Sang}; 78e8ac55a5SWolfram Sang 7963070d7cSYoshihiro Shimoda&extal_clk { 8063070d7cSYoshihiro Shimoda clock-frequency = <16666666>; 8163070d7cSYoshihiro Shimoda}; 8263070d7cSYoshihiro Shimoda 8363070d7cSYoshihiro Shimoda&extalr_clk { 8463070d7cSYoshihiro Shimoda clock-frequency = <32768>; 8563070d7cSYoshihiro Shimoda}; 8663070d7cSYoshihiro Shimoda 870e6fb83eSWolfram Sang&i2c0 { 880e6fb83eSWolfram Sang pinctrl-0 = <&i2c0_pins>; 890e6fb83eSWolfram Sang pinctrl-names = "default"; 900e6fb83eSWolfram Sang 910e6fb83eSWolfram Sang status = "okay"; 920e6fb83eSWolfram Sang clock-frequency = <400000>; 93405daa39SGeert Uytterhoeven 94405daa39SGeert Uytterhoeven eeprom@50 { 95405daa39SGeert Uytterhoeven compatible = "rohm,br24g01", "atmel,24c01"; 96405daa39SGeert Uytterhoeven label = "cpu-board"; 97405daa39SGeert Uytterhoeven reg = <0x50>; 98405daa39SGeert Uytterhoeven pagesize = <8>; 99405daa39SGeert Uytterhoeven }; 1000e6fb83eSWolfram Sang}; 1010e6fb83eSWolfram Sang 1020e6fb83eSWolfram Sang&i2c1 { 1030e6fb83eSWolfram Sang pinctrl-0 = <&i2c1_pins>; 1040e6fb83eSWolfram Sang pinctrl-names = "default"; 1050e6fb83eSWolfram Sang 1060e6fb83eSWolfram Sang status = "okay"; 1070e6fb83eSWolfram Sang clock-frequency = <400000>; 1080e6fb83eSWolfram Sang}; 1090e6fb83eSWolfram Sang 1100e6fb83eSWolfram Sang&i2c6 { 1110e6fb83eSWolfram Sang pinctrl-0 = <&i2c6_pins>; 1120e6fb83eSWolfram Sang pinctrl-names = "default"; 1130e6fb83eSWolfram Sang 1140e6fb83eSWolfram Sang status = "okay"; 1150e6fb83eSWolfram Sang clock-frequency = <400000>; 1160e6fb83eSWolfram Sang}; 1170e6fb83eSWolfram Sang 118ee33cd69STakeshi Saito&mmc0 { 119ee33cd69STakeshi Saito pinctrl-0 = <&mmc_pins>; 120ee33cd69STakeshi Saito pinctrl-1 = <&mmc_pins>; 121ee33cd69STakeshi Saito pinctrl-names = "default", "state_uhs"; 122ee33cd69STakeshi Saito 123ee33cd69STakeshi Saito vmmc-supply = <®_3p3v>; 124ee33cd69STakeshi Saito vqmmc-supply = <®_1p8v>; 125ee33cd69STakeshi Saito mmc-hs200-1_8v; 126ee33cd69STakeshi Saito mmc-hs400-1_8v; 127ee33cd69STakeshi Saito bus-width = <8>; 128ee33cd69STakeshi Saito no-sd; 129ee33cd69STakeshi Saito no-sdio; 130ee33cd69STakeshi Saito non-removable; 131ee33cd69STakeshi Saito full-pwr-cycle-in-suspend; 132ee33cd69STakeshi Saito status = "okay"; 133ee33cd69STakeshi Saito}; 134ee33cd69STakeshi Saito 1350e6fb83eSWolfram Sang&pfc { 1369e921faaSWolfram Sang pinctrl-0 = <&scif_clk_pins>; 1379e921faaSWolfram Sang pinctrl-names = "default"; 1389e921faaSWolfram Sang 139e8ac55a5SWolfram Sang avb0_pins: avb0 { 140e8ac55a5SWolfram Sang mux { 141e8ac55a5SWolfram Sang groups = "avb0_link", "avb0_mdio", "avb0_rgmii", "avb0_txcrefclk"; 142e8ac55a5SWolfram Sang function = "avb0"; 143e8ac55a5SWolfram Sang }; 144e8ac55a5SWolfram Sang 145e8ac55a5SWolfram Sang pins_mdio { 146e8ac55a5SWolfram Sang groups = "avb0_mdio"; 147e8ac55a5SWolfram Sang drive-strength = <21>; 148e8ac55a5SWolfram Sang }; 149e8ac55a5SWolfram Sang 150e8ac55a5SWolfram Sang pins_mii { 151e8ac55a5SWolfram Sang groups = "avb0_rgmii"; 152e8ac55a5SWolfram Sang drive-strength = <21>; 153e8ac55a5SWolfram Sang }; 154e8ac55a5SWolfram Sang 155e8ac55a5SWolfram Sang }; 156e8ac55a5SWolfram Sang 1570e6fb83eSWolfram Sang i2c0_pins: i2c0 { 1580e6fb83eSWolfram Sang groups = "i2c0"; 1590e6fb83eSWolfram Sang function = "i2c0"; 1600e6fb83eSWolfram Sang }; 1610e6fb83eSWolfram Sang 1620e6fb83eSWolfram Sang i2c1_pins: i2c1 { 1630e6fb83eSWolfram Sang groups = "i2c1"; 1640e6fb83eSWolfram Sang function = "i2c1"; 1650e6fb83eSWolfram Sang }; 1660e6fb83eSWolfram Sang 1670e6fb83eSWolfram Sang i2c6_pins: i2c6 { 1680e6fb83eSWolfram Sang groups = "i2c6"; 1690e6fb83eSWolfram Sang function = "i2c6"; 1700e6fb83eSWolfram Sang }; 1719e921faaSWolfram Sang 172ee33cd69STakeshi Saito mmc_pins: mmc { 173ee33cd69STakeshi Saito groups = "mmc_data8", "mmc_ctrl", "mmc_ds"; 174ee33cd69STakeshi Saito function = "mmc"; 175ee33cd69STakeshi Saito power-source = <1800>; 176ee33cd69STakeshi Saito }; 177ee33cd69STakeshi Saito 1789e921faaSWolfram Sang scif0_pins: scif0 { 1799e921faaSWolfram Sang groups = "scif0_data", "scif0_ctrl"; 1809e921faaSWolfram Sang function = "scif0"; 1819e921faaSWolfram Sang }; 1829e921faaSWolfram Sang 1839e921faaSWolfram Sang scif_clk_pins: scif_clk { 1849e921faaSWolfram Sang groups = "scif_clk"; 1859e921faaSWolfram Sang function = "scif_clk"; 1869e921faaSWolfram Sang }; 1870e6fb83eSWolfram Sang}; 1880e6fb83eSWolfram Sang 189*0fc129baSGeert Uytterhoeven&rwdt { 190*0fc129baSGeert Uytterhoeven timeout-sec = <60>; 191*0fc129baSGeert Uytterhoeven status = "okay"; 192*0fc129baSGeert Uytterhoeven}; 193*0fc129baSGeert Uytterhoeven 19463070d7cSYoshihiro Shimoda&scif0 { 1959e921faaSWolfram Sang pinctrl-0 = <&scif0_pins>; 1969e921faaSWolfram Sang pinctrl-names = "default"; 1979e921faaSWolfram Sang 1989e921faaSWolfram Sang uart-has-rtscts; 19963070d7cSYoshihiro Shimoda status = "okay"; 20063070d7cSYoshihiro Shimoda}; 2019e921faaSWolfram Sang 2029e921faaSWolfram Sang&scif_clk { 2039e921faaSWolfram Sang clock-frequency = <24000000>; 2049e921faaSWolfram Sang}; 205