X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=arch%2Farm64%2Fboot%2Fdts%2Frockchip%2Frk3399-evb-rev3.dtsi;h=36cfd18a0fdc55a2ed83abe3bd82ade36ddcde85;hb=742fcbd0cf879d0be039368b11a0b1893c430030;hp=1a3c45cb851a24ff4fc8f93c2de684e7e09bcc5d;hpb=5348b2111db4258d2698574b71b99dcfd762eae4;p=firefly-linux-kernel-4.4.55.git diff --git a/arch/arm64/boot/dts/rockchip/rk3399-evb-rev3.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-evb-rev3.dtsi index 1a3c45cb851a..36cfd18a0fdc 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-evb-rev3.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399-evb-rev3.dtsi @@ -53,6 +53,18 @@ regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>; }; + + vdd_center: vdd-center { + compatible = "pwm-regulator"; + rockchip,pwm_id = <2>; + rockchip,pwm_voltage = <900000>; + pwms = <&pwm2 0 25000 0>; + regulator-name = "vdd_center"; + regulator-min-microvolt = <800000>; + regulator-max-microvolt = <1400000>; + regulator-always-on; + regulator-boot-on; + }; }; &cluster0_opp { @@ -71,7 +83,7 @@ }; opp@1008000000 { opp-hz = /bits/ 64 <1008000000>; - opp-microvolt = <875000>; + opp-microvolt = <850000>; }; opp@1200000000 { opp-hz = /bits/ 64 <1200000000>; @@ -83,7 +95,7 @@ }; opp@1512000000 { opp-hz = /bits/ 64 <1512000000>; - opp-microvolt = <1075000>; + opp-microvolt = <1100000>; }; }; @@ -103,27 +115,27 @@ }; opp@1008000000 { opp-hz = /bits/ 64 <1008000000>; - opp-microvolt = <875000>; + opp-microvolt = <850000>; }; opp@1200000000 { opp-hz = /bits/ 64 <1200000000>; - opp-microvolt = <950000>; + opp-microvolt = <900000>; }; opp@1416000000 { opp-hz = /bits/ 64 <1416000000>; - opp-microvolt = <1025000>; + opp-microvolt = <1000000>; }; opp@1608000000 { opp-hz = /bits/ 64 <1608000000>; - opp-microvolt = <1100000>; + opp-microvolt = <1050000>; }; opp@1800000000 { opp-hz = /bits/ 64 <1800000000>; - opp-microvolt = <1175000>; + opp-microvolt = <1150000>; }; opp@1992000000 { opp-hz = /bits/ 64 <1992000000>; - opp-microvolt = <1250000>; + opp-microvolt = <1225000>; }; }; @@ -220,22 +232,30 @@ opp-hz = /bits/ 64 <600000000>; opp-microvolt = <900000>; }; - opp@700000000 { - opp-hz = /bits/ 64 <700000000>; - opp-microvolt = <925000>; - }; opp@800000000 { opp-hz = /bits/ 64 <800000000>; - opp-microvolt = <950000>; + opp-microvolt = <1000000>; }; }; &i2c0 { + fusb1: fusb30x@22 { + compatible = "fairchild,fusb302"; + reg = <0x22>; + pinctrl-names = "default"; + pinctrl-0 = <&fusb1_int>; + vbus-5v-gpios = <&gpio1 4 GPIO_ACTIVE_LOW>; + int-n-gpios = <&gpio1 24 GPIO_ACTIVE_HIGH>; + status = "okay"; + }; + vdd_cpu_b: syr827@40 { compatible = "silergy,syr827"; reg = <0x40>; vin-supply = <&vcc5v0_sys>; regulator-compatible = "fan53555-reg"; + pinctrl-0 = <&vsel1_gpio>; + vsel-gpios = <&gpio1 17 GPIO_ACTIVE_HIGH>; regulator-name = "vdd_cpu_b"; regulator-min-microvolt = <712500>; regulator-max-microvolt = <1500000>; @@ -254,6 +274,8 @@ reg = <0x41>; vin-supply = <&vcc5v0_sys>; regulator-compatible = "fan53555-reg"; + pinctrl-0 = <&vsel2_gpio>; + vsel-gpios = <&gpio1 14 GPIO_ACTIVE_HIGH>; regulator-name = "vdd_gpu"; regulator-min-microvolt = <712500>; regulator-max-microvolt = <1500000>; @@ -298,6 +320,7 @@ regulator-boot-on; regulator-min-microvolt = <750000>; regulator-max-microvolt = <1350000>; + regulator-ramp-delay = <6001>; regulator-name = "vdd_log"; regulator-state-mem { regulator-on-in-suspend; @@ -310,6 +333,7 @@ regulator-boot-on; regulator-min-microvolt = <750000>; regulator-max-microvolt = <1350000>; + regulator-ramp-delay = <6001>; regulator-name = "vdd_cpu_l"; regulator-state-mem { regulator-off-in-suspend; @@ -434,7 +458,7 @@ regulator-boot-on; regulator-name = "vcc3v3_s3"; regulator-state-mem { - regulator-off-in-suspend; + regulator-on-in-suspend; }; }; @@ -449,3 +473,24 @@ }; }; }; + +&es8316 { + reg = <0x11>; +}; + +&i2c6 { + status = "okay"; + fusb0: fusb30x@22 { + compatible = "fairchild,fusb302"; + reg = <0x22>; + pinctrl-names = "default"; + pinctrl-0 = <&fusb0_int>; + vbus-5v-gpios = <&gpio1 3 GPIO_ACTIVE_LOW>; + int-n-gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>; + status = "okay"; + }; +}; + +&pwm2 { + status = "okay"; +};