arm64: dts: rockchip: add allocator type inside vpu & rkvdec for rk3399-android
[firefly-linux-kernel-4.4.55.git] / arch / arm64 / boot / dts / rockchip / rk3366.dtsi
index 749cdf12e67b9f366cdb75b432eb0c704cc49395..6a7088d4351ee84ef0c0a9a52542421d9cf930e3 100644 (file)
                interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
                clocks = <&cru SCLK_USBPHY480M>, <&cru HCLK_HOST>;
                clock-names = "usbphy_480m", "hclk_host0";
+               phys = <&u2phy_host>;
+               phy-names = "usb";
                status = "disabled";
        };
 
                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>;
                        mode-fastboot = <BOOT_FASTBOOT>;
                        mode-loader = <BOOT_LOADER>;
                };
+
+               pmu_pvtm: pmu-pvtm {
+                       compatible = "rockchip,rk3366-pmu-pvtm";
+                       clocks = <&cru SCLK_PVTM_PMU>;
+                       clock-names = "pmu";
+                       status = "disabled";
+               };
        };
 
        amba {
                                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 {