1*724ba675SRob Herring// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2*724ba675SRob Herring 3*724ba675SRob Herring/* 4*724ba675SRob Herring * Copyright (C) 2018 O.S. Systems Software LTDA. 5*724ba675SRob Herring */ 6*724ba675SRob Herring 7*724ba675SRob Herring/dts-v1/; 8*724ba675SRob Herring 9*724ba675SRob Herring#include "rv1108.dtsi" 10*724ba675SRob Herring 11*724ba675SRob Herring/ { 12*724ba675SRob Herring model = "Elgin RV1108 R1 board"; 13*724ba675SRob Herring compatible = "elgin,rv1108-r1", "rockchip,rv1108"; 14*724ba675SRob Herring 15*724ba675SRob Herring aliases { 16*724ba675SRob Herring mmc0 = &emmc; 17*724ba675SRob Herring }; 18*724ba675SRob Herring 19*724ba675SRob Herring memory@60000000 { 20*724ba675SRob Herring device_type = "memory"; 21*724ba675SRob Herring reg = <0x60000000 0x08000000>; 22*724ba675SRob Herring }; 23*724ba675SRob Herring 24*724ba675SRob Herring chosen { 25*724ba675SRob Herring stdout-path = "serial2:1500000n8"; 26*724ba675SRob Herring }; 27*724ba675SRob Herring 28*724ba675SRob Herring vcc_sys: vsys-regulator { 29*724ba675SRob Herring compatible = "regulator-fixed"; 30*724ba675SRob Herring regulator-name = "vsys"; 31*724ba675SRob Herring regulator-min-microvolt = <5000000>; 32*724ba675SRob Herring regulator-max-microvolt = <5000000>; 33*724ba675SRob Herring regulator-boot-on; 34*724ba675SRob Herring }; 35*724ba675SRob Herring}; 36*724ba675SRob Herring 37*724ba675SRob Herring&cpu0 { 38*724ba675SRob Herring cpu-supply = <&vdd_core>; 39*724ba675SRob Herring}; 40*724ba675SRob Herring 41*724ba675SRob Herring&emmc { 42*724ba675SRob Herring bus-width = <8>; 43*724ba675SRob Herring cap-mmc-highspeed; 44*724ba675SRob Herring no-sd; 45*724ba675SRob Herring no-sdio; 46*724ba675SRob Herring non-removable; 47*724ba675SRob Herring mmc-ddr-1_8v; 48*724ba675SRob Herring mmc-hs200-1_8v; 49*724ba675SRob Herring pinctrl-names = "default"; 50*724ba675SRob Herring pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_bus8>; 51*724ba675SRob Herring status = "okay"; 52*724ba675SRob Herring}; 53*724ba675SRob Herring 54*724ba675SRob Herring&gmac { 55*724ba675SRob Herring clock_in_out = "output"; 56*724ba675SRob Herring pinctrl-names = "default"; 57*724ba675SRob Herring pinctrl-0 = <&rmii_pins>; 58*724ba675SRob Herring snps,reset-gpio = <&gpio1 RK_PC1 GPIO_ACTIVE_LOW>; 59*724ba675SRob Herring snps,reset-active-low; 60*724ba675SRob Herring status = "okay"; 61*724ba675SRob Herring}; 62*724ba675SRob Herring 63*724ba675SRob Herring&i2c0 { 64*724ba675SRob Herring clock-frequency = <400000>; 65*724ba675SRob Herring i2c-scl-rising-time-ns = <275>; 66*724ba675SRob Herring i2c-scl-falling-time-ns = <16>; 67*724ba675SRob Herring status = "okay"; 68*724ba675SRob Herring 69*724ba675SRob Herring rk805: pmic@18 { 70*724ba675SRob Herring compatible = "rockchip,rk805"; 71*724ba675SRob Herring reg = <0x18>; 72*724ba675SRob Herring interrupt-parent = <&gpio0>; 73*724ba675SRob Herring interrupts = <RK_PB4 IRQ_TYPE_LEVEL_LOW>; 74*724ba675SRob Herring rockchip,system-power-controller; 75*724ba675SRob Herring #clock-cells = <0>; 76*724ba675SRob Herring 77*724ba675SRob Herring vcc1-supply = <&vcc_sys>; 78*724ba675SRob Herring vcc2-supply = <&vcc_sys>; 79*724ba675SRob Herring vcc3-supply = <&vcc_sys>; 80*724ba675SRob Herring vcc4-supply = <&vcc_sys>; 81*724ba675SRob Herring vcc5-supply = <&vdd_buck2>; 82*724ba675SRob Herring vcc6-supply = <&vdd_buck2>; 83*724ba675SRob Herring 84*724ba675SRob Herring regulators { 85*724ba675SRob Herring vdd_core: DCDC_REG1 { 86*724ba675SRob Herring regulator-name = "vdd_core"; 87*724ba675SRob Herring regulator-min-microvolt = <700000>; 88*724ba675SRob Herring regulator-max-microvolt = <1500000>; 89*724ba675SRob Herring regulator-always-on; 90*724ba675SRob Herring regulator-boot-on; 91*724ba675SRob Herring regulator-state-mem { 92*724ba675SRob Herring regulator-on-in-suspend; 93*724ba675SRob Herring regulator-suspend-microvolt = <900000>; 94*724ba675SRob Herring }; 95*724ba675SRob Herring }; 96*724ba675SRob Herring 97*724ba675SRob Herring vdd_buck2: DCDC_REG2 { 98*724ba675SRob Herring regulator-name = "vdd_buck2"; 99*724ba675SRob Herring regulator-min-microvolt = <2200000>; 100*724ba675SRob Herring regulator-max-microvolt = <2200000>; 101*724ba675SRob Herring regulator-always-on; 102*724ba675SRob Herring regulator-boot-on; 103*724ba675SRob Herring regulator-state-mem { 104*724ba675SRob Herring regulator-off-in-suspend; 105*724ba675SRob Herring }; 106*724ba675SRob Herring }; 107*724ba675SRob Herring 108*724ba675SRob Herring vcc_ddr: DCDC_REG3 { 109*724ba675SRob Herring regulator-name = "vcc_ddr"; 110*724ba675SRob Herring regulator-always-on; 111*724ba675SRob Herring regulator-boot-on; 112*724ba675SRob Herring regulator-state-mem { 113*724ba675SRob Herring regulator-on-in-suspend; 114*724ba675SRob Herring }; 115*724ba675SRob Herring }; 116*724ba675SRob Herring 117*724ba675SRob Herring vcc_io: DCDC_REG4 { 118*724ba675SRob Herring regulator-name = "vcc_io"; 119*724ba675SRob Herring regulator-min-microvolt = <3300000>; 120*724ba675SRob Herring regulator-max-microvolt = <3300000>; 121*724ba675SRob Herring regulator-always-on; 122*724ba675SRob Herring regulator-boot-on; 123*724ba675SRob Herring regulator-state-mem { 124*724ba675SRob Herring regulator-on-in-suspend; 125*724ba675SRob Herring regulator-suspend-microvolt = <3300000>; 126*724ba675SRob Herring }; 127*724ba675SRob Herring }; 128*724ba675SRob Herring 129*724ba675SRob Herring vdd_10: LDO_REG1 { 130*724ba675SRob Herring regulator-name = "vdd_10"; 131*724ba675SRob Herring regulator-min-microvolt = <1000000>; 132*724ba675SRob Herring regulator-max-microvolt = <1000000>; 133*724ba675SRob Herring regulator-always-on; 134*724ba675SRob Herring regulator-boot-on; 135*724ba675SRob Herring regulator-state-mem { 136*724ba675SRob Herring regulator-off-in-suspend; 137*724ba675SRob Herring }; 138*724ba675SRob Herring }; 139*724ba675SRob Herring 140*724ba675SRob Herring vcc_18: LDO_REG2 { 141*724ba675SRob Herring regulator-name = "vcc_18"; 142*724ba675SRob Herring regulator-min-microvolt = <1800000>; 143*724ba675SRob Herring regulator-max-microvolt = <1800000>; 144*724ba675SRob Herring regulator-always-on; 145*724ba675SRob Herring regulator-boot-on; 146*724ba675SRob Herring regulator-state-mem { 147*724ba675SRob Herring regulator-off-in-suspend; 148*724ba675SRob Herring }; 149*724ba675SRob Herring }; 150*724ba675SRob Herring 151*724ba675SRob Herring vdd10_pmu: LDO_REG3 { 152*724ba675SRob Herring regulator-name = "vdd10_pmu"; 153*724ba675SRob Herring regulator-min-microvolt = <1000000>; 154*724ba675SRob Herring regulator-max-microvolt = <1000000>; 155*724ba675SRob Herring regulator-always-on; 156*724ba675SRob Herring regulator-boot-on; 157*724ba675SRob Herring regulator-state-mem { 158*724ba675SRob Herring regulator-on-in-suspend; 159*724ba675SRob Herring regulator-suspend-microvolt = <1000000>; 160*724ba675SRob Herring }; 161*724ba675SRob Herring }; 162*724ba675SRob Herring }; 163*724ba675SRob Herring }; 164*724ba675SRob Herring}; 165*724ba675SRob Herring 166*724ba675SRob Herring&spi { 167*724ba675SRob Herring pinctrl-names = "default"; 168*724ba675SRob Herring pinctrl-0 = <&spim1_clk &spim1_cs0 &spim1_tx &spim1_rx>; 169*724ba675SRob Herring status = "okay"; 170*724ba675SRob Herring 171*724ba675SRob Herring dh2228fv: dac@0 { 172*724ba675SRob Herring compatible = "rohm,dh2228fv"; 173*724ba675SRob Herring reg = <0>; 174*724ba675SRob Herring spi-max-frequency = <24000000>; 175*724ba675SRob Herring spi-cpha; 176*724ba675SRob Herring spi-cpol; 177*724ba675SRob Herring }; 178*724ba675SRob Herring}; 179*724ba675SRob Herring 180*724ba675SRob Herring&u2phy { 181*724ba675SRob Herring status = "okay"; 182*724ba675SRob Herring 183*724ba675SRob Herring u2phy_host: host-port { 184*724ba675SRob Herring status = "okay"; 185*724ba675SRob Herring }; 186*724ba675SRob Herring 187*724ba675SRob Herring u2phy_otg: otg-port { 188*724ba675SRob Herring status = "okay"; 189*724ba675SRob Herring }; 190*724ba675SRob Herring}; 191*724ba675SRob Herring 192*724ba675SRob Herring&uart0 { 193*724ba675SRob Herring pinctrl-names = "default"; 194*724ba675SRob Herring pinctrl-0 = <&uart0_xfer>; 195*724ba675SRob Herring status = "okay"; 196*724ba675SRob Herring}; 197*724ba675SRob Herring 198*724ba675SRob Herring&uart2 { 199*724ba675SRob Herring status = "okay"; 200*724ba675SRob Herring}; 201*724ba675SRob Herring 202*724ba675SRob Herring&usb_host_ehci { 203*724ba675SRob Herring status = "okay"; 204*724ba675SRob Herring}; 205*724ba675SRob Herring 206*724ba675SRob Herring&usb_host_ohci { 207*724ba675SRob Herring status = "okay"; 208*724ba675SRob Herring}; 209*724ba675SRob Herring 210*724ba675SRob Herring&usb_otg { 211*724ba675SRob Herring status = "okay"; 212*724ba675SRob Herring}; 213