X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=arch%2Farm64%2Fboot%2Fdts%2Frockchip%2Frk3366.dtsi;h=b9a371940240885d838ff84572d1afadba142b44;hb=d356b80cab42a2acb515bc08a1fcc99466627a83;hp=3ae404c56cd4c17d47624c0d809e1eb94e50b45c;hpb=670ad70989eff14b9c5892555bbc612b01569661;p=firefly-linux-kernel-4.4.55.git diff --git a/arch/arm64/boot/dts/rockchip/rk3366.dtsi b/arch/arm64/boot/dts/rockchip/rk3366.dtsi index 3ae404c56cd4..b9a371940240 100644 --- a/arch/arm64/boot/dts/rockchip/rk3366.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3366.dtsi @@ -48,7 +48,7 @@ #include #include #include -#include +#include #include / { @@ -159,6 +159,20 @@ }; }; + cpu_avs: cpu-avs { + cluster0-avs { + cluster-id = <0>; + min-volt = <950000>; /* uV */ + min-freq = <408000>; /* KHz */ + leakage-adjust-volt = < + /* mA mA uV */ + 0 254 0 + >; + nvmem-cells = <&cpu_leakage>; + nvmem-cell-names = "cpu_leakage"; + }; + }; + psci { compatible = "arm,psci-1.0"; method = "smc"; @@ -479,8 +493,8 @@ compatible = "generic-ehci"; reg = <0x0 0xff480000 0x0 0x20000>; interrupts = ; - clocks = <&cru SCLK_OTG_PHY0>, <&cru HCLK_HOST>; - clock-names = "sclk_otgphy0", "hclk_host0"; + clocks = <&cru SCLK_USBPHY480M>, <&cru HCLK_HOST>; + clock-names = "usbphy_480m", "hclk_host0"; phys = <&u2phy_host>; phy-names = "usb"; status = "disabled"; @@ -490,8 +504,10 @@ compatible = "generic-ohci"; reg = <0x0 0xff4a0000 0x0 0x20000>; interrupts = ; - clocks = <&cru SCLK_OTG_PHY0>, <&cru HCLK_HOST>; - clock-names = "sclk_otgphy0", "hclk_host0"; + clocks = <&cru SCLK_USBPHY480M>, <&cru HCLK_HOST>; + clock-names = "usbphy_480m", "hclk_host0"; + phys = <&u2phy_host>; + phy-names = "usb"; status = "disabled"; }; @@ -523,6 +539,29 @@ status = "disabled"; }; + efuse: efuse@ff670000 { + compatible = "rockchip,rk3366-efuse"; + reg = <0x0 0xff670000 0x0 0x20>; + #address-cells = <1>; + #size-cells = <1>; + clocks = <&cru PCLK_EFUSE_256>; + clock-names = "pclk_efuse"; + + /* Data cells */ + cpu_leakage: cpu-leakage { + reg = <0x17 0x1>; + }; + gpu_leakage: gpu-leakage { + reg = <0x18 0x1>; + }; + logic_leakage: logic-leakage { + reg = <0x19 0x1>; + }; + wafer_info: wafer-info { + reg = <0x1c 0x1>; + }; + }; + pwm0: pwm@ff680000 { compatible = "rockchip,rk3368-pwm", "rockchip,rk3288-pwm"; reg = <0x0 0xff680000 0x0 0x10>; @@ -692,7 +731,14 @@ mode-normal = ; mode-recovery = ; mode-fastboot = ; - mode-loader = ; + mode-loader = ; + }; + + pmu_pvtm: pmu-pvtm { + compatible = "rockchip,rk3366-pmu-pvtm"; + clocks = <&cru SCLK_PVTM_PMU>; + clock-names = "pmu"; + status = "disabled"; }; }; @@ -783,6 +829,13 @@ status = "okay"; }; }; + + pvtm: pvtm { + compatible = "rockchip,rk3366-pvtm"; + clocks = <&cru SCLK_PVTM_CORE>, <&cru SCLK_PVTM_GPU>; + clock-names = "core", "gpu"; + status = "disabled"; + }; }; wdt: watchdog@ff800000 {