/* * (C) Copyright 2016 Rockchip Electronics Co., Ltd * * SPDX-License-Identifier: GPL-2.0+ */ /dts-v1/; #include "rv1108.dtsi" #include "rv1108-sdram-ddr3-400.dtsi" / { model = "Rockchip RV1108 Evaluation board"; compatible = "rockchip,rv1108-evb", "rockchip,rv1108"; memory@60000000 { device_type = "memory"; reg = <0x60000000 0x08000000>; }; chosen { stdout-path = "serial2:1500000n8"; }; vcc5v0_otg: vcc5v0-otg-drv { compatible = "regulator-fixed"; enable-active-high; regulator-name = "vcc5v0_otg"; gpio = <&gpio0 RK_PB0 GPIO_ACTIVE_HIGH>; regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>; }; }; &gmac { status = "okay"; clock_in_out = <0>; snps,reset-active-low; snps,reset-delays-us = <0 10000 1000000>; snps,reset-gpio = <&gpio1 RK_PC1 GPIO_ACTIVE_LOW>; }; &saradc { status = "okay"; }; &sfc { status = "okay"; flash@0 { compatible = "gd25q256","spi-flash"; reg = <0>; spi-tx-bus-width = <1>; spi-rx-bus-width = <4>; spi-max-frequency = <96000000>; }; }; &u2phy { status = "okay"; }; &u2phy_otg { status = "okay"; }; &u2phy_host { status = "okay"; }; &uart0 { status = "okay"; }; &uart1 { status = "okay"; }; &uart2 { status = "okay"; }; &usb20_otg { vbus-supply = <&vcc5v0_otg>; status = "okay"; }; &usb_host_ehci { status = "okay"; }; &usb_host_ohci { status = "okay"; }; &i2c0 { i2c-scl-rising-time-ns = <275>; i2c-scl-falling-time-ns = <16>; clock-frequency = <200000>; nack-retry = <1>; status = "okay"; rk805: pmic@18 { compatible = "rockchip,rk805"; status = "okay"; reg = <0x18>; interrupt-parent = <&gpio1>; interrupts = <6 IRQ_TYPE_LEVEL_LOW>; pinctrl-names = "default"; pinctrl-0 = <&pmic_int_l>; rockchip,system-power-controller; wakeup-source; gpio-controller; #gpio-cells = <2>; #clock-cells = <1>; clock-output-names = "xin32k", "rk805-clkout2"; pwrkey { status = "okay"; }; regulators { vdd_arm: DCDC_REG1 { regulator-name = "vdd_arm"; regulator-min-microvolt = <712500>; regulator-max-microvolt = <1450000>; regulator-ramp-delay = <6001>; regulator-boot-on; regulator-always-on; regulator-state-mem { regulator-on-in-suspend; regulator-suspend-microvolt = <1000000>; }; }; vdd_cam: DCDC_REG2 { regulator-name = "vdd_cam"; regulator-min-microvolt = <712500>; regulator-max-microvolt = <2000000>; regulator-ramp-delay = <6001>; regulator-boot-on; regulator-always-on; regulator-state-mem { regulator-on-in-suspend; regulator-suspend-microvolt = <2000000>; }; }; vcc_ddr: DCDC_REG3 { regulator-name = "vcc_ddr"; regulator-boot-on; regulator-always-on; regulator-state-mem { regulator-on-in-suspend; }; }; vcc_io: DCDC_REG4 { regulator-name = "vcc_io"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; regulator-boot-on; regulator-always-on; regulator-state-mem { regulator-on-in-suspend; regulator-suspend-microvolt = <3300000>; }; }; vdd_10: LDO_REG1 { regulator-name = "vdd_10"; regulator-min-microvolt = <1000000>; regulator-max-microvolt = <1000000>; regulator-boot-on; regulator-always-on; regulator-state-mem { regulator-on-in-suspend; regulator-suspend-microvolt = <1000000>; }; }; vcc_18emmc: LDO_REG2 { regulator-name = "vcc_18emmc"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; regulator-boot-on; regulator-always-on; regulator-state-mem { regulator-on-in-suspend; regulator-suspend-microvolt = <1800000>; }; }; vdd_10_pmu: LDO_REG3 { regulator-name = "vdd_10_pmu"; regulator-min-microvolt = <1000000>; regulator-max-microvolt = <1000000>; regulator-boot-on; regulator-always-on; regulator-state-mem { regulator-on-in-suspend; regulator-suspend-microvolt = <1000000>; }; }; }; }; }; &pinctrl { pmic { pmic_int_l: pmic-int-l { rockchip,pins = <0 RK_PB4 RK_FUNC_GPIO &pcfg_pull_up>; }; }; };