1*724ba675SRob Herring// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2*724ba675SRob Herring/* 3*724ba675SRob Herring * Copyright (c) 2014 Romain Perier <romain.perier@gmail.com> 4*724ba675SRob Herring */ 5*724ba675SRob Herring 6*724ba675SRob Herring/dts-v1/; 7*724ba675SRob Herring#include "rk3066a.dtsi" 8*724ba675SRob Herring 9*724ba675SRob Herring/ { 10*724ba675SRob Herring model = "MarsBoard RK3066"; 11*724ba675SRob Herring compatible = "haoyu,marsboard-rk3066", "rockchip,rk3066a"; 12*724ba675SRob Herring 13*724ba675SRob Herring aliases { 14*724ba675SRob Herring mmc0 = &mmc0; 15*724ba675SRob Herring }; 16*724ba675SRob Herring 17*724ba675SRob Herring memory@60000000 { 18*724ba675SRob Herring device_type = "memory"; 19*724ba675SRob Herring reg = <0x60000000 0x40000000>; 20*724ba675SRob Herring }; 21*724ba675SRob Herring 22*724ba675SRob Herring vdd_log: vdd-log { 23*724ba675SRob Herring compatible = "pwm-regulator"; 24*724ba675SRob Herring pwms = <&pwm3 0 1000>; 25*724ba675SRob Herring regulator-name = "vdd_log"; 26*724ba675SRob Herring regulator-min-microvolt = <1200000>; 27*724ba675SRob Herring regulator-max-microvolt = <1200000>; 28*724ba675SRob Herring regulator-always-on; 29*724ba675SRob Herring voltage-table = <1000000 100>, 30*724ba675SRob Herring <1200000 42>; 31*724ba675SRob Herring status = "okay"; 32*724ba675SRob Herring }; 33*724ba675SRob Herring 34*724ba675SRob Herring vcc_sd0: sdmmc-regulator { 35*724ba675SRob Herring compatible = "regulator-fixed"; 36*724ba675SRob Herring regulator-name = "sdmmc-supply"; 37*724ba675SRob Herring regulator-min-microvolt = <3000000>; 38*724ba675SRob Herring regulator-max-microvolt = <3000000>; 39*724ba675SRob Herring gpio = <&gpio3 RK_PA7 GPIO_ACTIVE_LOW>; 40*724ba675SRob Herring startup-delay-us = <100000>; 41*724ba675SRob Herring vin-supply = <&vcc_io>; 42*724ba675SRob Herring }; 43*724ba675SRob Herring 44*724ba675SRob Herring vsys: vsys-regulator { 45*724ba675SRob Herring compatible = "regulator-fixed"; 46*724ba675SRob Herring regulator-name = "vsys"; 47*724ba675SRob Herring regulator-min-microvolt = <5000000>; 48*724ba675SRob Herring regulator-max-microvolt = <5000000>; 49*724ba675SRob Herring regulator-boot-on; 50*724ba675SRob Herring }; 51*724ba675SRob Herring}; 52*724ba675SRob Herring 53*724ba675SRob Herring&cpu0 { 54*724ba675SRob Herring cpu-supply = <&vdd_arm>; 55*724ba675SRob Herring}; 56*724ba675SRob Herring 57*724ba675SRob Herring&cpu1 { 58*724ba675SRob Herring cpu-supply = <&vdd_arm>; 59*724ba675SRob Herring}; 60*724ba675SRob Herring 61*724ba675SRob Herring&i2c1 { 62*724ba675SRob Herring status = "okay"; 63*724ba675SRob Herring clock-frequency = <400000>; 64*724ba675SRob Herring 65*724ba675SRob Herring tps: tps@2d { 66*724ba675SRob Herring reg = <0x2d>; 67*724ba675SRob Herring 68*724ba675SRob Herring interrupt-parent = <&gpio6>; 69*724ba675SRob Herring interrupts = <RK_PA4 IRQ_TYPE_LEVEL_LOW>; 70*724ba675SRob Herring 71*724ba675SRob Herring vcc1-supply = <&vsys>; 72*724ba675SRob Herring vcc2-supply = <&vsys>; 73*724ba675SRob Herring vcc3-supply = <&vsys>; 74*724ba675SRob Herring vcc4-supply = <&vsys>; 75*724ba675SRob Herring vcc5-supply = <&vcc_io>; 76*724ba675SRob Herring vcc6-supply = <&vcc_io>; 77*724ba675SRob Herring vcc7-supply = <&vsys>; 78*724ba675SRob Herring vccio-supply = <&vsys>; 79*724ba675SRob Herring 80*724ba675SRob Herring regulators { 81*724ba675SRob Herring vcc_rtc: regulator@0 { 82*724ba675SRob Herring regulator-name = "vcc_rtc"; 83*724ba675SRob Herring regulator-always-on; 84*724ba675SRob Herring }; 85*724ba675SRob Herring 86*724ba675SRob Herring vcc_io: regulator@1 { 87*724ba675SRob Herring regulator-name = "vcc_io"; 88*724ba675SRob Herring regulator-always-on; 89*724ba675SRob Herring }; 90*724ba675SRob Herring 91*724ba675SRob Herring vdd_arm: regulator@2 { 92*724ba675SRob Herring regulator-name = "vdd_arm"; 93*724ba675SRob Herring regulator-min-microvolt = <600000>; 94*724ba675SRob Herring regulator-max-microvolt = <1500000>; 95*724ba675SRob Herring regulator-boot-on; 96*724ba675SRob Herring regulator-always-on; 97*724ba675SRob Herring }; 98*724ba675SRob Herring 99*724ba675SRob Herring vcc_ddr: regulator@3 { 100*724ba675SRob Herring regulator-name = "vcc_ddr"; 101*724ba675SRob Herring regulator-min-microvolt = <600000>; 102*724ba675SRob Herring regulator-max-microvolt = <1500000>; 103*724ba675SRob Herring regulator-boot-on; 104*724ba675SRob Herring regulator-always-on; 105*724ba675SRob Herring }; 106*724ba675SRob Herring 107*724ba675SRob Herring vcc18_cif: regulator@5 { 108*724ba675SRob Herring regulator-name = "vcc18_cif"; 109*724ba675SRob Herring regulator-always-on; 110*724ba675SRob Herring }; 111*724ba675SRob Herring 112*724ba675SRob Herring vdd_11: regulator@6 { 113*724ba675SRob Herring regulator-name = "vdd_11"; 114*724ba675SRob Herring regulator-always-on; 115*724ba675SRob Herring }; 116*724ba675SRob Herring 117*724ba675SRob Herring vcc_25: regulator@7 { 118*724ba675SRob Herring regulator-name = "vcc_25"; 119*724ba675SRob Herring regulator-always-on; 120*724ba675SRob Herring }; 121*724ba675SRob Herring 122*724ba675SRob Herring vcc_18: regulator@8 { 123*724ba675SRob Herring regulator-name = "vcc_18"; 124*724ba675SRob Herring regulator-always-on; 125*724ba675SRob Herring }; 126*724ba675SRob Herring 127*724ba675SRob Herring vcc25_hdmi: regulator@9 { 128*724ba675SRob Herring regulator-name = "vcc25_hdmi"; 129*724ba675SRob Herring regulator-always-on; 130*724ba675SRob Herring }; 131*724ba675SRob Herring 132*724ba675SRob Herring vcca_33: regulator@10 { 133*724ba675SRob Herring regulator-name = "vcca_33"; 134*724ba675SRob Herring regulator-always-on; 135*724ba675SRob Herring }; 136*724ba675SRob Herring 137*724ba675SRob Herring vcc_rmii: regulator@11 { 138*724ba675SRob Herring regulator-name = "vcc_rmii"; 139*724ba675SRob Herring }; 140*724ba675SRob Herring 141*724ba675SRob Herring vcc28_cif: regulator@12 { 142*724ba675SRob Herring regulator-name = "vcc28_cif"; 143*724ba675SRob Herring regulator-always-on; 144*724ba675SRob Herring }; 145*724ba675SRob Herring }; 146*724ba675SRob Herring }; 147*724ba675SRob Herring}; 148*724ba675SRob Herring 149*724ba675SRob Herring/* must be included after &tps gets defined */ 150*724ba675SRob Herring#include "../tps65910.dtsi" 151*724ba675SRob Herring 152*724ba675SRob Herring&emac { 153*724ba675SRob Herring phy = <&phy0>; 154*724ba675SRob Herring phy-supply = <&vcc_rmii>; 155*724ba675SRob Herring pinctrl-names = "default"; 156*724ba675SRob Herring pinctrl-0 = <&emac_xfer>, <&emac_mdio>, <&phy_int>; 157*724ba675SRob Herring status = "okay"; 158*724ba675SRob Herring 159*724ba675SRob Herring mdio { 160*724ba675SRob Herring #address-cells = <1>; 161*724ba675SRob Herring #size-cells = <0>; 162*724ba675SRob Herring 163*724ba675SRob Herring phy0: ethernet-phy@0 { 164*724ba675SRob Herring reg = <0>; 165*724ba675SRob Herring interrupt-parent = <&gpio1>; 166*724ba675SRob Herring interrupts = <RK_PD2 IRQ_TYPE_LEVEL_LOW>; 167*724ba675SRob Herring }; 168*724ba675SRob Herring }; 169*724ba675SRob Herring}; 170*724ba675SRob Herring 171*724ba675SRob Herring&mmc0 { 172*724ba675SRob Herring status = "okay"; 173*724ba675SRob Herring 174*724ba675SRob Herring pinctrl-names = "default"; 175*724ba675SRob Herring pinctrl-0 = <&sd0_clk>, <&sd0_cmd>, <&sd0_cd>, <&sd0_bus4>; 176*724ba675SRob Herring vmmc-supply = <&vcc_sd0>; 177*724ba675SRob Herring}; 178*724ba675SRob Herring 179*724ba675SRob Herring&pinctrl { 180*724ba675SRob Herring lan8720a { 181*724ba675SRob Herring phy_int: phy-int { 182*724ba675SRob Herring rockchip,pins = <1 RK_PD2 RK_FUNC_GPIO &pcfg_pull_none>; 183*724ba675SRob Herring }; 184*724ba675SRob Herring }; 185*724ba675SRob Herring}; 186*724ba675SRob Herring 187*724ba675SRob Herring&pwm3 { 188*724ba675SRob Herring status = "okay"; 189*724ba675SRob Herring}; 190*724ba675SRob Herring 191*724ba675SRob Herring&uart0 { 192*724ba675SRob Herring status = "okay"; 193*724ba675SRob Herring}; 194*724ba675SRob Herring 195*724ba675SRob Herring&uart1 { 196*724ba675SRob Herring status = "okay"; 197*724ba675SRob Herring}; 198*724ba675SRob Herring 199*724ba675SRob Herring&uart2 { 200*724ba675SRob Herring status = "okay"; 201*724ba675SRob Herring}; 202*724ba675SRob Herring 203*724ba675SRob Herring&uart3 { 204*724ba675SRob Herring status = "okay"; 205*724ba675SRob Herring}; 206*724ba675SRob Herring 207*724ba675SRob Herring&usbphy { 208*724ba675SRob Herring status = "okay"; 209*724ba675SRob Herring}; 210*724ba675SRob Herring 211*724ba675SRob Herring&usb_host { 212*724ba675SRob Herring status = "okay"; 213*724ba675SRob Herring}; 214*724ba675SRob Herring 215*724ba675SRob Herring&usb_otg { 216*724ba675SRob Herring status = "okay"; 217*724ba675SRob Herring}; 218*724ba675SRob Herring 219*724ba675SRob Herring&wdt { 220*724ba675SRob Herring status = "okay"; 221*724ba675SRob Herring}; 222