1b9edbce9SSergei Shtylyov// SPDX-License-Identifier: GPL-2.0 2b9edbce9SSergei Shtylyov/* 3b9edbce9SSergei Shtylyov * Device Tree Source for the Condor board 4b9edbce9SSergei Shtylyov * 5b9edbce9SSergei Shtylyov * Copyright (C) 2018 Renesas Electronics Corp. 6b9edbce9SSergei Shtylyov * Copyright (C) 2018 Cogent Embedded, Inc. 7b9edbce9SSergei Shtylyov */ 8b9edbce9SSergei Shtylyov 9b9edbce9SSergei Shtylyov/dts-v1/; 10b9edbce9SSergei Shtylyov#include "r8a77980.dtsi" 11b9edbce9SSergei Shtylyov 12b9edbce9SSergei Shtylyov/ { 13b9edbce9SSergei Shtylyov model = "Renesas Condor board based on r8a77980"; 14b9edbce9SSergei Shtylyov compatible = "renesas,condor", "renesas,r8a77980"; 15b9edbce9SSergei Shtylyov 16b9edbce9SSergei Shtylyov aliases { 17b9edbce9SSergei Shtylyov serial0 = &scif0; 188091788fSSergei Shtylyov ethernet0 = &avb; 19b9edbce9SSergei Shtylyov }; 20b9edbce9SSergei Shtylyov 21b9edbce9SSergei Shtylyov chosen { 22b9edbce9SSergei Shtylyov stdout-path = "serial0:115200n8"; 23b9edbce9SSergei Shtylyov }; 24b9edbce9SSergei Shtylyov 25b9edbce9SSergei Shtylyov memory@48000000 { 26b9edbce9SSergei Shtylyov device_type = "memory"; 27b9edbce9SSergei Shtylyov /* first 128MB is reserved for secure area. */ 28b9edbce9SSergei Shtylyov reg = <0 0x48000000 0 0x78000000>; 29b9edbce9SSergei Shtylyov }; 30*cc922244SSergei Shtylyov 31*cc922244SSergei Shtylyov d3_3v: regulator-0 { 32*cc922244SSergei Shtylyov compatible = "regulator-fixed"; 33*cc922244SSergei Shtylyov regulator-name = "D3.3V"; 34*cc922244SSergei Shtylyov regulator-min-microvolt = <3300000>; 35*cc922244SSergei Shtylyov regulator-max-microvolt = <3300000>; 36*cc922244SSergei Shtylyov regulator-boot-on; 37*cc922244SSergei Shtylyov regulator-always-on; 38*cc922244SSergei Shtylyov }; 39*cc922244SSergei Shtylyov 40*cc922244SSergei Shtylyov vddq_vin01: regulator-1 { 41*cc922244SSergei Shtylyov compatible = "regulator-fixed"; 42*cc922244SSergei Shtylyov regulator-name = "VDDQ_VIN01"; 43*cc922244SSergei Shtylyov regulator-min-microvolt = <1800000>; 44*cc922244SSergei Shtylyov regulator-max-microvolt = <1800000>; 45*cc922244SSergei Shtylyov regulator-boot-on; 46*cc922244SSergei Shtylyov regulator-always-on; 47*cc922244SSergei Shtylyov }; 48b9edbce9SSergei Shtylyov}; 49b9edbce9SSergei Shtylyov 508091788fSSergei Shtylyov&avb { 5155cda281SSergei Shtylyov pinctrl-0 = <&avb_pins>; 5255cda281SSergei Shtylyov pinctrl-names = "default"; 5355cda281SSergei Shtylyov 548091788fSSergei Shtylyov phy-mode = "rgmii-id"; 558091788fSSergei Shtylyov phy-handle = <&phy0>; 568091788fSSergei Shtylyov renesas,no-ether-link; 578091788fSSergei Shtylyov status = "okay"; 588091788fSSergei Shtylyov 598091788fSSergei Shtylyov phy0: ethernet-phy@0 { 608091788fSSergei Shtylyov rxc-skew-ps = <1500>; 618091788fSSergei Shtylyov reg = <0>; 628091788fSSergei Shtylyov }; 638091788fSSergei Shtylyov}; 648091788fSSergei Shtylyov 65b9edbce9SSergei Shtylyov&extal_clk { 66b9edbce9SSergei Shtylyov clock-frequency = <16666666>; 67b9edbce9SSergei Shtylyov}; 68b9edbce9SSergei Shtylyov 69b9edbce9SSergei Shtylyov&extalr_clk { 70b9edbce9SSergei Shtylyov clock-frequency = <32768>; 71b9edbce9SSergei Shtylyov}; 72b9edbce9SSergei Shtylyov 73*cc922244SSergei Shtylyov&mmc0 { 74*cc922244SSergei Shtylyov pinctrl-0 = <&mmc_pins>; 75*cc922244SSergei Shtylyov pinctrl-1 = <&mmc_pins_uhs>; 76*cc922244SSergei Shtylyov pinctrl-names = "default", "state_uhs"; 77*cc922244SSergei Shtylyov 78*cc922244SSergei Shtylyov vmmc-supply = <&d3_3v>; 79*cc922244SSergei Shtylyov vqmmc-supply = <&vddq_vin01>; 80*cc922244SSergei Shtylyov mmc-hs200-1_8v; 81*cc922244SSergei Shtylyov bus-width = <8>; 82*cc922244SSergei Shtylyov non-removable; 83*cc922244SSergei Shtylyov status = "okay"; 84*cc922244SSergei Shtylyov}; 85*cc922244SSergei Shtylyov 86a824e63cSSergei Shtylyov&pfc { 8755cda281SSergei Shtylyov avb_pins: avb { 8855cda281SSergei Shtylyov groups = "avb_mdio", "avb_rgmii"; 8955cda281SSergei Shtylyov function = "avb"; 9055cda281SSergei Shtylyov }; 9155cda281SSergei Shtylyov 92*cc922244SSergei Shtylyov mmc_pins: mmc { 93*cc922244SSergei Shtylyov groups = "mmc_data8", "mmc_ctrl", "mmc_ds"; 94*cc922244SSergei Shtylyov function = "mmc"; 95*cc922244SSergei Shtylyov power-source = <3300>; 96*cc922244SSergei Shtylyov }; 97*cc922244SSergei Shtylyov 98*cc922244SSergei Shtylyov mmc_pins_uhs: mmc_uhs { 99*cc922244SSergei Shtylyov groups = "mmc_data8", "mmc_ctrl", "mmc_ds"; 100*cc922244SSergei Shtylyov function = "mmc"; 101*cc922244SSergei Shtylyov power-source = <1800>; 102*cc922244SSergei Shtylyov }; 103*cc922244SSergei Shtylyov 104a824e63cSSergei Shtylyov scif0_pins: scif0 { 105a824e63cSSergei Shtylyov groups = "scif0_data"; 106a824e63cSSergei Shtylyov function = "scif0"; 107a824e63cSSergei Shtylyov }; 108a824e63cSSergei Shtylyov 109a824e63cSSergei Shtylyov scif_clk_pins: scif_clk { 110a824e63cSSergei Shtylyov groups = "scif_clk_b"; 111a824e63cSSergei Shtylyov function = "scif_clk"; 112a824e63cSSergei Shtylyov }; 113a824e63cSSergei Shtylyov}; 114a824e63cSSergei Shtylyov 115b9edbce9SSergei Shtylyov&scif0 { 116a824e63cSSergei Shtylyov pinctrl-0 = <&scif0_pins>, <&scif_clk_pins>; 117a824e63cSSergei Shtylyov pinctrl-names = "default"; 118a824e63cSSergei Shtylyov 119b9edbce9SSergei Shtylyov status = "okay"; 120b9edbce9SSergei Shtylyov}; 121b9edbce9SSergei Shtylyov 122b9edbce9SSergei Shtylyov&scif_clk { 123b9edbce9SSergei Shtylyov clock-frequency = <14745600>; 124b9edbce9SSergei Shtylyov}; 125