Jump to content

cpufrequtils/armbian-config does not load all availiable modes


Rayamando

Recommended Posts

I'm on a Rockpro64 rev2.1 and wanted to use the maximum of the availiable Power of this SoC, so i tried using cpufrequtils and the amrbian config for doing so and noticed two things:

I can only set one of my CPU's frequencies and the maximum is 1800 MHz, so i searched this forum for a while  and found out how to show the device tree table which is currently loaded(dtc -I fs /sys/firmware/devicetree/base/)

and there is one unused mode for both of my CPUs, a 1992 MHz mode for the big chip and a 1512 MHz mode for the small chip, and at this point im stuck.

What could i do to load this modes in the cpufrequtils or the armbian config?

Spoiler

dtc -I fs /sys/firmware/devicetree/base/
<stdout>: Warning (unit_address_vs_reg): Node /ion/cma-heap has a reg or ranges property, but no unit name
<stdout>: Warning (unit_address_vs_reg): Node /memory has a reg or ranges property, but no unit name
<stdout>: Warning (unit_address_format): Node /reserved-memory/drm-logo@00000000 unit name should not have leading 0s
/dts-v1/;

/ {
    model = "Pine64 RockPro64";
    compatible = "pine64,rockpro64", "rockchip,rk3399";
    serial-number = "76c247055755ca9";
    #address-cells = <0x2>;
    #size-cells = <0x2>;
    interrupt-parent = <0x1>;

    dmc {
        interrupts = <0x0 0x1 0x4 0x0>;
        ddr_timing = <0x93>;
        upthreshold = <0x28>;
        compatible = "rockchip,rk3399-dmc";
        clock-names = "dmc_clk";
        operating-points-v2 = <0x94>;
        vop-bw-dmc-freq = <0x0 0x241 0x30d40 0x242 0x6a5 0x493e0 0x6a6 0x1869f 0x61a80>;
        clocks = <0x8 0xaa>;
        devfreq-events = <0x92>;
        system-status-freq = <0x1 0xe3c88 0x8 0x61a80 0x2 0x61a80 0x20 0xe3c88 0x10 0xe3c88 0x10000 0xe3c88 0x2000 0xe3c88 0x1000 0x61a80 0xc00 0xe3c88 0x4000 0xe3c88>;
        downdifferential = <0x14>;
        auto-freq-en = <0x1>;
        status = "okay";
        center-supply = <0x95>;
        phandle = <0xaf>;
        auto-min-freq = <0xc3500>;
    };

    ion {
        compatible = "rockchip,ion";
        #address-cells = <0x1>;
        #size-cells = <0x0>;

        system-heap {
        };

        cma-heap {
            reg = <0x0 0x2000000>;
        };
    };

    hdmi-hdcp2@ff988000 {
        reg = <0x0 0xff988000 0x0 0x2000>;
        interrupts = <0x0 0x16 0x4 0x0>;
        compatible = "rockchip,rk3399-hdmi-hdcp2";
        clock-names = "aclk_hdcp2", "pclk_hdcp2", "hdcp2_clk_hdmi";
        clocks = <0x8 0xe0 0x8 0x176 0x8 0x1e9>;
        status = "disabled";
        phandle = <0x132>;
    };

    amba {
        compatible = "simple-bus";
        ranges;
        #address-cells = <0x2>;
        #size-cells = <0x2>;

        dma-controller@ff6d0000 {
            reg = <0x0 0xff6d0000 0x0 0x4000>;
            interrupts = <0x0 0x5 0x4 0x0 0x0 0x6 0x4 0x0>;
            compatible = "arm,pl330", "arm,primecell";
            clock-names = "apb_pclk";
            peripherals-req-type-burst;
            clocks = <0x8 0xd3>;
            #dma-cells = <0x1>;
            phandle = <0x9b>;
        };

        dma-controller@ff6e0000 {
            reg = <0x0 0xff6e0000 0x0 0x4000>;
            interrupts = <0x0 0x7 0x4 0x0 0x0 0x8 0x4 0x0>;
            compatible = "arm,pl330", "arm,primecell";
            clock-names = "apb_pclk";
            peripherals-req-type-burst;
            clocks = <0x8 0xd4>;
            #dma-cells = <0x1>;
            phandle = <0xdd>;
        };
    };

    cpus {
        #address-cells = <0x2>;
        #size-cells = <0x0>;

        idle-states {
            entry-method = "psci";

            cpu-sleep {
                compatible = "arm,idle-state";
                local-timer-stop;
                arm,psci-suspend-param = <0x10000>;
                exit-latency-us = <0xfa>;
                phandle = <0x9>;
                entry-latency-us = <0x78>;
                min-residency-us = <0x384>;
            };

            cluster-sleep {
                compatible = "arm,idle-state";
                local-timer-stop;
                arm,psci-suspend-param = <0x1010000>;
                exit-latency-us = <0x1f4>;
                phandle = <0xa>;
                entry-latency-us = <0x190>;
                min-residency-us = <0x7d0>;
            };
        };

        cpu-map {

            cluster0 {

                core0 {
                    cpu = <0x2>;
                };

                core1 {
                    cpu = <0x3>;
                };

                core2 {
                    cpu = <0x4>;
                };

                core3 {
                    cpu = <0x5>;
                };
            };

            cluster1 {

                core0 {
                    cpu = <0x6>;
                };

                core1 {
                    cpu = <0x7>;
                };
            };
        };

        cpu@100 {
            reg = <0x0 0x100>;
            sched-energy-costs = <0x10 0x11>;
            compatible = "arm,cortex-a72", "arm,armv8";
            cpu-supply = <0x12>;
            enable-method = "psci";
            operating-points-v2 = <0xf>;
            device_type = "cpu";
            cpu-idle-states = <0x9 0xa>;
            clocks = <0x8 0x9>;
            #cooling-cells = <0x2>;
            phandle = <0x6>;
            dynamic-power-coefficient = <0x1b4>;
        };

        cpu@101 {
            reg = <0x0 0x101>;
            sched-energy-costs = <0x10 0x11>;
            compatible = "arm,cortex-a72", "arm,armv8";
            cpu-supply = <0x12>;
            enable-method = "psci";
            operating-points-v2 = <0xf>;
            device_type = "cpu";
            cpu-idle-states = <0x9 0xa>;
            clocks = <0x8 0x9>;
            phandle = <0x7>;
            dynamic-power-coefficient = <0x1b4>;
        };

        cpu@0 {
            reg = <0x0 0x0>;
            sched-energy-costs = <0xc 0xd>;
            compatible = "arm,cortex-a53", "arm,armv8";
            cpu-supply = <0xe>;
            enable-method = "psci";
            operating-points-v2 = <0xb>;
            device_type = "cpu";
            cpu-idle-states = <0x9 0xa>;
            clocks = <0x8 0x8>;
            #cooling-cells = <0x2>;
            phandle = <0x2>;
            dynamic-power-coefficient = <0x64>;
        };

        cpu@1 {
            reg = <0x0 0x1>;
            sched-energy-costs = <0xc 0xd>;
            compatible = "arm,cortex-a53", "arm,armv8";
            cpu-supply = <0xe>;
            enable-method = "psci";
            operating-points-v2 = <0xb>;
            device_type = "cpu";
            cpu-idle-states = <0x9 0xa>;
            clocks = <0x8 0x8>;
            phandle = <0x3>;
            dynamic-power-coefficient = <0x64>;
        };

        cpu@2 {
            reg = <0x0 0x2>;
            sched-energy-costs = <0xc 0xd>;
            compatible = "arm,cortex-a53", "arm,armv8";
            cpu-supply = <0xe>;
            enable-method = "psci";
            operating-points-v2 = <0xb>;
            device_type = "cpu";
            cpu-idle-states = <0x9 0xa>;
            clocks = <0x8 0x8>;
            phandle = <0x4>;
            dynamic-power-coefficient = <0x64>;
        };

        cpu@3 {
            reg = <0x0 0x3>;
            sched-energy-costs = <0xc 0xd>;
            compatible = "arm,cortex-a53", "arm,armv8";
            cpu-supply = <0xe>;
            enable-method = "psci";
            operating-points-v2 = <0xb>;
            device_type = "cpu";
            cpu-idle-states = <0x9 0xa>;
            clocks = <0x8 0x8>;
            phandle = <0x5>;
            dynamic-power-coefficient = <0x64>;
        };
    };

    leds {
        compatible = "gpio-leds";
        status = "okay";

        diy-led {
            mode = <0x23>;
            gpios = <0x3c 0x2 0x0>;
            default-state = "on";
            linux,default-trigger = "none";
        };

        work-led {
            mode = <0x23>;
            gpios = <0x3c 0xb 0x0>;
            default-state = "on";
            linux,default-trigger = "none";
        };
    };

    psci {
        compatible = "arm,psci-1.0";
        method = "smc";
    };

    usb0 {
        compatible = "rockchip,rk3399-dwc3";
        clock-names = "ref_clk", "suspend_clk", "bus_clk", "grf_clk";
        reset-names = "usb3-otg";
        clocks = <0x8 0x81 0x8 0x83 0x8 0xf6 0x8 0xf9>;
        extcon = <0x28>;
        power-domains = <0x15 0x18>;
        ranges;
        resets = <0x8 0x125>;
        status = "okay";
        #address-cells = <0x2>;
        phandle = <0xe6>;
        #size-cells = <0x2>;

        dwc3@fe800000 {
            reg = <0x0 0xfe800000 0x0 0x100000>;
            phys = <0x29 0x2a>;
            interrupts = <0x0 0x69 0x4 0x0>;
            snps,xhci-slow-suspend-quirk;
            snps,dis_u2_susphy_quirk;
            compatible = "snps,dwc3";
            dr_mode = "otg";
            snps,usb3-warm-reset-on-resume-quirk;
            snps,dis-del-phy-power-chg-quirk;
            snps,dis_enblslpm_quirk;
            snps,xhci-trb-ent-quirk;
            phy-names = "usb2-phy", "usb3-phy";
            phy_type = "utmi_wide";
            status = "okay";
            snps,tx-ipgap-linecheck-dis-quirk;
            phandle = <0xe7>;
            snps,dis-u2-freeclk-exists-quirk;
        };
    };

    usb1 {
        compatible = "rockchip,rk3399-dwc3";
        clock-names = "ref_clk", "suspend_clk", "bus_clk", "grf_clk";
        reset-names = "usb3-otg";
        clocks = <0x8 0x82 0x8 0x84 0x8 0xf7 0x8 0xf9>;
        power-domains = <0x15 0x18>;
        ranges;
        resets = <0x8 0x126>;
        status = "okay";
        #address-cells = <0x2>;
        phandle = <0xe8>;
        #size-cells = <0x2>;

        dwc3@fe900000 {
            reg = <0x0 0xfe900000 0x0 0x100000>;
            phys = <0x2b 0x2c>;
            interrupts = <0x0 0x6e 0x4 0x0>;
            snps,xhci-slow-suspend-quirk;
            snps,dis_u2_susphy_quirk;
            compatible = "snps,dwc3";
            dr_mode = "host";
            snps,usb3-warm-reset-on-resume-quirk;
            snps,dis-del-phy-power-chg-quirk;
            snps,dis_enblslpm_quirk;
            snps,xhci-trb-ent-quirk;
            phy-names = "usb2-phy", "usb3-phy";
            phy_type = "utmi_wide";
            status = "okay";
            snps,tx-ipgap-linecheck-dis-quirk;
            phandle = <0xe9>;
            snps,dis-u2-freeclk-exists-quirk;
        };
    };

    ddr_timing {
        auto_lp_dis_freq = <0x29a>;
        phy_lpddr3_ca_drv = <0x22>;
        phy_lpddr3_dq_drv = <0x22>;
        lpddr3_drv = <0x22>;
        lpddr3_odt = <0xf0>;
        lpddr4_drv = <0xf0>;
        ddr3_dll_dis_freq = <0x12c>;
        sr_mc_gate_idle = <0x0>;
        phy_lpddr4_ck_cs_drv = <0x28>;
        compatible = "rockchip,ddr-timing";
        phy_lpddr3_odt = <0xf0>;
        phy_lpddr4_odt = <0x28>;
        phy_ddr3_ca_drv = <0x28>;
        phy_ddr3_odt = <0xf0>;
        ddr3_speed_bin = <0x15>;
        phy_ddr3_dq_drv = <0x28>;
        sr_idle = <0x0>;
        lpddr4_ca_odt = <0x0>;
        ddr3_drv = <0x28>;
        ddr3_odt = <0x78>;
        lpddr4_dq_odt = <0x28>;
        lpddr4_odt_dis_freq = <0x320>;
        ddr3_odt_dis_freq = <0x29a>;
        phy_lpddr4_ca_drv = <0x28>;
        phy_dll_dis_freq = <0x104>;
        phy_lpddr4_dq_drv = <0x3c>;
        standby_idle = <0x0>;
        pd_idle = <0x0>;
        phandle = <0x93>;
        lpddr3_odt_dis_freq = <0x29a>;
        srpd_lite_idle = <0x0>;
    };

    pwm-fan {
        pwms = <0xd2 0x0 0x2710 0x0>;
        compatible = "pwm-fan";
        cooling-levels = <0x0 0x50 0xaa 0xe6>;
        cooling-min-state = <0x0>;
        #cooling-cells = <0x2>;
        phandle = <0x61>;
        cooling-max-state = <0x3>;
    };

    nocp-video-msch0@ffa87000 {
        reg = <0x0 0xffa87000 0x0 0x400>;
        compatible = "rockchip,rk3399-nocp";
        phandle = <0x13a>;
    };

    tsadc@ff260000 {
        reg = <0x0 0xff260000 0x0 0x100>;
        interrupts = <0x0 0x61 0x4 0x0>;
        rockchip,hw-tshut-mode = <0x1>;
        rockchip,hw-tshut-temp = <0x1adb0>;
        #thermal-sensor-cells = <0x1>;
        pinctrl-0 = <0x63>;
        pinctrl-1 = <0x64>;
        compatible = "rockchip,rk3399-tsadc";
        clock-names = "tsadc", "apb_pclk";
        reset-names = "tsadc-apb";
        clocks = <0x8 0x4f 0x8 0x164>;
        assigned-clock-rates = <0xb71b0>;
        resets = <0x8 0xe8>;
        assigned-clocks = <0x8 0x4f>;
        status = "okay";
        rockchip,hw-tshut-polarity = <0x1>;
        phandle = <0x5d>;
        rockchip,grf = <0x16>;
        pinctrl-names = "gpio", "otpout";
    };

    i2c@ff3c0000 {
        reg = <0x0 0xff3c0000 0x0 0x1000>;
        interrupts = <0x0 0x39 0x4 0x0>;
        pinctrl-0 = <0x32>;
        compatible = "rockchip,rk3399-i2c";
        clock-names = "i2c", "pclk";
        i2c-scl-rising-time-ns = <0xa8>;
        clock-frequency = <0x61a80>;
        clocks = <0x31 0x9 0x31 0x1b>;
        status = "okay";
        i2c-scl-falling-time-ns = <0x4>;
        #address-cells = <0x1>;
        phandle = <0xec>;
        #size-cells = <0x0>;
        pinctrl-names = "default";

        syr827@40 {
            reg = <0x40>;
            regulator-name = "vdd_cpu_b";
            pinctrl-0 = <0x33>;
            compatible = "silergy,syr827";
            fcs,suspend-voltage-selector = <0x1>;
            vsel-gpios = <0x34 0x11 0x0>;
            regulator-always-on;
            regulator-min-microvolt = <0xadf34>;
            vin-supply = <0x35>;
            regulator-max-microvolt = <0x16e360>;
            regulator-compatible = "fan53555-reg";
            phandle = <0x12>;
            regulator-boot-on;
            regulator-ramp-delay = <0x3e8>;

            regulator-state-mem {
                regulator-off-in-suspend;
            };
        };

        syr828@41 {
            reg = <0x41>;
            regulator-name = "vdd_gpu";
            pinctrl-0 = <0x36>;
            compatible = "silergy,syr828";
            fcs,suspend-voltage-selector = <0x1>;
            vsel-gpios = <0x34 0xe 0x0>;
            regulator-always-on;
            regulator-min-microvolt = <0xadf34>;
            vin-supply = <0x35>;
            regulator-max-microvolt = <0x16e360>;
            regulator-initial-mode = <0x1>;
            regulator-compatible = "fan53555-reg";
            phandle = <0xa0>;
            regulator-boot-on;
            regulator-ramp-delay = <0x3e8>;

            regulator-state-mem {
                regulator-off-in-suspend;
            };
        };

        pmic@1b {
            reg = <0x1b>;
            interrupts = <0x15 0x8>;
            #clock-cells = <0x1>;
            pinctrl-0 = <0x37>;
            vcc10-supply = <0x35>;
            vddio-supply = <0x39>;
            compatible = "rockchip,rk808";
            wakeup-source;
            vcc12-supply = <0x38>;
            vcc7-supply = <0x35>;
            vcc2-supply = <0x35>;
            vcc9-supply = <0x35>;
            vcc4-supply = <0x35>;
            clock-output-names = "xin32k", "rk808-clkout2";
            vcc11-supply = <0x35>;
            vcc6-supply = <0x35>;
            vcc1-supply = <0x35>;
            phandle = <0xcd>;
            rockchip,system-power-controller;
            vcc8-supply = <0x38>;
            vcc3-supply = <0x35>;
            pinctrl-names = "default";
            interrupt-parent = <0x34>;

            rtc {
                status = "okay";
            };

            regulators {

                DCDC_REG1 {
                    regulator-name = "vdd_center";
                    regulator-always-on;
                    regulator-min-microvolt = <0xb71b0>;
                    regulator-max-microvolt = <0x149970>;
                    phandle = <0x95>;
                    regulator-boot-on;
                    regulator-ramp-delay = <0x1771>;

                    regulator-state-mem {
                        regulator-off-in-suspend;
                    };
                };

                DCDC_REG2 {
                    regulator-name = "vdd_cpu_l";
                    regulator-always-on;
                    regulator-min-microvolt = <0xb71b0>;
                    regulator-max-microvolt = <0x149970>;
                    phandle = <0xe>;
                    regulator-boot-on;
                    regulator-ramp-delay = <0x1771>;

                    regulator-state-mem {
                        regulator-off-in-suspend;
                    };
                };

                DCDC_REG3 {
                    regulator-name = "vcc_ddr";
                    regulator-always-on;
                    phandle = <0xed>;
                    regulator-boot-on;

                    regulator-state-mem {
                        regulator-on-in-suspend;
                    };
                };

                DCDC_REG4 {
                    regulator-name = "vcc_1v8";
                    regulator-always-on;
                    regulator-min-microvolt = <0x1b7740>;
                    regulator-max-microvolt = <0x1b7740>;
                    phandle = <0x39>;
                    regulator-boot-on;

                    regulator-state-mem {
                        regulator-suspend-microvolt = <0x1b7740>;
                        regulator-on-in-suspend;
                    };
                };

                LDO_REG1 {
                    regulator-name = "vcc1v8_dvp";
                    regulator-always-on;
                    regulator-min-microvolt = <0x1b7740>;
                    regulator-max-microvolt = <0x1b7740>;
                    phandle = <0xee>;
                    regulator-boot-on;

                    regulator-state-mem {
                        regulator-suspend-microvolt = <0x1b7740>;
                        regulator-on-in-suspend;
                    };
                };

                LDO_REG2 {
                    regulator-name = "vcc3v0_touch";
                    regulator-always-on;
                    regulator-min-microvolt = <0x2dc6c0>;
                    regulator-max-microvolt = <0x2dc6c0>;
                    phandle = <0xef>;
                    regulator-boot-on;

                    regulator-state-mem {
                        regulator-suspend-microvolt = <0x2dc6c0>;
                        regulator-on-in-suspend;
                    };
                };

                LDO_REG3 {
                    regulator-name = "vcc1v8_pmu";
                    regulator-always-on;
                    regulator-min-microvolt = <0x1b7740>;
                    regulator-max-microvolt = <0x1b7740>;
                    phandle = <0xf0>;
                    regulator-boot-on;

                    regulator-state-mem {
                        regulator-suspend-microvolt = <0x1b7740>;
                        regulator-on-in-suspend;
                    };
                };

                LDO_REG4 {
                    regulator-name = "vcc_sd";
                    regulator-always-on;
                    regulator-min-microvolt = <0x1b7740>;
                    regulator-max-microvolt = <0x325aa0>;
                    phandle = <0x20>;
                    regulator-boot-on;

                    regulator-state-mem {
                        regulator-suspend-microvolt = <0x325aa0>;
                        regulator-on-in-suspend;
                    };
                };

                LDO_REG5 {
                    regulator-name = "vcca3v0_codec";
                    regulator-always-on;
                    regulator-min-microvolt = <0x2dc6c0>;
                    regulator-max-microvolt = <0x2dc6c0>;
                    phandle = <0xf1>;
                    regulator-boot-on;

                    regulator-state-mem {
                        regulator-suspend-microvolt = <0x2dc6c0>;
                        regulator-on-in-suspend;
                    };
                };

                LDO_REG6 {
                    regulator-name = "vcc_1v5";
                    regulator-always-on;
                    regulator-min-microvolt = <0x16e360>;
                    regulator-max-microvolt = <0x16e360>;
                    phandle = <0xf2>;
                    regulator-boot-on;

                    regulator-state-mem {
                        regulator-suspend-microvolt = <0x16e360>;
                        regulator-on-in-suspend;
                    };
                };

                LDO_REG7 {
                    regulator-name = "vcca1v8_codec";
                    regulator-always-on;
                    regulator-min-microvolt = <0x1b7740>;
                    regulator-max-microvolt = <0x1b7740>;
                    phandle = <0xf3>;
                    regulator-boot-on;

                    regulator-state-mem {
                        regulator-suspend-microvolt = <0x1b7740>;
                        regulator-on-in-suspend;
                    };
                };

                LDO_REG8 {
                    regulator-name = "vcc_3v0";
                    regulator-always-on;
                    regulator-min-microvolt = <0x2dc6c0>;
                    regulator-max-microvolt = <0x2dc6c0>;
                    phandle = <0x7e>;
                    regulator-boot-on;

                    regulator-state-mem {
                        regulator-suspend-microvolt = <0x2dc6c0>;
                        regulator-on-in-suspend;
                    };
                };

                SWITCH_REG1 {
                    regulator-name = "vcc3v3_s3";
                    regulator-always-on;
                    phandle = <0xf4>;
                    regulator-boot-on;

                    regulator-state-mem {
                        regulator-on-in-suspend;
                    };
                };

                SWITCH_REG2 {
                    regulator-name = "vcc3v3_s0";
                    regulator-always-on;
                    phandle = <0xf5>;
                    regulator-boot-on;

                    regulator-state-mem {
                        regulator-on-in-suspend;
                    };
                };
            };
        };
    };

    i2c@ff3d0000 {
        reg = <0x0 0xff3d0000 0x0 0x1000>;
        interrupts = <0x0 0x38 0x4 0x0>;
        pinctrl-0 = <0x84>;
        compatible = "rockchip,rk3399-i2c";
        clock-names = "i2c", "pclk";
        clocks = <0x31 0xa 0x31 0x1c>;
        status = "okay";
        #address-cells = <0x1>;
        phandle = <0x10e>;
        #size-cells = <0x0>;
        pinctrl-names = "default";

        fusb30x@22 {
            reg = <0x22>;
            pinctrl-0 = <0x85>;
            compatible = "fairchild,fusb302";
            vbus-5v-gpios = <0x34 0x3 0x0>;
            status = "okay";
            phandle = <0x28>;
            int-n-gpios = <0x34 0x2 0x0>;
            pinctrl-names = "default";
        };
    };

    i2c@ff3e0000 {
        reg = <0x0 0xff3e0000 0x0 0x1000>;
        interrupts = <0x0 0x3a 0x4 0x0>;
        pinctrl-0 = <0x86>;
        compatible = "rockchip,rk3399-i2c";
        clock-names = "i2c", "pclk";
        clocks = <0x31 0xb 0x31 0x1d>;
        status = "okay";
        #address-cells = <0x1>;
        phandle = <0x10f>;
        #size-cells = <0x0>;
        pinctrl-names = "default";
    };

    nocp-vio0-msch0@ffa87400 {
        reg = <0x0 0xffa87400 0x0 0x400>;
        compatible = "rockchip,rk3399-nocp";
        phandle = <0x13b>;
    };

    pwm@ff420000 {
        reg = <0x0 0xff420000 0x0 0x10>;
        pinctrl-0 = <0x8d>;
        compatible = "rockchip,rk3399-pwm", "rockchip,rk3288-pwm";
        clock-names = "pwm";
        clocks = <0x31 0x1e>;
        #pwm-cells = <0x3>;
        status = "disabled";
        phandle = <0x111>;
        pinctrl-names = "active";
    };

    pwm@ff420010 {
        reg = <0x0 0xff420010 0x0 0x10>;
        pinctrl-0 = <0x8e>;
        compatible = "rockchip,rk3399-pwm", "rockchip,rk3288-pwm";
        clock-names = "pwm";
        clocks = <0x31 0x1e>;
        #pwm-cells = <0x3>;
        status = "okay";
        phandle = <0xd2>;
        pinctrl-names = "active";
    };

    pwm@ff420020 {
        reg = <0x0 0xff420020 0x0 0x10>;
        pinctrl-0 = <0x8f>;
        compatible = "rockchip,rk3399-pwm", "rockchip,rk3288-pwm";
        clock-names = "pwm";
        clocks = <0x31 0x1e>;
        #pwm-cells = <0x3>;
        status = "okay";
        phandle = <0xcc>;
        pinctrl-names = "active";
    };

    pwm@ff420030 {
        reg = <0x0 0xff420030 0x0 0x10>;
        interrupts = <0x0 0x3d 0x4 0x0>;
        pinctrl-0 = <0x90>;
        compatible = "rockchip,remotectl-pwm";
        clock-names = "pwm";
        remote_support_psci = <0x1>;
        remote_pwm_id = <0x3>;
        clocks = <0x31 0x1e>;
        #pwm-cells = <0x3>;
        status = "okay";
        handle_cpu_id = <0x1>;
        phandle = <0x112>;
        pinctrl-names = "active";

        ir_key1 {
            rockchip,usercode = <0x4040>;
            rockchip,key_table = <0xf2 0xe8 0xba 0x9e 0xf4 0x67 0xf1 0x6c 0xef 0x69 0xee 0x6a 0xbd 0x66 0xea 0x73 0xe3 0x72 0xe2 0xd9 0xb2 0x74 0xbc 0x71 0xec 0x8b 0xbf 0x190 0xe0 0x191 0xe1 0x192 0xe9 0xb7 0xe6 0xf8 0xe8 0xb9 0xe7 0xba 0xf0 0x184 0xbe 0x175>;
        };

        ir_key2 {
            rockchip,usercode = <0xff00>;
            rockchip,key_table = <0xf9 0x66 0xbf 0x9e 0xfb 0x8b 0xaa 0xe8 0xb9 0x67 0xe9 0x6c 0xb8 0x69 0xea 0x6a 0xeb 0x72 0xef 0x73 0xf7 0x71 0xe7 0x74 0xfc 0x74 0xa9 0x72 0xa8 0x72 0xe0 0x72 0xa5 0x72 0xab 0xb7 0xb7 0x184 0xe8 0x184 0xf8 0xb8 0xaf 0xb9 0xed 0x72 0xee 0xba 0xb3 0x72 0xf1 0x72 0xf2 0x72 0xf3 0xd9 0xb4 0x72 0xbe 0xd9>;
        };

        ir_key3 {
            rockchip,usercode = <0x1dcc>;
            rockchip,key_table = <0xee 0xe8 0xf0 0x9e 0xf8 0x67 0xbb 0x6c 0xef 0x69 0xed 0x6a 0xfc 0x66 0xf1 0x73 0xfd 0x72 0xb7 0xd9 0xff 0x74 0xf3 0x71 0xbf 0x8b 0xf9 0x191 0xf5 0x192 0xb3 0x184 0xbe 0x2 0xba 0x3 0xb2 0x4 0xbd 0x5 0xf9 0x6 0xb1 0x7 0xfc 0x8 0xf8 0x9 0xb0 0xa 0xb6 0xb 0xb5 0xe>;
        };
    };

    nocp-vio1-msch1@ffa8f800 {
        reg = <0x0 0xffa8f800 0x0 0x400>;
        compatible = "rockchip,rk3399-nocp";
        phandle = <0x143>;
    };

    nocp-lp-msch0@ffa86c00 {
        reg = <0x0 0xffa86c00 0x0 0x400>;
        compatible = "rockchip,rk3399-nocp";
        phandle = <0x139>;
    };

    nocp-hp-msch1@ffa8e800 {
        reg = <0x0 0xffa8e800 0x0 0x400>;
        compatible = "rockchip,rk3399-nocp";
        phandle = <0x13f>;
    };

    sdhci@fe330000 {
        reg = <0x0 0xfe330000 0x0 0x10000>;
        phys = <0x25>;
        interrupts = <0x0 0xb 0x4 0x0>;
        #clock-cells = <0x0>;
        arasan,soc-ctl-syscon = <0x16>;
        mmc-hs200-1_8v;
        compatible = "rockchip,rk3399-sdhci-5.1", "arasan,sdhci-5.1";
        clock-names = "clk_xin", "clk_ahb";
        supports-emmc;
        bus-width = <0x8>;
        phy-names = "phy_arasan";
        clocks = <0x8 0x4e 0x8 0xf0>;
        power-domains = <0x15 0x17>;
        non-removable;
        clock-output-names = "emmc_cardclock";
        assigned-clock-rates = <0xbebc200>;
        assigned-clocks = <0x8 0x4e>;
        status = "okay";
        keep-power-in-suspend;
        phandle = <0x9a>;
        assigned-clock-parents = <0x8 0x5>;
    };

    i2s@ff880000 {
        reg = <0x0 0xff880000 0x0 0x1000>;
        dmas = <0x9b 0x0 0x9b 0x1>;
        interrupts = <0x0 0x27 0x4 0x0>;
        pinctrl-0 = <0x9d>;
        compatible = "rockchip,rk3399-i2s", "rockchip,rk3066-i2s";
        clock-names = "i2s_clk", "i2s_hclk";
        reset-names = "reset-m", "reset-h";
        clocks = <0x8 0x56 0x8 0x1d4>;
        power-domains = <0x15 0x1c>;
        resets = <0x8 0xe0 0x8 0xc2>;
        assigned-clocks = <0x8 0xae>;
        status = "disabled";
        phandle = <0x124>;
        assigned-clock-parents = <0x8 0x5>;
        dma-names = "tx", "rx";
        rockchip,grf = <0x16>;
        pinctrl-names = "default";
    };

    i2s@ff890000 {
        reg = <0x0 0xff890000 0x0 0x1000>;
        dmas = <0x9b 0x2 0x9b 0x3>;
        interrupts = <0x0 0x28 0x4 0x0>;
        pinctrl-0 = <0x9e>;
        compatible = "rockchip,rk3399-i2s", "rockchip,rk3066-i2s";
        clock-names = "i2s_clk", "i2s_hclk";
        rockchip,playback-channels = <0x8>;
        reset-names = "reset-m", "reset-h";
        clocks = <0x8 0x57 0x8 0x1d5>;
        power-domains = <0x15 0x1c>;
        resets = <0x8 0xe1 0x8 0xc3>;
        assigned-clocks = <0x8 0xaf>;
        status = "okay";
        #sound-dai-cells = <0x0>;
        phandle = <0xd6>;
        rockchip,i2s-broken-burst-len;
        assigned-clock-parents = <0x8 0x5>;
        rockchip,capture-channels = <0x8>;
        dma-names = "tx", "rx";
        pinctrl-names = "default";
    };

    timer {
        interrupts = <0x1 0xd 0x8 0x0 0x1 0xe 0x8 0x0 0x1 0xb 0x8 0x0 0x1 0xa 0x8 0x0>;
        compatible = "arm,armv8-timer";
        arm,no-tick-in-suspend;
    };

    i2s@ff8a0000 {
        reg = <0x0 0xff8a0000 0x0 0x1000>;
        dmas = <0x9b 0x4 0x9b 0x5>;
        interrupts = <0x0 0x29 0x4 0x0>;
        compatible = "rockchip,rk3399-i2s", "rockchip,rk3066-i2s";
        clock-names = "i2s_clk", "i2s_hclk";
        reset-names = "reset-m", "reset-h";
        clocks = <0x8 0x58 0x8 0x1d6>;
        power-domains = <0x15 0x1c>;
        resets = <0x8 0xe2 0x8 0xc4>;
        assigned-clocks = <0x8 0xb0>;
        status = "okay";
        #sound-dai-cells = <0x0>;
        phandle = <0xd3>;
        assigned-clock-parents = <0x8 0x5>;
        dma-names = "tx", "rx";
    };

    opp-table0 {
        rockchip,pvtm-sample-time = <0x3e8>;
        rockchip,pvtm-voltage-sel = <0x0 0x2308c 0x0 0x2308d 0x24414 0x1 0x24415 0x251c0 0x2 0x251c1 0xf423f 0x3>;
        rockchip,low-temp = <0x0>;
        rockchip,bin-scaling-sel = <0x0 0x1e 0x1 0x22>;
        nvmem-cell-names = "cpu_leakage", "specification_serial_number";
        opp-shared;
        compatible = "operating-points-v2";
        nvmem-cells = <0xc4 0xc5>;
        rockchip,temp-hysteresis = <0x1388>;
        rockchip,pvtm-ch = <0x0 0x0>;
        rockchip,pvtm-freq = <0x639c0>;
        rockchip,pvtm-volt = <0xf4240>;
        rockchip,pvtm-temp-prop = <0x73 0x42>;
        clocks = <0x8 0x1>;
        rockchip,pvtm-error = <0x3e8>;
        rockchip,avs-scale = <0x14>;
        phandle = <0xb>;
        rockchip,pvtm-number = <0xa>;
        rockchip,thermal-zone = "soc-thermal";
        rockchip,pvtm-ref-temp = <0x29>;
        rockchip,low-temp-min-volt = <0xdbba0>;

        opp-816000000 {
            opp-suspend;
            opp-hz = <0x0 0x30a32c00>;
            opp-microvolt = <0xcf850 0xcf850 0x1312d0>;
            opp-microvolt-L0 = <0xcf850 0xcf850 0x1312d0>;
            opp-microvolt-L1 = <0xc96a8 0xc96a8 0x1312d0>;
            opp-microvolt-L2 = <0xc3500 0xc3500 0x1312d0>;
            opp-microvolt-L3 = <0xc3500 0xc3500 0x1312d0>;
            clock-latency-ns = <0x9c40>;
        };

        opp-1512000000 {
            opp-hz = <0x0 0x5a1f4a00>;
            opp-microvolt = <0x124f80 0x124f80 0x1312d0>;
            opp-microvolt-L0 = <0x124f80 0x124f80 0x1312d0>;
            opp-microvolt-L1 = <0x11edd8 0x11edd8 0x1312d0>;
            opp-microvolt-L2 = <0x118c30 0x118c30 0x1312d0>;
            opp-microvolt-L3 = <0x112a88 0x112a88 0x1312d0>;
            clock-latency-ns = <0x9c40>;
        };

        opp-1416000000 {
            opp-hz = <0x0 0x54667200>;
            opp-microvolt = <0x112a88 0x112a88 0x1312d0>;
            opp-microvolt-L0 = <0x112a88 0x112a88 0x1312d0>;
            opp-microvolt-L1 = <0x10c8e0 0x10c8e0 0x1312d0>;
            opp-microvolt-L2 = <0x106738 0x106738 0x1312d0>;
            opp-microvolt-L3 = <0x100590 0x100590 0x1312d0>;
            clock-latency-ns = <0x9c40>;
        };

        opp-600000000 {
            opp-hz = <0x0 0x23c34600>;
            opp-microvolt = <0xc3500 0xc3500 0x1312d0>;
            opp-microvolt-L0 = <0xc3500 0xc3500 0x1312d0>;
            opp-microvolt-L1 = <0xc3500 0xc3500 0x1312d0>;
            opp-microvolt-L2 = <0xc3500 0xc3500 0x1312d0>;
            opp-microvolt-L3 = <0xc3500 0xc3500 0x1312d0>;
            clock-latency-ns = <0x9c40>;
        };

        opp-408000000 {
            opp-hz = <0x0 0x18519600>;
            opp-microvolt = <0xc3500 0xc3500 0x1312d0>;
            opp-microvolt-L0 = <0xc3500 0xc3500 0x1312d0>;
            opp-microvolt-L1 = <0xc3500 0xc3500 0x1312d0>;
            opp-microvolt-L2 = <0xc3500 0xc3500 0x1312d0>;
            opp-microvolt-L3 = <0xc3500 0xc3500 0x1312d0>;
            clock-latency-ns = <0x9c40>;
        };

        opp-1200000000 {
            opp-hz = <0x0 0x47868c00>;
            opp-microvolt = <0xf4240 0xf4240 0x1312d0>;
            opp-microvolt-L0 = <0xf4240 0xf4240 0x1312d0>;
            opp-microvolt-L1 = <0xee098 0xee098 0x1312d0>;
            opp-microvolt-L2 = <0xe7ef0 0xe7ef0 0x1312d0>;
            opp-microvolt-L3 = <0xe1d48 0xe1d48 0x1312d0>;
            clock-latency-ns = <0x9c40>;
        };

        opp-1008000000 {
            opp-hz = <0x0 0x3c14dc00>;
            opp-microvolt = <0xe1d48 0xe1d48 0x1312d0>;
            opp-microvolt-L0 = <0xe1d48 0xe1d48 0x1312d0>;
            opp-microvolt-L1 = <0xdbba0 0xdbba0 0x1312d0>;
            opp-microvolt-L2 = <0xd59f8 0xd59f8 0x1312d0>;
            opp-microvolt-L3 = <0xcf850 0xcf850 0x1312d0>;
            clock-latency-ns = <0x9c40>;
        };
    };

    opp-table1 {
        rockchip,pvtm-sample-time = <0x3e8>;
        rockchip,pvtm-voltage-sel = <0x0 0x24608 0x0 0x24609 0x25d78 0x1 0x25d79 0x27100 0x2 0x27101 0xf423f 0x3>;
        rockchip,low-temp = <0x0>;
        rockchip,bin-scaling-sel = <0x0 0x8 0x1 0x11>;
        nvmem-cell-names = "cpu_leakage", "specification_serial_number";
        opp-shared;
        compatible = "operating-points-v2";
        nvmem-cells = <0xc6 0xc5>;
        rockchip,temp-hysteresis = <0x1388>;
        rockchip,pvtm-ch = <0x1 0x0>;
        rockchip,pvtm-freq = <0x639c0>;
        rockchip,pvtm-volt = <0xf4240>;
        rockchip,pvtm-temp-prop = <0x47 0x23>;
        clocks = <0x8 0x2>;
        rockchip,pvtm-error = <0x3e8>;
        rockchip,avs-scale = <0x8>;
        phandle = <0xf>;
        rockchip,pvtm-number = <0xa>;
        rockchip,thermal-zone = "soc-thermal";
        rockchip,pvtm-ref-temp = <0x29>;
        rockchip,low-temp-min-volt = <0xdbba0>;

        opp-816000000 {
            opp-suspend;
            opp-hz = <0x0 0x30a32c00>;
            opp-microvolt = <0xc96a8 0xc96a8 0x1312d0>;
            opp-microvolt-L0 = <0xc96a8 0xc96a8 0x1312d0>;
            opp-microvolt-L1 = <0xc96a8 0xc96a8 0x1312d0>;
            opp-microvolt-L2 = <0xc3500 0xc3500 0x1312d0>;
            opp-microvolt-L3 = <0xc3500 0xc3500 0x1312d0>;
            clock-latency-ns = <0x9c40>;
        };

        opp-1800000000 {
            opp-hz = <0x0 0x6b49d200>;
            opp-microvolt = <0x124f80 0x124f80 0x1312d0>;
            opp-microvolt-L0 = <0x124f80 0x124f80 0x1312d0>;
            opp-microvolt-L1 = <0x11edd8 0x11edd8 0x1312d0>;
            opp-microvolt-L2 = <0x118c30 0x118c30 0x1312d0>;
            opp-microvolt-L3 = <0x112a88 0x112a88 0x1312d0>;
            clock-latency-ns = <0x9c40>;
        };

        opp-1608000000 {
            opp-hz = <0x0 0x5fd82200>;
            opp-microvolt = <0x10c8e0 0x10c8e0 0x1312d0>;
            opp-microvolt-L0 = <0x10c8e0 0x10c8e0 0x1312d0>;
            opp-microvolt-L1 = <0x106738 0x106738 0x1312d0>;
            opp-microvolt-L2 = <0x100590 0x100590 0x1312d0>;
            opp-microvolt-L3 = <0xfa3e8 0xfa3e8 0x1312d0>;
            clock-latency-ns = <0x9c40>;
        };

        opp-1416000000 {
            opp-hz = <0x0 0x54667200>;
            opp-microvolt = <0xfa3e8 0xfa3e8 0x1312d0>;
            opp-microvolt-L0 = <0xfa3e8 0xfa3e8 0x1312d0>;
            opp-microvolt-L1 = <0xf4240 0xf4240 0x1312d0>;
            opp-microvolt-L2 = <0xf4240 0xf4240 0x1312d0>;
            opp-microvolt-L3 = <0xee098 0xee098 0x1312d0>;
            clock-latency-ns = <0x9c40>;
        };

        opp-1992000000 {
            opp-hz = <0x0 0x76bb8200>;
            opp-microvolt = <0x1312d0 0x1312d0 0x1312d0>;
            opp-microvolt-L0 = <0x1312d0 0x1312d0 0x1312d0>;
            opp-microvolt-L1 = <0x12b128 0x12b128 0x1312d0>;
            opp-microvolt-L2 = <0x124f80 0x124f80 0x1312d0>;
            opp-microvolt-L3 = <0x11edd8 0x11edd8 0x1312d0>;
            clock-latency-ns = <0x9c40>;
        };

        opp-600000000 {
            opp-hz = <0x0 0x23c34600>;
            opp-microvolt = <0xc3500 0xc3500 0x1312d0>;
            opp-microvolt-L0 = <0xc3500 0xc3500 0x1312d0>;
            opp-microvolt-L1 = <0xc3500 0xc3500 0x1312d0>;
            opp-microvolt-L2 = <0xc3500 0xc3500 0x1312d0>;
            opp-microvolt-L3 = <0xc3500 0xc3500 0x1312d0>;
            clock-latency-ns = <0x9c40>;
        };

        opp-408000000 {
            opp-hz = <0x0 0x18519600>;
            opp-microvolt = <0xc3500 0xc3500 0x1312d0>;
            opp-microvolt-L0 = <0xc3500 0xc3500 0x1312d0>;
            opp-microvolt-L1 = <0xc3500 0xc3500 0x1312d0>;
            opp-microvolt-L2 = <0xc3500 0xc3500 0x1312d0>;
            opp-microvolt-L3 = <0xc3500 0xc3500 0x1312d0>;
            clock-latency-ns = <0x9c40>;
        };

        opp-1200000000 {
            opp-hz = <0x0 0x47868c00>;
            opp-microvolt = <0xe7ef0 0xe7ef0 0x1312d0>;
            opp-microvolt-L0 = <0xe7ef0 0xe7ef0 0x1312d0>;
            opp-microvolt-L1 = <0xe1d48 0xe1d48 0x1312d0>;
            opp-microvolt-L2 = <0xdbba0 0xdbba0 0x1312d0>;
            opp-microvolt-L3 = <0xd59f8 0xd59f8 0x1312d0>;
            clock-latency-ns = <0x9c40>;
        };

        opp-1008000000 {
            opp-hz = <0x0 0x3c14dc00>;
            opp-microvolt = <0xd59f8 0xd59f8 0x1312d0>;
            opp-microvolt-L0 = <0xd59f8 0xd59f8 0x1312d0>;
            opp-microvolt-L1 = <0xcf850 0xcf850 0x1312d0>;
            opp-microvolt-L2 = <0xcf850 0xcf850 0x1312d0>;
            opp-microvolt-L3 = <0xcf850 0xcf850 0x1312d0>;
            clock-latency-ns = <0x9c40>;
        };
    };

    opp-table2 {
        rockchip,pvtm-sample-time = <0x3e8>;
        rockchip,pvtm-voltage-sel = <0x0 0x1d8a8 0x0 0x1d8a9 0x1ea3c 0x1 0x1ea3d 0x1f5f4 0x2 0x1f5f5 0xf423f 0x3>;
        rockchip,low-temp = <0x0>;
        nvmem-cell-names = "gpu_leakage";
        compatible = "operating-points-v2";
        nvmem-cells = <0xc7>;
        rockchip,temp-hysteresis = <0x1388>;
        rockchip,pvtm-ch = <0x3 0x0>;
        rockchip,pvtm-freq = <0x30d40>;
        rockchip,pvtm-volt = <0xdbba0>;
        rockchip,pvtm-temp-prop = <0x2e 0xc>;
        rockchip,pvtm-error = <0x3e8>;
        phandle = <0x9f>;
        rockchip,pvtm-number = <0xa>;
        rockchip,thermal-zone = "soc-thermal";
        rockchip,pvtm-ref-temp = <0x29>;
        rockchip,low-temp-min-volt = <0xdbba0>;
        rockchip,pvtm-thermal-zone = "gpu-thermal";

        opp-200000000 {
            opp-hz = <0x0 0xbebc200>;
            opp-microvolt = <0xc3500>;
            opp-microvolt-L0 = <0xc3500>;
            opp-microvolt-L1 = <0xc3500>;
            opp-microvolt-L2 = <0xc3500>;
            opp-microvolt-L3 = <0xc3500>;
        };

        opp-400000000 {
            opp-hz = <0x0 0x17d78400>;
            opp-microvolt = <0xc96a8>;
            opp-microvolt-L0 = <0xc96a8>;
            opp-microvolt-L1 = <0xc96a8>;
            opp-microvolt-L2 = <0xc3500>;
            opp-microvolt-L3 = <0xc3500>;
        };

        opp-600000000 {
            opp-hz = <0x0 0x23c34600>;
            opp-microvolt = <0xe1d48>;
            opp-microvolt-L0 = <0xe1d48>;
            opp-microvolt-L1 = <0xe1d48>;
            opp-microvolt-L2 = <0xdbba0>;
            opp-microvolt-L3 = <0xdbba0>;
        };

        opp-800000000 {
            opp-hz = <0x0 0x2faf0800>;
            opp-microvolt = <0x10c8e0>;
            opp-microvolt-L0 = <0x10c8e0>;
            opp-microvolt-L1 = <0x106738>;
            opp-microvolt-L2 = <0x100590>;
            opp-microvolt-L3 = <0xfa3e8>;
        };

        opp-300000000 {
            opp-hz = <0x0 0x11e1a300>;
            opp-microvolt = <0xc3500>;
            opp-microvolt-L0 = <0xc3500>;
            opp-microvolt-L1 = <0xc3500>;
            opp-microvolt-L2 = <0xc3500>;
            opp-microvolt-L3 = <0xc3500>;
        };
    };

    opp-table3 {
        compatible = "operating-points-v2";
        phandle = <0x94>;

        opp-200000000 {
            opp-hz = <0x0 0xbebc200>;
            opp-microvolt = <0xdbba0>;
        };

        opp-528000000 {
            opp-hz = <0x0 0x1f78a400>;
            opp-microvolt = <0xdbba0>;
        };

        opp-400000000 {
            opp-hz = <0x0 0x17d78400>;
            opp-microvolt = <0xdbba0>;
        };

        opp-600000000 {
            opp-hz = <0x0 0x23c34600>;
            opp-microvolt = <0xdbba0>;
        };

        opp-928000000 {
            opp-hz = <0x0 0x37502800>;
            status = "disabled";
            opp-microvolt = <0xe1d48>;
        };

        opp-800000000 {
            opp-hz = <0x0 0x2faf0800>;
            opp-microvolt = <0xdbba0>;
        };

        opp-300000000 {
            opp-hz = <0x0 0x11e1a300>;
            opp-microvolt = <0xdbba0>;
        };
    };

    efuse@ff690000 {
        reg = <0x0 0xff690000 0x0 0x80>;
        compatible = "rockchip,rk3399-efuse";
        clock-names = "pclk_efuse";
        clocks = <0x8 0x17d>;
        #address-cells = <0x1>;
        phandle = <0x117>;
        #size-cells = <0x1>;

        logic-leakage@1b {
            reg = <0x1b 0x1>;
            phandle = <0x11a>;
        };

        gpu-leakage@18 {
            reg = <0x18 0x1>;
            phandle = <0xc7>;
        };

        cpu-leakage@17 {
            reg = <0x17 0x1>;
            phandle = <0xc6>;
        };

        cpu-leakage@1a {
            reg = <0x1a 0x1>;
            phandle = <0xc4>;
        };

        cpu-id@7 {
            reg = <0x7 0x10>;
            phandle = <0x118>;
        };

        specification-serial-number@6 {
            reg = <0x6 0x1>;
            bits = <0x0 0x5>;
            phandle = <0xc5>;
        };

        center-leakage@19 {
            reg = <0x19 0x1>;
            phandle = <0x119>;
        };

        wafer-info@1c {
            reg = <0x1c 0x1>;
            phandle = <0x11b>;
        };
    };

    vpu_service@ff650000 {
        reg = <0x0 0xff650000 0x0 0x800>;
        interrupts = <0x0 0x71 0x4 0x0 0x0 0x72 0x4 0x0>;
        allocator = <0x1>;
        compatible = "rockchip,vpu_service";
        clock-names = "aclk_vcodec", "hclk_vcodec";
        reset-names = "video_h", "video_a";
        interrupt-names = "irq_dec", "irq_enc";
        clocks = <0x8 0xeb 0x8 0x1ea>;
        power-domains = <0x15 0x1f>;
        iommus = <0x96>;
        iommu_enabled = <0x1>;
        resets = <0x8 0x53 0x8 0x51>;
        status = "okay";
        dev_mode = <0x0>;
        phandle = <0x113>;
        rockchip,grf = <0x16>;
    };

    nocp-cci-msch0@ffa86000 {
        reg = <0x0 0xffa86000 0x0 0x400>;
        compatible = "rockchip,rk3399-nocp";
        phandle = <0x136>;
    };

    wireless-bluetooth {
        pinctrl-0 = <0xcf>;
        pinctrl-1 = <0xd0>;
        uart_rts_gpios = <0x8a 0x13 0x1>;
        compatible = "bluetooth-platdata";
        clock-names = "ext_clock";
        clocks = <0xcd 0x1>;
        BT,wake_gpio = <0x8a 0x1b 0x0>;
        BT,reset_gpio = <0x3c 0x9 0x0>;
        status = "okay";
        pinctrl-names = "default", "rts_gpio";
        BT,wake_host_irq = <0x3c 0x4 0x0>;
    };

    sram@ff8d0000 {
        reg = <0x0 0xff8d0000 0x0 0x20000>;
        compatible = "mmio-sram";
        phandle = <0x16c>;
    };

    spi@ff200000 {
        reg = <0x0 0xff200000 0x0 0x1000>;
        interrupts = <0x0 0x84 0x4 0x0>;
        pinctrl-0 = <0x59 0x5a 0x5b 0x5c>;
        compatible = "rockchip,rk3399-spi", "rockchip,rk3066-spi";
        clock-names = "spiclk", "apb_pclk";
        clocks = <0x8 0x4b 0x8 0x15f>;
        status = "disabled";
        #address-cells = <0x1>;
        phandle = <0x104>;
        #size-cells = <0x0>;
        pinctrl-names = "default";
    };

    nocp-gpu-msch0@ffa86400 {
        reg = <0x0 0xffa86400 0x0 0x400>;
        compatible = "rockchip,rk3399-nocp";
        phandle = <0x137>;
    };

    spi@ff350000 {
        reg = <0x0 0xff350000 0x0 0x1000>;
        interrupts = <0x0 0x3c 0x4 0x0>;
        pinctrl-0 = <0x7f 0x80 0x81 0x82>;
        compatible = "rockchip,rk3399-spi", "rockchip,rk3066-spi";
        clock-names = "spiclk", "apb_pclk";
        clocks = <0x31 0x3 0x31 0x1f>;
        status = "disabled";
        #address-cells = <0x1>;
        phandle = <0x10c>;
        #size-cells = <0x0>;
        pinctrl-names = "default";
    };

    dwmmc@fe310000 {
        reg = <0x0 0xfe310000 0x0 0x4000>;
        mmc-pwrseq = <0x1c>;
        interrupts = <0x0 0x40 0x4 0x0>;
        pinctrl-0 = <0x1d 0x1e 0x1f>;
        compatible = "rockchip,rk3399-dw-mshc", "rockchip,rk3288-dw-mshc";
        clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
        supports-sdio;
        cap-sdio-irq;
        num-slots = <0x1>;
        reset-names = "reset";
        clock-frequency = <0x5f5e100>;
        bus-width = <0x4>;
        clock-freq-min-max = <0x30d40 0x5f5e100>;
        clocks = <0x8 0x1ee 0x8 0x4d 0x8 0x9c 0x8 0x9d>;
        fifo-depth = <0x100>;
        power-domains = <0x15 0x1c>;
        non-removable;
        disable-wp;
        cap-sd-highspeed;
        resets = <0x8 0x79>;
        status = "okay";
        sd-uhs-sdr104;
        max-frequency = <0x8f0d180>;
        keep-power-in-suspend;
        phandle = <0xdf>;
        pinctrl-names = "default";
    };

    dwmmc@fe320000 {
        reg = <0x0 0xfe320000 0x0 0x4000>;
        interrupts = <0x0 0x41 0x4 0x0>;
        pinctrl-0 = <0x21 0x22 0x23 0x24>;
        compatible = "rockchip,rk3399-dw-mshc", "rockchip,rk3288-dw-mshc";
        clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
        supports-sd;
        num-slots = <0x1>;
        reset-names = "reset";
        clock-frequency = <0x2faf080>;
        bus-width = <0x4>;
        clock-freq-min-max = <0x61a80 0x8f0d180>;
        clocks = <0x8 0x1ce 0x8 0x4c 0x8 0x9a 0x8 0x9b>;
        fifo-depth = <0x100>;
        power-domains = <0x15 0x1b>;
        disable-wp;
        cap-sd-highspeed;
        assigned-clock-rates = <0xbebc200>;
        cap-mmc-highspeed;
        resets = <0x8 0x7a>;
        assigned-clocks = <0x8 0x1cd>;
        status = "okay";
        card-detect-delay = <0x320>;
        sd-uhs-sdr104;
        max-frequency = <0x8f0d180>;
        phandle = <0xe0>;
        vqmmc-supply = <0x20>;
        pinctrl-names = "default";
    };

    phy@ff800000 {
        reg = <0x0 0xff800000 0x0 0x40000>;
        rockchip,usb3-host-disable = <0x2444 0x0 0x10>;
        compatible = "rockchip,rk3399-typec-phy";
        clock-names = "tcpdcore", "tcpdphy-ref";
        #phy-cells = <0x1>;
        reset-names = "uphy", "uphy-pipe", "uphy-tcphy";
        rockchip,uphy-dp-sel = <0x6268 0x3 0x13>;
        clocks = <0x8 0x80 0x8 0x7f>;
        rockchip,usb3-host-port = <0x2444 0xc 0x1c>;
        power-domains = <0x15 0x9>;
        rockchip,usb3tousb2-en = <0xe58c 0x3 0x13>;
        assigned-clock-rates = <0x2faf080>;
        rockchip,pipe-status = <0xe5c0 0x10 0x10>;
        resets = <0x8 0x9d 0x8 0x9c 0x8 0x14d>;
        assigned-clocks = <0x8 0x80>;
        rockchip,external-psm = <0xe594 0xe 0x1e>;
        status = "okay";
        rockchip,typec-conn-dir = <0xe58c 0x0 0x10>;
        phandle = <0x122>;
        rockchip,grf = <0x16>;

        dp-port {
            #phy-cells = <0x0>;
            phandle = <0x2e>;
        };

        usb3-port {
            #phy-cells = <0x0>;
            phandle = <0x2c>;
        };
    };

    spi@ff1c0000 {
        reg = <0x0 0xff1c0000 0x0 0x1000>;
        interrupts = <0x0 0x44 0x4 0x0>;
        pinctrl-0 = <0x49 0x4a 0x4b 0x4c>;
        compatible = "rockchip,rk3399-spi", "rockchip,rk3066-spi";
        clock-names = "spiclk", "apb_pclk";
        clocks = <0x8 0x47 0x8 0x15b>;
        status = "disabled";
        #address-cells = <0x1>;
        phandle = <0x100>;
        #size-cells = <0x0>;
        pinctrl-names = "default";
    };

    spi@ff1d0000 {
        reg = <0x0 0xff1d0000 0x0 0x1000>;
        interrupts = <0x0 0x35 0x4 0x0>;
        pinctrl-0 = <0x4d 0x4e 0x4f 0x50>;
        compatible = "rockchip,rk3399-spi", "rockchip,rk3066-spi";
        clock-names = "spiclk", "apb_pclk";
        clocks = <0x8 0x48 0x8 0x15c>;
        max-freq = <0x989680>;
        status = "okay";
        #address-cells = <0x1>;
        phandle = <0x101>;
        #size-cells = <0x0>;
        pinctrl-names = "default";

        flash@0 {
            reg = <0x0>;
            compatible = "gigadevice,gd25q128", "jedec,spi-nor";
            spi-max-frequency = <0x989680>;
            status = "okay";
            #address-cells = <0x1>;
            #size-cells = <0x1>;

            partitions {
                compatible = "fixed-partitions";
                #address-cells = <0x1>;
                #size-cells = <0x1>;

                vendor@7c0000 {
                    reg = <0x7c0000 0x40000>;
                    label = "vendor";
                };

                loader@8000 {
                    reg = <0x0 0x3f8000>;
                    label = "loader";
                };

                env@3f8000 {
                    reg = <0x3f8000 0x8000>;
                    label = "env";
                };
            };
        };
    };

    spi@ff1e0000 {
        reg = <0x0 0xff1e0000 0x0 0x1000>;
        interrupts = <0x0 0x34 0x4 0x0>;
        pinctrl-0 = <0x51 0x52 0x53 0x54>;
        compatible = "rockchip,rk3399-spi", "rockchip,rk3066-spi";
        clock-names = "spiclk", "apb_pclk";
        clocks = <0x8 0x49 0x8 0x15d>;
        status = "disabled";
        #address-cells = <0x1>;
        phandle = <0x102>;
        #size-cells = <0x0>;
        pinctrl-names = "default";
    };

    spi@ff1f0000 {
        reg = <0x0 0xff1f0000 0x0 0x1000>;
        interrupts = <0x0 0x43 0x4 0x0>;
        pinctrl-0 = <0x55 0x56 0x57 0x58>;
        compatible = "rockchip,rk3399-spi", "rockchip,rk3066-spi";
        clock-names = "spiclk", "apb_pclk";
        clocks = <0x8 0x4a 0x8 0x15e>;
        status = "disabled";
        #address-cells = <0x1>;
        phandle = <0x103>;
        #size-cells = <0x0>;
        pinctrl-names = "default";
    };

    power-management@ff310000 {
        reg = <0x0 0xff310000 0x0 0x1000>;
        compatible = "rockchip,rk3399-pmu", "syscon", "simple-mfd";
        phandle = <0x109>;

        power-controller {
            compatible = "rockchip,rk3399-power-controller";
            #address-cells = <0x1>;
            #power-domain-cells = <0x1>;
            phandle = <0x15>;
            #size-cells = <0x0>;

            pd_rga@33 {
                reg = <0x21>;
                clocks = <0x8 0xdc 0x8 0x1e5>;
                pm_qos = <0x66 0x67>;
            };

            pd_perihp@14 {
                reg = <0xe>;
                clocks = <0x8 0xc0>;
                pm_qos = <0x6e 0x6f 0x70 0x71>;
                #address-cells = <0x1>;
                #size-cells = <0x0>;

                pd_sd@27 {
                    reg = <0x1b>;
                    clocks = <0x8 0x1ce 0x8 0x4c>;
                    pm_qos = <0x72>;
                };
            };

            pd_vdu@32 {
                reg = <0x20>;
                clocks = <0x8 0xed 0x8 0x1ec>;
                pm_qos = <0x69 0x6a>;
            };

            pd_vio@15 {
                reg = <0xf>;
                #address-cells = <0x1>;
                #size-cells = <0x0>;

                pd_isp0@19 {
                    reg = <0x13>;
                    clocks = <0x8 0xe5 0x8 0x1df>;
                    pm_qos = <0x77 0x78>;
                };

                pd_isp1@20 {
                    reg = <0x14>;
                    clocks = <0x8 0xe6 0x8 0x1e0>;
                    pm_qos = <0x79 0x7a>;
                };

                pd_tcpc1@RK3399_PD_TCPC1 {
                    reg = <0x9>;
                    clocks = <0x8 0x80 0x8 0x7f>;
                };

                pd_vo@16 {
                    reg = <0x10>;
                    #address-cells = <0x1>;
                    #size-cells = <0x0>;

                    pd_vopb@17 {
                        reg = <0x11>;
                        clocks = <0x8 0xd9 0x8 0x1d9>;
                        pm_qos = <0x7b 0x7c>;
                    };

                    pd_vopl@18 {
                        reg = <0x12>;
                        clocks = <0x8 0xdb 0x8 0x1db>;
                        pm_qos = <0x7d>;
                    };
                };

                pd_hdcp@21 {
                    reg = <0x15>;
                    clocks = <0x8 0xde 0x8 0x1e7 0x8 0x172>;
                    pm_qos = <0x76>;
                };

                pd_tcpc0@RK3399_PD_TCPC0 {
                    reg = <0x8>;
                    clocks = <0x8 0x7e 0x8 0x7d>;
                };
            };

            pd_emmc@23 {
                reg = <0x17>;
                clocks = <0x8 0xf0>;
                pm_qos = <0x6c>;
            };

            pd_gmac@22 {
                reg = <0x16>;
                clocks = <0x8 0xd5 0x8 0x166>;
                pm_qos = <0x6d>;
            };

            pd_sdioaudio@28 {
                reg = <0x1c>;
                clocks = <0x8 0x1ee>;
                pm_qos = <0x73>;
            };

            pd_usb3@24 {
                reg = <0x18>;
                clocks = <0x8 0xf4>;
                pm_qos = <0x74 0x75>;
            };

            pd_vcodec@31 {
                reg = <0x1f>;
                clocks = <0x8 0xeb 0x8 0x1ea>;
                pm_qos = <0x68>;
            };

            pd_edp@25 {
                reg = <0x19>;
                clocks = <0x8 0x16c>;
            };

            pd_gpu@35 {
                reg = <0x23>;
                clocks = <0x8 0xd0>;
                pm_qos = <0x6b>;
            };

            pd_iep@34 {
                reg = <0x22>;
                clocks = <0x8 0xe1 0x8 0x1dd>;
                pm_qos = <0x65>;
            };
        };
    };

    nocp-video-msch1@ffa8f000 {
        reg = <0x0 0xffa8f000 0x0 0x400>;
        compatible = "rockchip,rk3399-nocp";
        phandle = <0x141>;
    };

    phy@ff7c0000 {
        reg = <0x0 0xff7c0000 0x0 0x40000>;
        rockchip,usb3-host-disable = <0x2434 0x0 0x10>;
        compatible = "rockchip,rk3399-typec-phy";
        clock-names = "tcpdcore", "tcpdphy-ref";
        #phy-cells = <0x1>;
        reset-names = "uphy", "uphy-pipe", "uphy-tcphy";
        rockchip,uphy-dp-sel = <0x6268 0x13 0x13>;
        clocks = <0x8 0x7e 0x8 0x7d>;
        extcon = <0x28>;
        rockchip,usb3-host-port = <0x2434 0xc 0x1c>;
        power-domains = <0x15 0x8>;
        rockchip,usb3tousb2-en = <0xe580 0x3 0x13>;
        assigned-clock-rates = <0x2faf080>;
        rockchip,pipe-status = <0xe5c0 0x0 0x0>;
        resets = <0x8 0x95 0x8 0x94 0x8 0x14c>;
        assigned-clocks = <0x8 0x7e>;
        rockchip,external-psm = <0xe588 0xe 0x1e>;
        status = "okay";
        rockchip,typec-conn-dir = <0xe580 0x0 0x10>;
        phandle = <0x121>;
        rockchip,grf = <0x16>;

        dp-port {
            #phy-cells = <0x0>;
            phandle = <0x2d>;
        };

        usb3-port {
            #phy-cells = <0x0>;
            phandle = <0x2a>;
        };
    };

    nocp-vio0-msch1@ffa8f400 {
        reg = <0x0 0xffa8f400 0x0 0x400>;
        compatible = "rockchip,rk3399-nocp";
        phandle = <0x142>;
    };

    rkisp1@ff910000 {
        reg = <0x0 0xff910000 0x0 0x4000>;
        interrupts = <0x0 0x2b 0x4 0x0>;
        devfreq = <0xaf>;
        compatible = "rockchip,rk3399-rkisp1";
        clock-names = "clk_isp", "aclk_isp", "hclk_isp", "aclk_isp_wrap", "hclk_isp_wrap";
        interrupt-names = "isp_irq";
        clocks = <0x8 0x6e 0x8 0xe5 0x8 0x1df 0x8 0xe9 0x8 0x1e3>;
        power-domains = <0x15 0x13>;
        iommus = <0xb0>;
        status = "disabled";
        phandle = <0x12a>;
    };

    rkisp1@ff920000 {
        reg = <0x0 0xff920000 0x0 0x4000>;
        interrupts = <0x0 0x2c 0x4 0x0>;
        devfreq = <0xaf>;
        compatible = "rockchip,rk3399-rkisp1";
        clock-names = "clk_isp", "aclk_isp", "hclk_isp", "aclk_isp_wrap", "hclk_isp_wrap", "pclk_isp_wrap";
        interrupt-names = "isp_irq";
        clocks = <0x8 0x6f 0x8 0xe6 0x8 0x1e0 0x8 0xea 0x8 0x1e4 0x8 0x17b>;
        power-domains = <0x15 0x14>;
        iommus = <0xb1>;
        status = "disabled";
        phandle = <0x12b>;
    };

    nocp-lp-msch1@ffa8ec00 {
        reg = <0x0 0xffa8ec00 0x0 0x400>;
        compatible = "rockchip,rk3399-nocp";
        phandle = <0x140>;
    };

    rockchip-suspend {
        compatible = "rockchip,pm-rk3399";
        rockchip,power-ctrl = <0x34 0x11 0x0 0x34 0xe 0x0>;
        rockchip,pwm-regulator-config = <0x4>;
        rockchip,wakeup-config = <0x801>;
        rockchip,sleep-mode-config = <0xde>;
        rockchip,sleep-debug-en = <0x1>;
        status = "okay";
        phandle = <0x16b>;
        rockchip,virtual-poweroff = <0x0>;
    };

    watchdog@ff848000 {
        reg = <0x0 0xff848000 0x0 0x100>;
        interrupts = <0x0 0x78 0x4 0x0>;
        compatible = "snps,dw-wdt";
        clocks = <0x8 0x17c>;
    };

    pcie@f8000000 {
        reg = <0x0 0xf8000000 0x0 0x2000000 0x0 0xfd000000 0x0 0x1000000>;
        max-link-speed = <0x2>;
        aspm-no-l0s;
        phys = <0x89>;
        interrupts = <0x0 0x31 0x4 0x0 0x0 0x32 0x4 0x0 0x0 0x33 0x4 0x0>;
        pinctrl-0 = <0x8b>;
        reg-names = "axi-base", "apb-base";
        compatible = "rockchip,rk3399-pcie";
        clock-names = "aclk", "aclk-perf", "hclk", "pm";
        num-lanes = <0x4>;
        reset-names = "core", "mgmt", "mgmt-sticky", "pipe", "pm", "pclk", "aclk";
        linux,pci-domain = <0x0>;
        bus-range = <0x0 0x1f>;
        bus-scan-delay-ms = <0x3e8>;
        interrupt-names = "sys", "legacy", "client";
        phy-names = "pcie-phy";
        clocks = <0x8 0xc5 0x8 0xc4 0x8 0x147 0x8 0xa0>;
        #interrupt-cells = <0x1>;
        msi-map = <0x0 0x87 0x0 0x1000>;
        ranges = <0x83000000 0x0 0xfa000000 0x0 0xfa000000 0x0 0x1e00000 0x81000000 0x0 0xfbe00000 0x0 0xfbe00000 0x0 0x100000>;
        resets = <0x8 0x82 0x8 0x83 0x8 0x84 0x8 0x85 0x8 0x86 0x8 0x81 0x8 0x80>;
        status = "okay";
        vpcie3v3-supply = <0x8c>;
        #address-cells = <0x3>;
        interrupt-map = <0x0 0x0 0x0 0x1 0x88 0x0 0x0 0x0 0x0 0x2 0x88 0x1 0x0 0x0 0x0 0x3 0x88 0x2 0x0 0x0 0x0 0x4 0x88 0x3>;
        interrupt-map-mask = <0x0 0x0 0x0 0x7>;
        phandle = <0x110>;
        #size-cells = <0x2>;
        pinctrl-names = "default";
        ep-gpios = <0x8a 0x1c 0x0>;

        interrupt-controller {
            #interrupt-cells = <0x1>;
            #address-cells = <0x0>;
            phandle = <0x88>;
            interrupt-controller;
        };
    };

    hdmi@ff940000 {
        reg = <0x0 0xff940000 0x0 0x20000>;
        interrupts = <0x0 0x17 0x4 0x0>;
        pinctrl-0 = <0xb2>;
        compatible = "rockchip,rk3399-dw-hdmi";
        clock-names = "iahb", "isfr", "vpll", "grf", "cec";
        clocks = <0x8 0x174 0x8 0x71 0x8 0x7 0x8 0x16f 0x8 0x70>;
        power-domains = <0x15 0x15>;
        status = "okay";
        reg-io-width = <0x4>;
        phandle = <0xd4>;
        rockchip,phy-table = <0x46cf710 0x8009 0x4 0x272 0x9d5b340 0x802b 0x4 0x209 0x11b3dc40 0x8039 0x5 0x28d 0x2367b880 0x8039 0x0 0x19d 0x0 0x0 0x0 0x0>;
        rockchip,grf = <0x16>;
        pinctrl-names = "default";

        ports {

            port {
                #address-cells = <0x1>;
                phandle = <0x12c>;
                #size-cells = <0x0>;

                endpoint@0 {
                    reg = <0x0>;
                    remote-endpoint = <0xb3>;
                    phandle = <0xab>;
                };

                endpoint@1 {
                    reg = <0x1>;
                    remote-endpoint = <0xb4>;
                    phandle = <0xa4>;
                };
            };
        };
    };

    wireless-wlan {
        compatible = "wlan-platdata";
        sdio_vref = <0x708>;
        WIFI,host_wake_irq = <0x3c 0x3 0x0>;
        status = "okay";
        wifi_chip_type = "ap6354";
        rockchip,grf = <0x16>;
    };

    dsi@ff960000 {
        reg = <0x0 0xff960000 0x0 0x8000>;
        interrupts = <0x0 0x2d 0x4 0x0>;
        compatible = "rockchip,rk3399-mipi-dsi";
        clock-names = "ref", "pclk", "phy_cfg";
        reset-names = "apb";
        clocks = <0x8 0xa2 0x8 0x170 0x8 0xa3>;
        power-domains = <0x15 0xf>;
        resets = <0x8 0xfb>;
        status = "disabled";
        #address-cells = <0x1>;
        phandle = <0x12d>;
        #size-cells = <0x0>;
        rockchip,grf = <0x16>;

        ports {

            port {
                #address-cells = <0x1>;
                #size-cells = <0x0>;

                endpoint@0 {
                    reg = <0x0>;
                    remote-endpoint = <0xb5>;
                    phandle = <0xaa>;
                };

                endpoint@1 {
                    reg = <0x1>;
                    remote-endpoint = <0xb6>;
                    phandle = <0xa2>;
                };
            };
        };
    };

    dsi@ff968000 {
        reg = <0x0 0xff968000 0x0 0x8000>;
        interrupts = <0x0 0x2e 0x4 0x0>;
        compatible = "rockchip,rk3399-mipi-dsi";
        clock-names = "ref", "pclk", "phy_cfg";
        reset-names = "apb";
        clocks = <0x8 0xa2 0x8 0x171 0x8 0xa4>;
        power-domains = <0x15 0xf>;
        resets = <0x8 0xfc>;
        status = "disabled";
        #address-cells = <0x1>;
        phandle = <0x12e>;
        #size-cells = <0x0>;
        rockchip,grf = <0x16>;

        ports {

            port {
                #address-cells = <0x1>;
                #size-cells = <0x0>;

                endpoint@0 {
                    reg = <0x0>;
                    remote-endpoint = <0xb7>;
                    phandle = <0xad>;
                };

                endpoint@1 {
                    reg = <0x1>;
                    remote-endpoint = <0xb8>;
                    phandle = <0xa6>;
                };
            };
        };
    };

    edp@ff970000 {
        reg = <0x0 0xff970000 0x0 0x8000>;
        interrupts = <0x0 0xa 0x4 0x0>;
        compatible = "rockchip,rk3399-edp";
        clock-names = "dp", "pclk";
        reset-names = "dp";
        clocks = <0x8 0x16a 0x8 0x16c>;
        power-domains = <0x15 0x19>;
        resets = <0x8 0x11d>;
        status = "disabled";
        phandle = <0x130>;
        rockchip,grf = <0x16>;

        ports {
            #address-cells = <0x1>;
            #size-cells = <0x0>;

            port@0 {
                reg = <0x0>;
                #address-cells = <0x1>;
                phandle = <0x131>;
                #size-cells = <0x0>;

                endpoint@0 {
                    reg = <0x0>;
                    remote-endpoint = <0xb9>;
                    phandle = <0xa9>;
                };

                endpoint@1 {
                    reg = <0x1>;
                    remote-endpoint = <0xba>;
                    phandle = <0xa3>;
                };
            };
        };
    };

    spdif@ff870000 {
        reg = <0x0 0xff870000 0x0 0x1000>;
        dmas = <0x9b 0x7>;
        interrupts = <0x0 0x42 0x4 0x0>;
        pinctrl-0 = <0x9c>;
        compatible = "rockchip,rk3399-spdif";
        clock-names = "mclk", "hclk";
        clocks = <0x8 0x55 0x8 0x1d7>;
        power-domains = <0x15 0x1c>;
        assigned-clocks = <0x8 0xb1>;
        status = "okay";
        #sound-dai-cells = <0x0>;
        phandle = <0xd8>;
        assigned-clock-parents = <0x8 0x5>;
        dma-names = "tx";
        pinctrl-names = "default";
    };

    vcc3v3-pcie-regulator {
        gpio = <0x34 0x18 0x0>;
        regulator-name = "vcc3v3_pcie";
        pinctrl-0 = <0xc8>;
        compatible = "regulator-fixed";
        enable-active-high;
        regulator-min-microvolt = <0x325aa0>;
        vin-supply = <0xc9>;
        regulator-max-microvolt = <0x325aa0>;
        phandle = <0x8c>;
        pinctrl-names = "default";
    };

    dc-12v {
        regulator-name = "dc_12v";
        compatible = "regulator-fixed";
        regulator-always-on;
        regulator-min-microvolt = <0xb71b00>;
        regulator-max-microvolt = <0xb71b00>;
        phandle = <0xc9>;
        regulator-boot-on;
    };

    chosen {
        stdout-path = "serial2:1500000n8";
        linux,initrd-end = <0x0 0xf5f01042>;
        bootargs = "earlycon=uart8250,mmio32,0xff1a0000 swiotlb=1 no_console_suspend=1 usbcore.autosuspend=-1 root=UUID=9256f34c-983c-45a3-8244-80648ca07fed rootwait rootfstype=ext4 console=ttyS2,1500000 console=tty1 panic=10 consoleblank=0 loglevel=1 ubootpart=4d82c01e-01 usb-storage.quirks=0x2537:0x1066:u,0x2537:0x1068:u   cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory swapaccount=1";
        linux,initrd-start = <0x0 0xf578f000>;
    };

    pmu-clock-controller@ff750000 {
        reg = <0x0 0xff750000 0x0 0x1000>;
        #clock-cells = <0x1>;
        #reset-cells = <0x1>;
        compatible = "rockchip,rk3399-pmucru";
        assigned-clock-rates = <0x284af100 0x5c81a40>;
        assigned-clocks = <0x31 0x1 0x31 0x2c>;
        phandle = <0x31>;
    };

    nocp-cci-msch1@ffa8e000 {
        reg = <0x0 0xffa8e000 0x0 0x400>;
        compatible = "rockchip,rk3399-nocp";
        phandle = <0x13d>;
    };

    hdmi-sound {
        compatible = "rockchip,rk3399-hdmi-dp";
        rockchip,codec = <0xd4 0xd5>;
        status = "okay";
        rockchip,cpu = <0xd3>;
    };

    serial@ff180000 {
        reg = <0x0 0xff180000 0x0 0x100>;
        interrupts = <0x0 0x63 0x4 0x0>;
        pinctrl-0 = <0x42 0x43>;
        reg-shift = <0x2>;
        compatible = "rockchip,rk3399-uart", "snps,dw-apb-uart";
        clock-names = "baudclk", "apb_pclk";
        clocks = <0x8 0x51 0x8 0x160>;
        assigned-clocks = <0x8 0xac>;
        status = "okay";
        reg-io-width = <0x4>;
        phandle = <0xfc>;
        assigned-clock-parents = <0x8 0x5>;
        pinctrl-names = "default";
    };

    sdio-pwrseq {
        pinctrl-0 = <0xce>;
        compatible = "mmc-pwrseq-simple";
        clock-names = "ext_clock";
        reset-gpios = <0x3c 0xa 0x1>;
        clocks = <0xcd 0x1>;
        phandle = <0x1c>;
        pinctrl-names = "default";
    };

    serial@ff190000 {
        reg = <0x0 0xff190000 0x0 0x100>;
        interrupts = <0x0 0x62 0x4 0x0>;
        pinctrl-0 = <0x44>;
        reg-shift = <0x2>;
        compatible = "rockchip,rk3399-uart", "snps,dw-apb-uart";
        clock-names = "baudclk", "apb_pclk";
        clocks = <0x8 0x52 0x8 0x161>;
        assigned-clocks = <0x8 0xad>;
        status = "disabled";
        reg-io-width = <0x4>;
        phandle = <0xfd>;
        assigned-clock-parents = <0x8 0x5>;
        pinctrl-names = "default";
    };

    nocp-gpu-msch1@ffa8e400 {
        reg = <0x0 0xffa8e400 0x0 0x400>;
        compatible = "rockchip,rk3399-nocp";
        phandle = <0x13e>;
    };

    gpio-keys {
        pinctrl-0 = <0xd1>;
        compatible = "gpio-keys";
        autorepeat;
        pinctrl-names = "default";

        power {
            gpios = <0x3c 0x5 0x1>;
            label = "Power";
            wakeup-source;
            debounce-interval = <0x64>;
            linux,code = <0x74>;
        };
    };

    vcc3v3-sys {
        regulator-name = "vcc3v3_sys";
        compatible = "regulator-fixed";
        regulator-always-on;
        regulator-min-microvolt = <0x325aa0>;
        vin-supply = <0x35>;
        regulator-max-microvolt = <0x325aa0>;
        phandle = <0x38>;
    };

    serial@ff370000 {
        reg = <0x0 0xff370000 0x0 0x100>;
        interrupts = <0x0 0x66 0x4 0x0>;
        pinctrl-0 = <0x83>;
        reg-shift = <0x2>;
        compatible = "rockchip,rk3399-uart", "snps,dw-apb-uart";
        clock-names = "baudclk", "apb_pclk";
        clocks = <0x31 0x6 0x31 0x22>;
        assigned-clocks = <0x31 0xc>;
        status = "disabled";
        reg-io-width = <0x4>;
        phandle = <0x10d>;
        assigned-clock-parents = <0x31 0x1>;
        pinctrl-names = "default";
    };

    pcie-phy {
        compatible = "rockchip,rk3399-pcie-phy";
        clock-names = "refclk";
        #phy-cells = <0x0>;
        reset-names = "phy";
        clocks = <0x8 0x8a>;
        resets = <0x8 0x87>;
        status = "okay";
        phandle = <0x89>;
        rockchip,grf = <0x16>;
    };

    interrupt-controller@fee00000 {
        reg = <0x0 0xfee00000 0x0 0x10000 0x0 0xfef00000 0x0 0xc0000 0x0 0xfff00000 0x0 0x10000 0x0 0xfff10000 0x0 0x10000 0x0 0xfff20000 0x0 0x10000>;
        interrupts = <0x1 0x9 0x4 0x0>;
        compatible = "arm,gic-v3";
        #interrupt-cells = <0x4>;
        ranges;
        #address-cells = <0x2>;
        phandle = <0x1>;
        interrupt-controller;
        #size-cells = <0x2>;

        interrupt-controller@fee20000 {
            reg = <0x0 0xfee20000 0x0 0x20000>;
            compatible = "arm,gic-v3-its";
            msi-controller;
            phandle = <0x87>;
        };

        ppi-partitions {

            interrupt-partition-0 {
                phandle = <0x13>;
                affinity = <0x2 0x3 0x4 0x5>;
            };

            interrupt-partition-1 {
                phandle = <0x14>;
                affinity = <0x6 0x7>;
            };
        };
    };

    syscon@ff320000 {
        reg = <0x0 0xff320000 0x0 0x1000>;
        compatible = "rockchip,rk3399-pmugrf", "syscon", "simple-mfd";
        #address-cells = <0x1>;
        phandle = <0x91>;
        #size-cells = <0x1>;

        pmu-pvtm {
            compatible = "rockchip,rk3399-pmu-pvtm";
            clock-names = "pmu";
            reset-names = "pmu";
            clocks = <0x31 0x7>;
            resets = <0x8 0x1b>;
            status = "okay";
            phandle = <0x10b>;
        };

        io-domains {
            compatible = "rockchip,rk3399-pmu-io-voltage-domain";
            status = "okay";
            phandle = <0x10a>;
            pmu1830-supply = <0x7e>;
        };

        reboot-mode {
            mode-recovery = <0x5242c303>;
            mode-loader = <0x5242c301>;
            mode-normal = <0x5242c300>;
            compatible = "syscon-reboot-mode";
            mode-bootloader = <0x5242c301>;
            mode-ums = <0x5242c30c>;
            mode-fastboot = <0x5242c309>;
            offset = <0x300>;
            mode-charge = <0x5242c30b>;
        };
    };

    serial@ff1a0000 {
        reg = <0x0 0xff1a0000 0x0 0x100>;
        interrupts = <0x0 0x64 0x4 0x0>;
        pinctrl-0 = <0x45>;
        reg-shift = <0x2>;
        compatible = "rockchip,rk3399-uart", "snps,dw-apb-uart";
        clock-names = "baudclk", "apb_pclk";
        clocks = <0x8 0x53 0x8 0x162>;
        assigned-clocks = <0x8 0xad>;
        status = "okay";
        reg-io-width = <0x4>;
        phandle = <0xfe>;
        assigned-clock-parents = <0x8 0x5>;
        pinctrl-names = "default";
    };

    serial@ff1b0000 {
        reg = <0x0 0xff1b0000 0x0 0x100>;
        interrupts = <0x0 0x65 0x4 0x0>;
        pinctrl-0 = <0x46 0x47 0x48>;
        reg-shift = <0x2>;
        compatible = "rockchip,rk3399-uart", "snps,dw-apb-uart";
        clock-names = "baudclk", "apb_pclk";
        clocks = <0x8 0x54 0x8 0x163>;
        assigned-clocks = <0x8 0xad>;
        status = "disabled";
        reg-io-width = <0x4>;
        phandle = <0xff>;
        assigned-clock-parents = <0x8 0x5>;
        pinctrl-names = "default";
    };

    spdif-sound {
        compatible = "simple-audio-card";
        status = "okay";
        simple-audio-card,name = "rk-spdif-sound";

        simple-audio-card,codec {
            sound-dai = <0xd9>;
        };

        simple-audio-card,cpu {
            sound-dai = <0xd8>;
        };
    };

    voppwm@ff9001a0 {
        reg = <0x0 0xff9001a0 0x0 0x10>;
        pinctrl-0 = <0xae>;
        compatible = "rockchip,vop-pwm";
        clock-names = "pwm";
        clocks = <0x8 0x6b>;
        #pwm-cells = <0x3>;
        status = "disabled";
        phandle = <0x129>;
        pinctrl-names = "active";
    };

    iep@ff670000 {
        reg = <0x0 0xff670000 0x0 0x800>;
        interrupts = <0x0 0x2a 0x4 0x0>;
        allocator = <0x1>;
        compatible = "rockchip,iep";
        clock-names = "aclk_iep", "hclk_iep";
        clocks = <0x8 0xe1 0x8 0x1dd>;
        power-domains = <0x15 0x22>;
        iommus = <0x98>;
        iommu_enabled = <0x1>;
        status = "okay";
        version = <0x2>;
        phandle = <0x115>;
    };

    memory {
        reg = <0x0 0x200000 0x0 0xf7e00000>;
        device_type = "memory";
    };

    saradc@ff100000 {
        reg = <0x0 0xff100000 0x0 0x100>;
        interrupts = <0x0 0x3e 0x4 0x0>;
        compatible = "rockchip,rk3399-saradc";
        clock-names = "saradc", "apb_pclk";
        reset-names = "saradc-apb";
        clocks = <0x8 0x50 0x8 0x165>;
        resets = <0x8 0xd4>;
        status = "okay";
        phandle = <0xeb>;
        #io-channel-cells = <0x1>;
    };

    syscon@ff770000 {
        reg = <0x0 0xff770000 0x0 0x10000>;
        compatible = "rockchip,rk3399-grf", "syscon", "simple-mfd";
        #address-cells = <0x1>;
        phandle = <0x16>;
        #size-cells = <0x1>;

        pvtm {
            compatible = "rockchip,rk3399-pvtm";
            clock-names = "core_l", "core_b", "gpu", "ddr";
            reset-names = "core_l", "core_b", "gpu", "ddr";
            clocks = <0x8 0x73 0x8 0x74 0x8 0x75 0x8 0x76>;
            resets = <0x8 0x1f 0x8 0x2f 0x8 0x123 0x8 0x4f>;
            status = "okay";
            phandle = <0x120>;
        };

        mipi-dphy-rx0 {
            compatible = "rockchip,rk3399-mipi-dphy";
            clock-names = "dphy-ref", "dphy-cfg", "grf";
            clocks = <0x8 0x77 0x8 0xa5 0x8 0x16f>;
            power-domains = <0x15 0xf>;
            status = "disabled";
            phandle = <0x11f>;
        };

        phy@f780 {
            reg = <0xf780 0x24>;
            compatible = "rockchip,rk3399-emmc-phy";
            clock-names = "emmcclk";
            #phy-cells = <0x0>;
            clocks = <0x9a>;
            status = "okay";
            phandle = <0x25>;
        };

        io-domains {
            sdmmc-supply = <0x20>;
            compatible = "rockchip,rk3399-io-voltage-domain";
            bt656-supply = <0x7e>;
            status = "okay";
            audio-supply = <0x7e>;
            gpio1830-supply = <0x7e>;
            phandle = <0x11c>;
        };

        usb2-phy@e450 {
            reg = <0xe450 0x10>;
            #clock-cells = <0x0>;
            compatible = "rockchip,rk3399-usb2phy";
            clock-names = "phyclk";
            clocks = <0x8 0x7b>;
            extcon = <0x28>;
            clock-output-names = "clk_usbphy0_480m";
            status = "okay";
            phandle = <0x11d>;

            otg-port {
                interrupts = <0x0 0x67 0x4 0x0 0x0 0x68 0x4 0x0 0x0 0x6a 0x4 0x0>;
                #phy-cells = <0x0>;
                interrupt-names = "otg-bvalid", "otg-id", "linestate";
                status = "okay";
                phandle = <0x29>;
            };

            host-port {
                interrupts = <0x0 0x1b 0x4 0x0>;
                #phy-cells = <0x0>;
                phy-supply = <0x99>;
                interrupt-names = "linestate";
                status = "okay";
                phandle = <0x26>;
            };
        };

        usb2-phy@e460 {
            reg = <0xe460 0x10>;
            #clock-cells = <0x0>;
            compatible = "rockchip,rk3399-usb2phy";
            clock-names = "phyclk";
            clocks = <0x8 0x7c>;
            clock-output-names = "clk_usbphy1_480m";
            status = "okay";
            phandle = <0x11e>;

            otg-port {
                interrupts = <0x0 0x6c 0x4 0x0 0x0 0x6d 0x4 0x0 0x0 0x6f 0x4 0x0>;
                #phy-cells = <0x0>;
                interrupt-names = "otg-bvalid", "otg-id", "linestate";
                status = "okay";
                phandle = <0x2b>;
            };

            host-port {
                interrupts = <0x0 0x1f 0x4 0x0>;
                #phy-cells = <0x0>;
                phy-supply = <0x99>;
                interrupt-names = "linestate";
                status = "okay";
                phandle = <0x27>;
            };
        };
    };

    ethernet@fe300000 {
        reg = <0x0 0xfe300000 0x0 0x10000>;
        interrupts = <0x0 0xc 0x4 0x0>;
        pinctrl-0 = <0x1a>;
        pinctrl-1 = <0x1b>;
        snps,reset-gpio = <0x18 0xf 0x1>;
        compatible = "rockchip,rk3399-gmac";
        local-mac-address = [9a 70 70 00 c0 dd];
        clock-names = "stmmaceth", "mac_clk_rx", "mac_clk_tx", "clk_mac_ref", "clk_mac_refout", "aclk_mac", "pclk_mac";
        disable,wake-on-lan;
        phy-supply = <0x17>;
        reset-names = "stmmaceth";
        interrupt-names = "macirq";
        snps,reset-active-low;
        phy-mode = "rgmii";
        clocks = <0x8 0x69 0x8 0x67 0x8 0x68 0x8 0x66 0x8 0x6a 0x8 0xd5 0x8 0x166>;
        clock_in_out = "input";
        power-domains = <0x15 0x16>;
        rx_delay = <0x20>;
        resets = <0x8 0x89>;
        rockchip,bugged_tx_coe;
        assigned-clocks = <0x8 0xa6>;
        snps,reset-delays-us = <0x0 0x2710 0xc350>;
        status = "okay";
        phandle = <0xde>;
        tx_delay = <0x28>;
        assigned-clock-parents = <0x19>;
        rockchip,grf = <0x16>;
        pinctrl-names = "default", "sleep";
    };

    qos@ffa58000 {
        reg = <0x0 0xffa58000 0x0 0x20>;
        compatible = "syscon";
        phandle = <0x6c>;
    };

    qos@ffa60080 {
        reg = <0x0 0xffa60080 0x0 0x20>;
        compatible = "syscon";
        phandle = <0x6f>;
    };

    qos@ffa60100 {
        reg = <0x0 0xffa60100 0x0 0x20>;
        compatible = "syscon";
        phandle = <0x70>;
    };

    qos@ffa60180 {
        reg = <0x0 0xffa60180 0x0 0x20>;
        compatible = "syscon";
        phandle = <0x71>;
    };

    qos@ffa70000 {
        reg = <0x0 0xffa70000 0x0 0x20>;
        compatible = "syscon";
        phandle = <0x74>;
    };

    qos@ffa70080 {
        reg = <0x0 0xffa70080 0x0 0x20>;
        compatible = "syscon";
        phandle = <0x75>;
    };

    qos@ffa74000 {
        reg = <0x0 0xffa74000 0x0 0x20>;
        compatible = "syscon";
        phandle = <0x72>;
    };

    qos@ffa76000 {
        reg = <0x0 0xffa76000 0x0 0x20>;
        compatible = "syscon";
        phandle = <0x73>;
    };

    display-subsystem {
        ports = <0xbb 0xbc>;
        compatible = "rockchip,display-subsystem";
        clock-names = "hdmi-tmds-pll", "default-vop-pll";
        logo-memory-region = <0xbd>;
        clocks = <0x8 0x7 0x8 0x4>;
        status = "okay";
        phandle = <0x133>;

        route {

            route-hdmi {
                connect = <0xb3>;
                logo,mode = "center";
                phandle = <0x134>;
                logo,kernel = "logo_kernel.bmp";
                charge_logo,mode = "center";
                logo,uboot = "logo.bmp";
            };

            route-dp {
                connect = <0x30>;
                logo,mode = "center";
                phandle = <0x135>;
                logo,kernel = "logo_kernel.bmp";
                charge_logo,mode = "center";
                logo,uboot = "logo.bmp";
            };
        };
    };

    qos@ffa90000 {
        reg = <0x0 0xffa90000 0x0 0x20>;
        compatible = "syscon";
        phandle = <0x76>;
    };

    qos@ffa5c000 {
        reg = <0x0 0xffa5c000 0x0 0x20>;
        compatible = "syscon";
        phandle = <0x6d>;
    };

    qos@ffa98000 {
        reg = <0x0 0xffa98000 0x0 0x20>;
        compatible = "syscon";
        phandle = <0x65>;
    };

    voppwm@ff8f01a0 {
        reg = <0x0 0xff8f01a0 0x0 0x10>;
        pinctrl-0 = <0xa7>;
        compatible = "rockchip,vop-pwm";
        clock-names = "pwm";
        clocks = <0x8 0x6c>;
        #pwm-cells = <0x3>;
        status = "disabled";
        phandle = <0x127>;
        pinctrl-names = "active";
    };

    vcc-sys {
        regulator-name = "vcc_sys";
        compatible = "regulator-fixed";
        regulator-always-on;
        regulator-min-microvolt = <0x4c4b40>;
        vin-supply = <0xc9>;
        regulator-max-microvolt = <0x4c4b40>;
        phandle = <0x35>;
    };

    gpu@ff9a0000 {
        reg = <0x0 0xff9a0000 0x0 0x10000>;
        interrupts = <0x0 0x13 0x4 0x0 0x0 0x14 0x4 0x0 0x0 0x15 0x4 0x0>;
        compatible = "arm,malit860", "arm,malit86x", "arm,malit8xx", "arm,mali-midgard";
        clock-names = "clk_mali";
        operating-points-v2 = <0x9f>;
        power-off-delay-ms = <0xc8>;
        interrupt-names = "GPU", "JOB", "MMU";
        clocks = <0x8 0xd0>;
        #cooling-cells = <0x2>;
        power-domains = <0x15 0x23>;
        mali-supply = <0xa0>;
        status = "okay";
        phandle = <0x5f>;

        power_model {
            ts = <0x7d00 0x125c 0xffffffb0 0x2>;
            static-coefficient = <0x64578>;
            dynamic-coefficient = <0x2dd>;
            compatible = "arm,mali-simple-power-model";
            static-power = <0x12c>;
            thermal-zone = "gpu-thermal";
            frequency = <0x1f4>;
            voltage = <0x384>;
            phandle = <0x125>;
            dynamic-power = <0x18c>;
        };
    };

    vdd-log {
        pwms = <0xcc 0x0 0x61a8 0x1>;
        regulator-name = "vdd_log";
        compatible = "pwm-regulator";
        rockchip,pwm_voltage = <0xdbba0>;
        regulator-always-on;
        regulator-min-microvolt = <0xc3500>;
        pwm-supply = <0x35>;
        regulator-max-microvolt = <0x155cc0>;
        phandle = <0x16e>;
        regulator-boot-on;
        rockchip,pwm_id = <0x2>;
    };

    vcc1v8-s0 {
        regulator-name = "vcc1v8_s0";
        compatible = "regulator-fixed";
        regulator-always-on;
        regulator-min-microvolt = <0x1b7740>;
        regulator-max-microvolt = <0x1b7740>;
        phandle = <0x16d>;
    };

    reserved-memory {
        ranges;
        #address-cells = <0x2>;
        #size-cells = <0x2>;

        drm-logo@00000000 {
            reg = <0x0 0x0 0x0 0x0>;
            compatible = "rockchip,drm-logo";
            phandle = <0xbd>;
        };
    };

    qos@ffaa0000 {
        reg = <0x0 0xffaa0000 0x0 0x20>;
        compatible = "syscon";
        phandle = <0x77>;
    };

    qos@ffaa0080 {
        reg = <0x0 0xffaa0080 0x0 0x20>;
        compatible = "syscon";
        phandle = <0x78>;
    };

    qos@ffaa8000 {
        reg = <0x0 0xffaa8000 0x0 0x20>;
        compatible = "syscon";
        phandle = <0x79>;
    };

    qos@ffaa8080 {
        reg = <0x0 0xffaa8080 0x0 0x20>;
        compatible = "syscon";
        phandle = <0x7a>;
    };

    qos@ffab0000 {
        reg = <0x0 0xffab0000 0x0 0x20>;
        compatible = "syscon";
        phandle = <0x66>;
    };

    qos@ffab0080 {
        reg = <0x0 0xffab0080 0x0 0x20>;
        compatible = "syscon";
        phandle = <0x67>;
    };

    qos@ffab8000 {
        reg = <0x0 0xffab8000 0x0 0x20>;
        compatible = "syscon";
        phandle = <0x68>;
    };

    qos@ffac0000 {
        reg = <0x0 0xffac0000 0x0 0x20>;
        compatible = "syscon";
        phandle = <0x69>;
    };

    qos@ffac0080 {
        reg = <0x0 0xffac0080 0x0 0x20>;
        compatible = "syscon";
        phandle = <0x6a>;
    };

    qos@ffac8000 {
        reg = <0x0 0xffac8000 0x0 0x20>;
        compatible = "syscon";
        phandle = <0x7b>;
    };

    qos@ffac8080 {
        reg = <0x0 0xffac8080 0x0 0x20>;
        compatible = "syscon";
        phandle = <0x7c>;
    };

    qos@ffad0000 {
        reg = <0x0 0xffad0000 0x0 0x20>;
        compatible = "syscon";
        phandle = <0x7d>;
    };

    qos@ffad8080 {
        reg = <0x0 0xffad8080 0x0 0x20>;
        compatible = "syscon";
        phandle = <0x6e>;
    };

    qos@ffae0000 {
        reg = <0x0 0xffae0000 0x0 0x20>;
        compatible = "syscon";
        phandle = <0x6b>;
    };

    headphones-sound {
        simple-audio-card,hp-det-gpio = <0x3c 0x8 0x1>;
        simple-audio-card,format = "i2s";
        compatible = "simple-audio-card";
        status = "okay";
        simple-audio-card,mclk-fs = <0x100>;
        simple-audio-card,name = "rk-es8316-hp-sound";

        simple-audio-card,codec {
            sound-dai = <0xd7>;
        };

        simple-audio-card,cpu {
            sound-dai = <0xd6>;
        };
    };

    dp@fec00000 {
        reg = <0x0 0xfec00000 0x0 0x100000>;
        phys = <0x2d 0x2e>;
        interrupts = <0x0 0x9 0x4 0x0>;
        compatible = "rockchip,rk3399-cdn-dp";
        clock-names = "core-clk", "pclk", "spdif", "grf";
        reset-names = "spdif", "dptx", "apb", "core";
        clocks = <0x8 0x72 0x8 0x175 0x8 0xa1 0x8 0x16f>;
        extcon = <0x28>;
        power-domains = <0x15 0x15>;
        assigned-clock-rates = <0x5f5e100 0xbebc200>;
        resets = <0x8 0x103 0x8 0x148 0x8 0x14a 0x8 0xfd>;
        assigned-clocks = <0x8 0x72 0x8 0xa1>;
        status = "okay";
        #sound-dai-cells = <0x1>;
        #address-cells = <0x1>;
        phandle = <0xd5>;
        #size-cells = <0x0>;
        rockchip,grf = <0x16>;

        ports {
            #address-cells = <0x1>;
            #size-cells = <0x0>;

            port {
                #address-cells = <0x1>;
                phandle = <0xea>;
                #size-cells = <0x0>;

                endpoint@0 {
                    reg = <0x0>;
                    remote-endpoint = <0x2f>;
                    phandle = <0xac>;
                };

                endpoint@1 {
                    reg = <0x1>;
                    remote-endpoint = <0x30>;
                    phandle = <0xa5>;
                };
            };
        };
    };

    spdif-out {
        compatible = "linux,spdif-dit";
        status = "okay";
        #sound-dai-cells = <0x0>;
        phandle = <0xd9>;
    };

    __symbols__ {
        dfi = "/dfi@ff630000";
        cru = "/clock-controller@ff760000";
        dmc = "/dmc";
        edp = "/edp@ff970000";
        dsi = "/dsi@ff960000";
        gic = "/interrupt-controller@fee00000";
        gpu = "/gpu@ff9a0000";
        grf = "/syscon@ff770000";
        iep = "/iep@ff670000";
        its = "/interrupt-controller@fee00000/interrupt-controller@fee20000";
        pmu = "/power-management@ff310000";
        rga = "/rga@ff680000";
        vpu = "/vpu_service@ff650000";
        i2c0 = "/i2c@ff3c0000";
        i2c1 = "/i2c@ff110000";
        i2c2 = "/i2c@ff120000";
        i2c3 = "/i2c@ff130000";
        i2c4 = "/i2c@ff3d0000";
        i2c5 = "/i2c@ff140000";
        i2c6 = "/i2c@ff150000";
        i2c7 = "/i2c@ff160000";
        i2c8 = "/i2c@ff3e0000";
        i2s0 = "/i2s@ff880000";
        i2s1 = "/i2s@ff890000";
        i2s2 = "/i2s@ff8a0000";
        dsi1 = "/dsi@ff968000";
        fan0 = "/pwm-fan";
        gmac = "/ethernet@fe300000";
        hdmi = "/hdmi@ff940000";
        iram = "/sram@ff8d0000";
        pwm0 = "/pwm@ff420000";
        pwm1 = "/pwm@ff420010";
        pwm2 = "/pwm@ff420020";
        pwm3 = "/pwm@ff420030";
        pvtm = "/syscon@ff770000/pvtm";
        spi0 = "/spi@ff1c0000";
        spi1 = "/spi@ff1d0000";
        spi2 = "/spi@ff1e0000";
        spi3 = "/spi@ff350000";
        spi4 = "/spi@ff1f0000";
        spi5 = "/spi@ff200000";
        usic = "/usb@fe340000";
        vopb = "/vop@ff900000";
        vopl = "/vop@ff8f0000";
        nocp_vio1_msch0 = "/nocp-vio1-msch0@ffa87800";
        nocp_vio1_msch1 = "/nocp-vio1-msch1@ffa8f800";
        pcie0_intc = "/pcie@f8000000/interrupt-controller";
        uart2a_xfer = "/pinctrl/uart2a/uart2a-xfer";
        vopb_out_dp = "/vop@ff900000/port/endpoint@3";
        ddr_timing = "/ddr_timing";
        uart2b_xfer = "/pinctrl/uart2b/uart2b-xfer";
        pmic_int_l = "/pinctrl/pmic/pmic-int-l";
        uart2c_xfer = "/pinctrl/uart2c/uart2c-xfer";
        nocp_gpu_msch0 = "/nocp-gpu-msch0@ffa86400";
        nocp_gpu_msch1 = "/nocp-gpu-msch1@ffa8e400";
        rgmii_sleep_pins = "/pinctrl/gmac/rgmii-sleep-pins";
        tcphy0_usb3 = "/phy@ff7c0000/usb3-port";
        qos_gpu = "/qos@ffae0000";
        qos_iep = "/qos@ffa98000";
        tcphy1_usb3 = "/phy@ff800000/usb3-port";
        gpu_leakage = "/efuse@ff690000/gpu-leakage@18";
        hdmi_hdcp2 = "/hdmi-hdcp2@ff988000";
        pmu_pvtm = "/syscon@ff320000/pmu-pvtm";
        dp_in = "/dp@fec00000/ports/port";
        qos_perihp = "/qos@ffad8080";
        fusb0 = "/i2c@ff3d0000/fusb30x@22";
        gpio0 = "/pinctrl/gpio0@ff720000";
        gpio1 = "/pinctrl/gpio1@ff730000";
        gpio2 = "/pinctrl/gpio2@ff780000";
        gpio3 = "/pinctrl/gpio3@ff788000";
        gpio4 = "/pinctrl/gpio4@ff790000";
        pcfg_output_low = "/pinctrl/pcfg-output-low";
        pwm2_pin_pull_down = "/pinctrl/pwm2/pwm2-pin-pull-down";
        gpu_opp_table = "/opp-table2";
        pcie0 = "/pcie@f8000000";
        power = "/power-management@ff310000/power-controller";
        vcca3v0_codec = "/i2c@ff3c0000/pmic@1b/regulators/LDO_REG5";
        tcphy0_dp = "/phy@ff7c0000/dp-port";
        tcphy1_dp = "/phy@ff800000/dp-port";
        rk808 = "/i2c@ff3c0000/pmic@1b";
        spi0_clk = "/pinctrl/spi0/spi0-clk";
        spi0_cs0 = "/pinctrl/spi0/spi0-cs0";
        spi0_cs1 = "/pinctrl/spi0/spi0-cs1";
        sdhci = "/sdhci@fe330000";
        sdio0 = "/dwmmc@fe310000";
        sdmmc = "/dwmmc@fe320000";
        spi1_clk = "/pinctrl/spi1/spi1-clk";
        spi1_cs0 = "/pinctrl/spi1/spi1-cs0";
        spdif = "/spdif@ff870000";
        spi2_clk = "/pinctrl/spi2/spi2-clk";
        spi2_cs0 = "/pinctrl/spi2/spi2-cs0";
        uart0 = "/serial@ff180000";
        uart1 = "/serial@ff190000";
        uart2 = "/serial@ff1a0000";
        uart3 = "/serial@ff1b0000";
        uart4 = "/serial@ff370000";
        tsadc = "/tsadc@ff260000";
        spi3_clk = "/pinctrl/spi3/spi3-clk";
        spi3_cs0 = "/pinctrl/spi3/spi3-cs0";
        spi4_clk = "/pinctrl/spi4/spi4-clk";
        spi4_cs0 = "/pinctrl/spi4/spi4-cs0";
        spi5_clk = "/pinctrl/spi5/spi5-clk";
        spi5_cs0 = "/pinctrl/spi5/spi5-cs0";
        pcfg_input = "/pinctrl/pcfg-input";
        sdio0_clk = "/pinctrl/sdio0/sdio0-clk";
        sdio0_cmd = "/pinctrl/sdio0/sdio0-cmd";
        sdio0_int = "/pinctrl/sdio0/sdio0-int";
        sdio0_pwr = "/pinctrl/sdio0/sdio0-pwr";
        vcca1v8_codec = "/i2c@ff3c0000/pmic@1b/regulators/LDO_REG7";
        rktimer = "/rktimer@ff850000";
        edp_hpd = "/pinctrl/edp/edp-hpd";
        nocp_cci_msch0 = "/nocp-cci-msch0@ffa86000";
        nocp_cci_msch1 = "/nocp-cci-msch1@ffa8e000";
        spdif_bus_1 = "/pinctrl/spdif/spdif-bus-1";
        vdec_mmu = "/iommu@ff660480";
        pcfg_pull_up = "/pinctrl/pcfg-pull-up";
        fusb0_int = "/pinctrl/fusb30x/fusb0-int";
        vcc1v8_dvp = "/i2c@ff3c0000/pmic@1b/regulators/LDO_REG1";
        vcc1v8_pmu = "/i2c@ff3c0000/pmic@1b/regulators/LDO_REG3";
        pcfg_pull_down = "/pinctrl/pcfg-pull-down";
        pcfg_pull_none = "/pinctrl/pcfg-pull-none";
        usbdrd3_0 = "/usb0";
        usbdrd3_1 = "/usb1";
        wifi_enable_h = "/pinctrl/sdio-pwrseq/wifi-enable-h";
        display_subsystem = "/display-subsystem";
        i2s1_2ch_bus = "/pinctrl/i2s1/i2s1-2ch-bus";
        vopb_out_edp = "/vop@ff900000/port/endpoint@0";
        vopb_out_dsi = "/vop@ff900000/port/endpoint@1";
        hdmi_in_vopb = "/hdmi@ff940000/ports/port/endpoint@0";
        hdmi_in_vopl = "/hdmi@ff940000/ports/port/endpoint@1";
        gpu_thermal = "/thermal-zones/gpu-thermal";
        qos_usb_otg0 = "/qos@ffa70000";
        qos_usb_otg1 = "/qos@ffa70080";
        i2s_8ch_mclk = "/pinctrl/i2s0/i2s-8ch-mclk";
        vsel1_gpio = "/pinctrl/pmic/vsel1-gpio";
        pcie_pwr_en = "/pinctrl/pcie/pcie-pwr-en";
        vop1_pwm_pin = "/pinctrl/pwm0/vop1-pwm-pin";
        vsel2_gpio = "/pinctrl/pmic/vsel2-gpio";
        emmc_phy = "/syscon@ff770000/phy@f780";
        emmc_pwr = "/pinctrl/emmc/emmc-pwr";
        pcfg_pull_down_12ma = "/pinctrl/pcfg-pull-down-12ma";
        thermal_zones = "/thermal-zones";
        spi0_rx = "/pinctrl/spi0/spi0-rx";
        spi0_tx = "/pinctrl/spi0/spi0-tx";
        spi1_rx = "/pinctrl/spi1/spi1-rx";
        spi1_tx = "/pinctrl/spi1/spi1-tx";
        spi2_rx = "/pinctrl/spi2/spi2-rx";
        spi2_tx = "/pinctrl/spi2/spi2-tx";
        spi3_rx = "/pinctrl/spi3/spi3-rx";
        spi3_tx = "/pinctrl/spi3/spi3-tx";
        spi4_rx = "/pinctrl/spi4/spi4-rx";
        spi4_tx = "/pinctrl/spi4/spi4-tx";
        spi5_rx = "/pinctrl/spi5/spi5-rx";
        spi5_tx = "/pinctrl/spi5/spi5-tx";
        threshold = "/thermal-zones/soc-thermal/trips/trip-point-0";
        host_vbus_drv = "/pinctrl/usb2/host-vbus-drv";
        u2phy0_host = "/syscon@ff770000/usb2-phy@e450/host-port";
        otp_gpio = "/pinctrl/tsadc/otp-gpio";
        soc_thermal = "/thermal-zones/soc-thermal";
        u2phy1_host = "/syscon@ff770000/usb2-phy@e460/host-port";
        clkin_gmac = "/external-gmac-clock";
        dsi_in_vopb = "/dsi@ff960000/ports/port/endpoint@0";
        dsi_in_vopl = "/dsi@ff960000/ports/port/endpoint@1";
        edp_in_vopb = "/edp@ff970000/ports/port@0/endpoint@0";
        edp_in_vopl = "/edp@ff970000/ports/port@0/endpoint@1";
        nocp_video_msch0 = "/nocp-video-msch0@ffa87000";
        nocp_video_msch1 = "/nocp-video-msch1@ffa8f000";
        pwm0_pin = "/pinctrl/pwm0/pwm0-pin";
        pwm1_pin = "/pinctrl/pwm1/pwm1-pin";
        pwm2_pin = "/pinctrl/pwm2/pwm2-pin";
        usbdrd_dwc3_0 = "/usb0/dwc3@fe800000";
        usbdrd_dwc3_1 = "/usb1/dwc3@fe900000";
        cdn_dp = "/dp@fec00000";
        vopb_out_dsi1 = "/vop@ff900000/port/endpoint@4";
        vopb_out_hdmi = "/vop@ff900000/port/endpoint@2";
        usb_host0_ehci = "/usb@fe380000";
        usb_host0_ohci = "/usb@fe3a0000";
        dc_12v = "/dc-12v";
        cpu_b0 = "/cpus/cpu@100";
        cpu_b1 = "/cpus/cpu@101";
        cpu_l0 = "/cpus/cpu@0";
        cpu_l1 = "/cpus/cpu@1";
        cpu_l2 = "/cpus/cpu@2";
        cpu_l3 = "/cpus/cpu@3";
        cpu_id = "/efuse@ff690000/cpu-id@7";
        usb_host1_ehci = "/usb@fe3c0000";
        usb_host1_ohci = "/usb@fe3e0000";
        sdio0_cd = "/pinctrl/sdio0/sdio0-cd";
        sdio0_wp = "/pinctrl/sdio0/sdio0-wp";
        mipi_dphy_tx1rx1 = "/mipi-dphy-tx1rx1@ff968000";
        edp_in = "/edp@ff970000/ports/port@0";
        CPU_SLEEP = "/cpus/idle-states/cpu-sleep";
        efuse0 = "/efuse@ff690000";
        dmc_opp_table = "/opp-table3";
        es8316 = "/i2c@ff110000/es8316@11";
        qos_vop_little = "/qos@ffad0000";
        route_hdmi = "/display-subsystem/route/route-hdmi";
        drm_logo = "/reserved-memory/drm-logo@00000000";
        rockchip_suspend = "/rockchip-suspend";
        qos_video_m0 = "/qos@ffab8000";
        nocp_hp_msch0 = "/nocp-hp-msch0@ffa86800";
        nocp_hp_msch1 = "/nocp-hp-msch1@ffa8e800";
        pcfg_output_high = "/pinctrl/pcfg-output-high";
        logic_leakage = "/efuse@ff690000/logic-leakage@1b";
        rgmii_pins = "/pinctrl/gmac/rgmii-pins";
        vcc3v3_sys = "/vcc3v3-sys";
        sdmmc_cd = "/pinctrl/sdmmc/sdmcc-cd";
        sdmmc_wp = "/pinctrl/sdmmc/sdmmc-wp";
        pcie_phy = "/pcie-phy";
        pwm3a_pin_pull_down = "/pinctrl/pwm3a/pwm3a-pin-pull-down";
        cpul_leakage = "/efuse@ff690000/cpu-leakage@1a";
        sdmmc_bus1 = "/pinctrl/sdmmc/sdmmc-bus1";
        sdmmc_bus4 = "/pinctrl/sdmmc/sdmmc-bus4";
        pcfg_pull_down_4ma = "/pinctrl/pcfg-pull-down-4ma";
        i2c0_xfer = "/pinctrl/i2c0/i2c0-xfer";
        pmu_io_domains = "/syscon@ff320000/io-domains";
        i2c1_xfer = "/pinctrl/i2c1/i2c1-xfer";
        dmac_bus = "/amba/dma-controller@ff6d0000";
        i2s0_8ch_bus = "/pinctrl/i2s0/i2s0-8ch-bus";
        isp0_mmu = "/iommu@ff914000";
        isp1_mmu = "/iommu@ff924000";
        i2c2_xfer = "/pinctrl/i2c2/i2c2-xfer";
        uarthdcp_xfer = "/pinctrl/uarthdcp/uarthdcp-xfer";
        pcfg_pull_none_10ma = "/pinctrl/pcfg-pull-none-10ma";
        pcfg_pull_none_12ma = "/pinctrl/pcfg-pull-none-12ma";
        pcfg_pull_none_13ma = "/pinctrl/pcfg-pull-none-13ma";
        pcfg_pull_none_18ma = "/pinctrl/pcfg-pull-none-18ma";
        pcfg_pull_none_20ma = "/pinctrl/pcfg-pull-none-20ma";
        specification_serial_number = "/efuse@ff690000/specification-serial-number@6";
        i2c3_gpio = "/pinctrl/i2c3/i2c3_gpio";
        hdmi_in = "/hdmi@ff940000/ports/port";
        i2c3_xfer = "/pinctrl/i2c3/i2c3-xfer";
        vcc3v0_touch = "/i2c@ff3c0000/pmic@1b/regulators/LDO_REG2";
        u2phy0 = "/syscon@ff770000/usb2-phy@e450";
        u2phy1 = "/syscon@ff770000/usb2-phy@e460";
        pmucru = "/pmu-clock-controller@ff750000";
        pmugrf = "/syscon@ff320000";
        i2c4_xfer = "/pinctrl/i2c4/i2c4-xfer";
        vcc_1v5 = "/i2c@ff3c0000/pmic@1b/regulators/LDO_REG6";
        vcc_1v8 = "/i2c@ff3c0000/pmic@1b/regulators/DCDC_REG4";
        vcc_3v0 = "/i2c@ff3c0000/pmic@1b/regulators/LDO_REG8";
        vcc_ddr = "/i2c@ff3c0000/pmic@1b/regulators/DCDC_REG3";
        vcc_phy = "/vcc-phy-regulator";
        vcc_sys = "/vcc-sys";
        route_dp = "/display-subsystem/route/route-dp";
        pwrbtn = "/pinctrl/buttons/pwrbtn";
        qos_sd = "/qos@ffa74000";
        i2c5_xfer = "/pinctrl/i2c5/i2c5-xfer";
        vdd_gpu = "/i2c@ff3c0000/syr828@41";
        vdd_log = "/vdd-log";
        rkvdec = "/rkvdec@ff660000";
        saradc = "/saradc@ff100000";
        io_domains = "/syscon@ff770000/io-domains";
        qos_isp0_m0 = "/qos@ffaa0000";
        qos_isp0_m1 = "/qos@ffaa0080";
        qos_isp1_m0 = "/qos@ffaa8000";
        qos_isp1_m1 = "/qos@ffaa8080";
        dmac_peri = "/amba/dma-controller@ff6e0000";
        vcc1v8_s0 = "/vcc1v8-s0";
        ppi_cluster0 = "/interrupt-controller@fee00000/ppi-partitions/interrupt-partition-0";
        ppi_cluster1 = "/interrupt-controller@fee00000/ppi-partitions/interrupt-partition-1";
        i2c6_xfer = "/pinctrl/i2c6/i2c6-xfer";
        cluster0_opp = "/opp-table0";
        cluster1_opp = "/opp-table1";
        target = "/thermal-zones/soc-thermal/trips/trip-point-1";
        tcphy0 = "/phy@ff7c0000";
        tcphy1 = "/phy@ff800000";
        i2c7_xfer = "/pinctrl/i2c7/i2c7-xfer";
        vcc3v3_s0 = "/i2c@ff3c0000/pmic@1b/regulators/SWITCH_REG2";
        vcc3v3_s3 = "/i2c@ff3c0000/pmic@1b/regulators/SWITCH_REG1";
        spdif_bus = "/pinctrl/spdif/spdif-bus";
        spdif_out = "/spdif-out";
        sdio0_bkpwr = "/pinctrl/sdio0/sdio0-bkpwr";
        i2c8_xfer = "/pinctrl/i2c8/i2c8-xfer";
        vcc_sd = "/i2c@ff3c0000/pmic@1b/regulators/LDO_REG4";
        dsi1_in_vopb = "/dsi@ff968000/ports/port/endpoint@0";
        dsi1_in_vopl = "/dsi@ff968000/ports/port/endpoint@1";
        pcie_clkreqnb_cpm = "/pinctrl/pcie/pci-clkreqnb-cpm";
        pcie_clkreqn_cpm = "/pinctrl/pcie/pci-clkreqn-cpm";
        wafer_info = "/efuse@ff690000/wafer-info@1c";
        pwm3b_pin_pull_down = "/pinctrl/pwm3b/pwm3b-pin-pull-down";
        qos_video_m1_r = "/qos@ffac0000";
        qos_video_m1_w = "/qos@ffac0080";
        uart0_gpios = "/pinctrl/wireless-bluetooth/uart0-gpios";
        xin24m = "/xin24m";
        vcc3v3_pcie = "/vcc3v3-pcie-regulator";
        pcie_clkreqnb = "/pinctrl/pcie/pci-clkreqnb";
        qos_usb_host0 = "/qos@ffa60100";
        qos_usb_host1 = "/qos@ffa60180";
        pwm3a_pin = "/pinctrl/pwm3a/pwm3a-pin";
        pwm3b_pin = "/pinctrl/pwm3b/pwm3b-pin";
        u2phy0_otg = "/syscon@ff770000/usb2-phy@e450/otg-port";
        u2phy1_otg = "/syscon@ff770000/usb2-phy@e460/otg-port";
        qos_sdioaudio = "/qos@ffa76000";
        dp_in_vopb = "/dp@fec00000/ports/port/endpoint@0";
        dp_in_vopl = "/dp@fec00000/ports/port/endpoint@1";
        sdmmc_clk = "/pinctrl/sdmmc/sdmmc-clk";
        sdmmc_cmd = "/pinctrl/sdmmc/sdmmc-cmd";
        pcfg_pull_up_10ma = "/pinctrl/pcfg-pull-up-10ma";
        pcfg_pull_up_20ma = "/pinctrl/pcfg-pull-up-20ma";
        cooling_maps = "/thermal-zones/soc-thermal/cooling-maps";
        sdio_pwrseq = "/sdio-pwrseq";
        iep_mmu = "/iommu@ff670800";
        vop0_pwm_pin = "/pinctrl/pwm0/vop0-pwm-pin";
        sdio0_bus1 = "/pinctrl/sdio0/sdio0-bus1";
        sdio0_bus4 = "/pinctrl/sdio0/sdio0-bus4";
        pcie_clkreqn = "/pinctrl/pcie/pci-clkreqn";
        uart0_xfer = "/pinctrl/uart0/uart0-xfer";
        pcfg_pull_up_2ma = "/pinctrl/pcfg-pull-up-2ma";
        pcfg_pull_up_8ma = "/pinctrl/pcfg-pull-up-8ma";
        dummy_cpll = "/dummy_cpll";
        dummy_vpll = "/dummy_vpll";
        uart1_xfer = "/pinctrl/uart1/uart1-xfer";
        pwm0_pin_pull_down = "/pinctrl/pwm0/pwm0-pin-pull-down";
        vpu_mmu = "/iommu@ff650800";
        CLUSTER_SLEEP = "/cpus/idle-states/cluster-sleep";
        uart3_xfer = "/pinctrl/uart3/uart3-xfer";
        uart4_xfer = "/pinctrl/uart4/uart4-xfer";
        qos_vop_big_r = "/qos@ffac8000";
        qos_vop_big_w = "/qos@ffac8080";
        hdmi_cec = "/pinctrl/hdmi/hdmi-cec";
        otp_out = "/pinctrl/tsadc/otp-out";
        pinctrl = "/pinctrl";
        nocp_vio0_msch0 = "/nocp-vio0-msch0@ffa87400";
        nocp_vio0_msch1 = "/nocp-vio0-msch1@ffa8f400";
        vop0_pwm = "/voppwm@ff9001a0";
        vop1_pwm = "/voppwm@ff8f01a0";
        cpub_leakage = "/efuse@ff690000/cpu-leakage@17";
        RK3399_CLUSTER_COST_0 = "/energy-costs/rk3399-cluster-cost0";
        RK3399_CLUSTER_COST_1 = "/energy-costs/rk3399-cluster-cost1";
        vcc5v0_host = "/vcc5v0-host-regulator";
        uart0_cts = "/pinctrl/uart0/uart0-cts";
        uart0_rts = "/pinctrl/uart0/uart0-rts";
        uart3_cts = "/pinctrl/uart3/uart3-cts";
        uart3_rts = "/pinctrl/uart3/uart3-rts";
        nocp_lp_msch0 = "/nocp-lp-msch0@ffa86c00";
        nocp_lp_msch1 = "/nocp-lp-msch1@ffa8ec00";
        rkisp1_0 = "/rkisp1@ff910000";
        rkisp1_1 = "/rkisp1@ff920000";
        vdd_center = "/i2c@ff3c0000/pmic@1b/regulators/DCDC_REG1";
        hdmi_i2c_xfer = "/pinctrl/hdmi/hdmi-i2c-xfer";
        qos_rga_r = "/qos@ffab0000";
        qos_rga_w = "/qos@ffab0080";
        vopl_out_dsi1 = "/vop@ff8f0000/port/endpoint@4";
        vopl_out_hdmi = "/vop@ff8f0000/port/endpoint@2";
        vopb_mmu = "/iommu@ff903f00";
        vopb_out = "/vop@ff900000/port";
        center_leakage = "/efuse@ff690000/center-leakage@19";
        rmii_pins = "/pinctrl/gmac/rmii-pins";
        mipi_dphy_rx0 = "/syscon@ff770000/mipi-dphy-rx0";
        vopl_mmu = "/iommu@ff8f3f00";
        vopl_out = "/vop@ff8f0000/port";
        RK3399_CPU_COST_0 = "/energy-costs/rk3399-core-cost0";
        RK3399_CPU_COST_1 = "/energy-costs/rk3399-core-cost1";
        soc_crit = "/thermal-zones/soc-thermal/trips/soc-crit";
        pwm1_pin_pull_down = "/pinctrl/pwm1/pwm1-pin-pull-down";
        gpu_power_model = "/gpu@ff9a0000/power_model";
        qos_emmc = "/qos@ffa58000";
        qos_gmac = "/qos@ffa5c000";
        qos_hdcp = "/qos@ffa90000";
        vdd_cpu_b = "/i2c@ff3c0000/syr827@40";
        vdd_cpu_l = "/i2c@ff3c0000/pmic@1b/regulators/DCDC_REG2";
        qos_pcie = "/qos@ffa60080";
        vopl_out_edp = "/vop@ff8f0000/port/endpoint@1";
        vopl_out_dsi = "/vop@ff8f0000/port/endpoint@0";
        vopl_out_dp = "/vop@ff8f0000/port/endpoint@3";
    };

    rga@ff680000 {
        reg = <0x0 0xff680000 0x0 0x1000>;
        interrupts = <0x0 0x37 0x4 0x0>;
        compatible = "rockchip,rga2";
        clock-names = "aclk_rga", "hclk_rga", "clk_rga";
        reset-names = "core", "axi", "ahb";
        clocks = <0x8 0xdc 0x8 0x1e5 0x8 0x6d>;
        power-domains = <0x15 0x21>;
        resets = <0x8 0x6a 0x8 0x67 0x8 0x69>;
        status = "okay";
        dev_mode = <0x1>;
        phandle = <0x116>;
    };

    aliases {
        i2c0 = "/i2c@ff3c0000";
        i2c1 = "/i2c@ff110000";
        i2c2 = "/i2c@ff120000";
        i2c3 = "/i2c@ff130000";
        i2c4 = "/i2c@ff3d0000";
        i2c5 = "/i2c@ff140000";
        i2c6 = "/i2c@ff150000";
        i2c7 = "/i2c@ff160000";
        i2c8 = "/i2c@ff3e0000";
        dsi0 = "/dsi@ff960000";
        dsi1 = "/dsi@ff968000";
        serial0 = "/serial@ff180000";
        serial1 = "/serial@ff190000";
        serial2 = "/serial@ff1a0000";
        serial3 = "/serial@ff1b0000";
        serial4 = "/serial@ff370000";
        ethernet0 = "/ethernet@fe300000";
    };

    thermal-zones {
        phandle = <0x105>;

        gpu-thermal {
            thermal-sensors = <0x5d 0x1>;
            polling-delay-passive = <0x64>;
            phandle = <0x108>;
            polling-delay = <0x3e8>;
        };

        soc-thermal {
            sustainable-power = <0x3e8>;
            thermal-sensors = <0x5d 0x0>;
            polling-delay-passive = <0x14>;
            phandle = <0x106>;
            polling-delay = <0x3e8>;

            trips {

                trip-point-0 {
                    type = "passive";
                    hysteresis = <0x7d0>;
                    temperature = <0x13880>;
                    phandle = <0x60>;
                };

                trip-point-1 {
                    type = "passive";
                    hysteresis = <0x7d0>;
                    temperature = <0x17318>;
                    phandle = <0x5e>;
                };

                soc-crit {
                    type = "critical";
                    hysteresis = <0x7d0>;
                    temperature = <0x186a0>;
                    phandle = <0x62>;
                };
            };

            cooling-maps {
                phandle = <0x107>;

                map0 {
                    trip = <0x5e>;
                    cooling-device = <0x2 0xffffffff 0xffffffff>;
                    contribution = <0x1000>;
                };

                map1 {
                    trip = <0x5e>;
                    cooling-device = <0x6 0xffffffff 0xffffffff>;
                    contribution = <0x400>;
                };

                map2 {
                    trip = <0x5e>;
                    cooling-device = <0x5f 0xffffffff 0xffffffff>;
                    contribution = <0x1000>;
                };

                map3 {
                    trip = <0x60>;
                    cooling-device = <0x61 0x0 0x1>;
                    contribution = <0x1000>;
                };

                map4 {
                    trip = <0x5e>;
                    cooling-device = <0x61 0x1 0x2>;
                    contribution = <0x1000>;
                };

                map5 {
                    trip = <0x62>;
                    cooling-device = <0x61 0x2 0x3>;
                    contribution = <0x1000>;
                };
            };
        };
    };

    xin24m {
        #clock-cells = <0x0>;
        compatible = "fixed-clock";
        clock-frequency = <0x16e3600>;
        clock-output-names = "xin24m";
        phandle = <0xda>;
    };

    vcc5v0-host-regulator {
        gpio = <0xca 0x1a 0x0>;
        regulator-name = "vcc5v0_host";
        pinctrl-0 = <0xcb>;
        compatible = "regulator-fixed";
        enable-active-high;
        regulator-always-on;
        phandle = <0x99>;
        pinctrl-names = "default";
    };

    dummy_cpll {
        #clock-cells = <0x0>;
        compatible = "fixed-clock";
        clock-frequency = <0x0>;
        clock-output-names = "dummy_cpll";
        phandle = <0xdb>;
    };

    dummy_vpll {
        #clock-cells = <0x0>;
        compatible = "fixed-clock";
        clock-frequency = <0x0>;
        clock-output-names = "dummy_vpll";
        phandle = <0xdc>;
    };

    usb@fe340000 {
        reg = <0x0 0xfe340000 0x0 0x30000>;
        interrupts = <0x0 0x21 0x4 0x0>;
        compatible = "generic-ehci";
        clock-names = "hclk_hsic", "clk_hsicphy", "pclk_hsicphy";
        rockchip-has-usic;
        clocks = <0x8 0x1cc 0x8 0x79 0x8 0x154>;
        status = "disabled";
        phandle = <0xe1>;
    };

    vcc-phy-regulator {
        regulator-name = "vcc_phy";
        compatible = "regulator-fixed";
        regulator-always-on;
        phandle = <0x17>;
        regulator-boot-on;
    };

    usb@fe380000 {
        reg = <0x0 0xfe380000 0x0 0x20000>;
        phys = <0x26>;
        interrupts = <0x0 0x1a 0x4 0x0>;
        compatible = "generic-ehci";
        clock-names = "hclk_host0", "hclk_host0_arb", "usbphy0_480m";
        phy-names = "usb";
        clocks = <0x8 0x1c8 0x8 0x1c9 0x8 0xa8>;
        power-domains = <0x15 0xe>;
        status = "okay";
        phandle = <0xe2>;
    };

    nocp-vio1-msch0@ffa87800 {
        reg = <0x0 0xffa87800 0x0 0x400>;
        compatible = "rockchip,rk3399-nocp";
        phandle = <0x13c>;
    };

    iommu@ff650800 {
        reg = <0x0 0xff650800 0x0 0x40>;
        interrupts = <0x0 0x73 0x4 0x0>;
        compatible = "rockchip,iommu";
        clock-names = "aclk", "hclk";
        interrupt-names = "vpu_mmu";
        clocks = <0x8 0xeb 0x8 0x1ea>;
        power-domains = <0x15 0x1f>;
        #iommu-cells = <0x0>;
        status = "okay";
        phandle = <0x96>;
    };

    iommu@ff660480 {
        reg = <0x0 0xff660480 0x0 0x40 0x0 0xff6604c0 0x0 0x40>;
        interrupts = <0x0 0x75 0x4 0x0>;
        compatible = "rockchip,iommu";
        clock-names = "aclk", "hclk";
        interrupt-names = "vdec_mmu";
        clocks = <0x8 0xed 0x8 0x1ec>;
        power-domains = <0x15 0x20>;
        #iommu-cells = <0x0>;
        status = "okay";
        phandle = <0x97>;
    };

    iommu@ff670800 {
        reg = <0x0 0xff670800 0x0 0x40>;
        interrupts = <0x0 0x2a 0x4 0x0>;
        compatible = "rockchip,iommu";
        interrupt-names = "iep_mmu";
        #iommu-cells = <0x0>;
        status = "okay";
        phandle = <0x98>;
    };

    external-gmac-clock {
        #clock-cells = <0x0>;
        compatible = "fixed-clock";
        clock-frequency = <0x7735940>;
        clock-output-names = "clkin_gmac";
        phandle = <0x19>;
    };

    nocp-hp-msch0@ffa86800 {
        reg = <0x0 0xffa86800 0x0 0x400>;
        compatible = "rockchip,rk3399-nocp";
        phandle = <0x138>;
    };

    clock-controller@ff760000 {
        reg = <0x0 0xff760000 0x0 0x1000>;
        #clock-cells = <0x1>;
        #reset-cells = <0x1>;
        compatible = "rockchip,rk3399-cru";
        assigned-clock-rates = <0x47868c0 0x2faf080 0x2faf080 0x2faf080 0x2faf080 0x5f5e100 0x2faf080 0x8f0d180 0x8f0d180 0x8f0d180 0x2faf080 0x8f0d180 0x2faf080 0x5f5e100 0x47868c0 0x47868c0 0x30a32c00 0x30a32c00 0x23c34600 0xbebc200 0x2faf0800 0x8f0d180 0x47868c0 0x23c3460 0x11e1a300 0x5f5e100 0x2faf080 0x5f5e100 0x2faf080 0x5f5e100 0x5f5e100 0x5f5e100 0x5f5e100 0x5f5e100 0x5f5e100 0x2faf080 0x2faf080 0x2faf080 0x2faf080 0x2faf080 0xbebc200 0x17d78400 0x17d78400 0x5f5e100 0x5f5e100 0x5f5e100 0x17d78400 0x17d78400 0xbebc200 0x5f5e100 0xbebc200 0xbebc200 0x5f5e100 0x17d78400 0x17d78400 0x17d78400 0x17d78400 0x11e1a300 0x17d78400 0xbebc200 0x17d78400 0x11e1a300 0x11e1a300 0x11e1a300 0x11e1a300 0x11e1a300 0x5f5e100 0x8f0d180 0x8f0d180 0x17d78400 0x5f5e100 0x17d78400 0x5f5e100>;
        assigned-clocks = <0x8 0xc0 0x8 0xc2 0x8 0x1c2 0x8 0x4c 0x8 0xf0 0x8 0xcd 0x8 0x1cd 0x8 0x9f 0x8 0x9e 0x8 0xf4 0x8 0xbe 0x8 0xc9 0x8 0x186 0x8 0xd5 0x8 0x88 0x8 0x87 0x8 0x8 0x8 0x9 0x8 0x6 0x8 0xd0 0x8 0x5 0x8 0xc0 0x8 0x1c0 0x8 0x140 0x8 0xc2 0x8 0x1c1 0x8 0x142 0x8 0x1c2 0x8 0x143 0x8 0x41 0x8 0x42 0x8 0x43 0x8 0x44 0x8 0x45 0x8 0x46 0x8 0x47 0x8 0x48 0x8 0x49 0x8 0x4a 0x8 0x4b 0x8 0xfa 0x8 0xe5 0x8 0xe6 0x8 0x6b 0x8 0x6c 0x8 0x16a 0x8 0xde 0x8 0xe3 0x8 0x1cd 0x8 0x85 0x8 0x86 0x8 0x4e 0x8 0xf0 0x8 0xcd 0x8 0xe1 0x8 0xdc 0x8 0x6d 0x8 0xed 0x8 0xeb 0x8 0x178 0x8 0xd5 0x8 0x9f 0x8 0x9e 0x8 0xf4 0x8 0xbe 0x8 0xc9 0x8 0x186 0x8 0x88 0x8 0x87 0x8 0xd9 0x8 0x1d9 0x8 0xdb 0x8 0x1db>;
        phandle = <0x8>;
    };

    pinctrl {
        compatible = "rockchip,rk3399-pinctrl";
        ranges;
        #address-cells = <0x2>;
        phandle = <0x144>;
        #size-cells = <0x2>;
        rockchip,grf = <0x16>;
        rockchip,pmu = <0x91>;

        edp {

            edp-hpd {
                rockchip,pins = <0x4 0x17 0x2 0xc0>;
                phandle = <0x166>;
            };
        };

        i2c0 {

            i2c0-xfer {
                rockchip,pins = <0x1 0xf 0x2 0xc0 0x1 0x10 0x2 0xc0>;
                phandle = <0x32>;
            };
        };

        i2c1 {

            i2c1-xfer {
                rockchip,pins = <0x4 0x2 0x1 0xc0 0x4 0x1 0x1 0xc0>;
                phandle = <0x3a>;
            };
        };

        i2c2 {

            i2c2-xfer {
                rockchip,pins = <0x2 0x1 0x2 0xc2 0x2 0x0 0x2 0xc2>;
                phandle = <0x3d>;
            };
        };

        i2c3 {

            i2c3-xfer {
                rockchip,pins = <0x4 0x11 0x1 0xc0 0x4 0x10 0x1 0xc0>;
                phandle = <0x3e>;
            };

            i2c3_gpio {
                rockchip,pins = <0x4 0x11 0x0 0xc0 0x4 0x10 0x0 0xc0>;
                phandle = <0x152>;
            };
        };

        i2c4 {

            i2c4-xfer {
                rockchip,pins = <0x1 0xc 0x1 0xc0 0x1 0xb 0x1 0xc0>;
                phandle = <0x84>;
            };
        };

        i2c5 {

            i2c5-xfer {
                rockchip,pins = <0x3 0xb 0x2 0xc0 0x3 0xa 0x2 0xc0>;
                phandle = <0x3f>;
            };
        };

        i2c6 {

            i2c6-xfer {
                rockchip,pins = <0x2 0xa 0x2 0xc0 0x2 0x9 0x2 0xc0>;
                phandle = <0x40>;
            };
        };

        i2c7 {

            i2c7-xfer {
                rockchip,pins = <0x2 0x8 0x2 0xc0 0x2 0x7 0x2 0xc0>;
                phandle = <0x41>;
            };
        };

        i2c8 {

            i2c8-xfer {
                rockchip,pins = <0x1 0x15 0x1 0xc0 0x1 0x14 0x1 0xc0>;
                phandle = <0x86>;
            };
        };

        i2s0 {

            i2s0-8ch-bus {
                rockchip,pins = <0x3 0x18 0x1 0xc0 0x3 0x19 0x1 0xc0 0x3 0x1a 0x1 0xc0 0x3 0x1b 0x1 0xc0 0x3 0x1c 0x1 0xc0 0x3 0x1d 0x1 0xc0 0x3 0x1e 0x1 0xc0 0x3 0x1f 0x1 0xc0>;
                phandle = <0x9d>;
            };

            i2s-8ch-mclk {
                rockchip,pins = <0x4 0x0 0x1 0xc0>;
                phandle = <0x3b>;
            };
        };

        i2s1 {

            i2s1-2ch-bus {
                rockchip,pins = <0x4 0x3 0x1 0xc0 0x4 0x4 0x1 0xc0 0x4 0x5 0x1 0xc0 0x4 0x6 0x1 0xc0 0x4 0x7 0x1 0xc0>;
                phandle = <0x9e>;
            };
        };

        emmc {

            emmc-pwr {
                rockchip,pins = <0x0 0x5 0x1 0xbe>;
                phandle = <0x150>;
            };
        };

        gmac {

            rgmii-pins {
                rockchip,pins = <0x3 0x11 0x1 0xbf 0x3 0xe 0x1 0xc0 0x3 0xd 0x1 0xc0 0x3 0xc 0x1 0xbf 0x3 0xb 0x1 0xc0 0x3 0x9 0x1 0xc0 0x3 0x8 0x1 0xc0 0x3 0x7 0x1 0xc0 0x3 0x6 0x1 0xc0 0x3 0x5 0x1 0xbf 0x3 0x4 0x1 0xbf 0x3 0x3 0x1 0xc0 0x3 0x2 0x1 0xc0 0x3 0x1 0x1 0xbf 0x3 0x0 0x1 0xbf>;
                phandle = <0x1a>;
            };

            rgmii-sleep-pins {
                rockchip,pins = <0x3 0xf 0x0 0xc1>;
                phandle = <0x1b>;
            };

            rmii-pins {
                rockchip,pins = <0x3 0xd 0x1 0xc0 0x3 0xc 0x1 0xbf 0x3 0xb 0x1 0xc0 0x3 0xa 0x1 0xc0 0x3 0x9 0x1 0xc0 0x3 0x8 0x1 0xc0 0x3 0x7 0x1 0xc0 0x3 0x6 0x1 0xc0 0x3 0x5 0x1 0xbf 0x3 0x4 0x1 0xbf>;
                phandle = <0x151>;
            };
        };

        hdmi {

            hdmi-i2c-xfer {
                rockchip,pins = <0x4 0x11 0x3 0xc0 0x4 0x10 0x3 0xc0>;
                phandle = <0xb2>;
            };

            hdmi-cec {
                rockchip,pins = <0x4 0x17 0x1 0xc0>;
                phandle = <0x167>;
            };
        };

        pcie {

            pci-clkreqn {
                rockchip,pins = <0x2 0x1a 0x2 0xc0>;
                phandle = <0x8b>;
            };

            pcie-pwr-en {
                rockchip,pins = <0x1 0x18 0x0 0xc0>;
                phandle = <0xc8>;
            };

            pci-clkreqnb-cpm {
                rockchip,pins = <0x4 0x18 0x0 0xc0>;
                phandle = <0x16a>;
            };

            pci-clkreqnb {
                rockchip,pins = <0x4 0x18 0x1 0xc0>;
                phandle = <0x168>;
            };

            pci-clkreqn-cpm {
                rockchip,pins = <0x2 0x1a 0x0 0xc0>;
                phandle = <0x169>;
            };
        };

        pmic {

            vsel1-gpio {
                rockchip,pins = <0x1 0x11 0x0 0xc3>;
                phandle = <0x33>;
            };

            vsel2-gpio {
                rockchip,pins = <0x1 0xe 0x0 0xc3>;
                phandle = <0x36>;
            };

            pmic-int-l {
                rockchip,pins = <0x3 0xa 0x0 0xbe>;
                phandle = <0x37>;
            };
        };

        pwm0 {

            vop1-pwm-pin {
                rockchip,pins = <0x4 0x12 0x3 0xc0>;
                phandle = <0xa7>;
            };

            pwm0-pin {
                rockchip,pins = <0x4 0x12 0x1 0xc0>;
                phandle = <0x8d>;
            };

            pwm0-pin-pull-down {
                rockchip,pins = <0x4 0x12 0x1 0xc3>;
                phandle = <0x160>;
            };

            vop0-pwm-pin {
                rockchip,pins = <0x4 0x12 0x2 0xc0>;
                phandle = <0xae>;
            };
        };

        pwm1 {

            pwm1-pin {
                rockchip,pins = <0x4 0x16 0x1 0xc0>;
                phandle = <0x8e>;
            };

            pwm1-pin-pull-down {
                rockchip,pins = <0x4 0x16 0x1 0xc3>;
                phandle = <0x161>;
            };
        };

        pwm2 {

            pwm2-pin {
                rockchip,pins = <0x1 0x13 0x1 0xc0>;
                phandle = <0x162>;
            };

            pwm2-pin-pull-down {
                rockchip,pins = <0x1 0x13 0x1 0xc3>;
                phandle = <0x8f>;
            };
        };

        spi0 {

            spi0-clk {
                rockchip,pins = <0x3 0x6 0x2 0xbe>;
                phandle = <0x49>;
            };

            spi0-cs0 {
                rockchip,pins = <0x3 0x7 0x2 0xbe>;
                phandle = <0x4c>;
            };

            spi0-cs1 {
                rockchip,pins = <0x3 0x8 0x2 0xbe>;
                phandle = <0x15c>;
            };

            spi0-rx {
                rockchip,pins = <0x3 0x4 0x2 0xbe>;
                phandle = <0x4b>;
            };

            spi0-tx {
                rockchip,pins = <0x3 0x5 0x2 0xbe>;
                phandle = <0x4a>;
            };
        };

        spi1 {

            spi1-clk {
                rockchip,pins = <0x1 0x9 0x2 0xbe>;
                phandle = <0x4d>;
            };

            spi1-cs0 {
                rockchip,pins = <0x1 0xa 0x2 0xbe>;
                phandle = <0x50>;
            };

            spi1-rx {
                rockchip,pins = <0x1 0x7 0x2 0xbe>;
                phandle = <0x4f>;
            };

            spi1-tx {
                rockchip,pins = <0x1 0x8 0x2 0xbe>;
                phandle = <0x4e>;
            };
        };

        spi2 {

            spi2-clk {
                rockchip,pins = <0x2 0xb 0x1 0xbe>;
                phandle = <0x51>;
            };

            spi2-cs0 {
                rockchip,pins = <0x2 0xc 0x1 0xbe>;
                phandle = <0x54>;
            };

            spi2-rx {
                rockchip,pins = <0x2 0x9 0x1 0xbe>;
                phandle = <0x53>;
            };

            spi2-tx {
                rockchip,pins = <0x2 0xa 0x1 0xbe>;
                phandle = <0x52>;
            };
        };

        spi3 {

            spi3-clk {
                rockchip,pins = <0x1 0x11 0x1 0xbe>;
                phandle = <0x7f>;
            };

            spi3-cs0 {
                rockchip,pins = <0x1 0x12 0x1 0xbe>;
                phandle = <0x82>;
            };

            spi3-rx {
                rockchip,pins = <0x1 0xf 0x1 0xbe>;
                phandle = <0x81>;
            };

            spi3-tx {
                rockchip,pins = <0x1 0x10 0x1 0xbe>;
                phandle = <0x80>;
            };
        };

        spi4 {

            spi4-clk {
                rockchip,pins = <0x3 0x2 0x2 0xbe>;
                phandle = <0x55>;
            };

            spi4-cs0 {
                rockchip,pins = <0x3 0x3 0x2 0xbe>;
                phandle = <0x58>;
            };

            spi4-rx {
                rockchip,pins = <0x3 0x0 0x2 0xbe>;
                phandle = <0x57>;
            };

            spi4-tx {
                rockchip,pins = <0x3 0x1 0x2 0xbe>;
                phandle = <0x56>;
            };
        };

        spi5 {

            spi5-clk {
                rockchip,pins = <0x2 0x16 0x2 0xbe>;
                phandle = <0x59>;
            };

            spi5-cs0 {
                rockchip,pins = <0x2 0x17 0x2 0xbe>;
                phandle = <0x5c>;
            };

            spi5-rx {
                rockchip,pins = <0x2 0x14 0x2 0xbe>;
                phandle = <0x5b>;
            };

            spi5-tx {
                rockchip,pins = <0x2 0x15 0x2 0xbe>;
                phandle = <0x5a>;
            };
        };

        usb2 {

            host-vbus-drv {
                rockchip,pins = <0x4 0x1a 0x0 0xc0>;
                phandle = <0xcb>;
            };
        };

        gpio0@ff720000 {
            reg = <0x0 0xff720000 0x0 0x100>;
            interrupts = <0x0 0xe 0x4 0x0>;
            #gpio-cells = <0x2>;
            compatible = "rockchip,gpio-bank";
            clocks = <0x31 0x17>;
            #interrupt-cells = <0x2>;
            phandle = <0x3c>;
            interrupt-controller;
            gpio-controller;
        };

        gpio4@ff790000 {
            reg = <0x0 0xff790000 0x0 0x100>;
            interrupts = <0x0 0x12 0x4 0x0>;
            #gpio-cells = <0x2>;
            compatible = "rockchip,gpio-bank";
            clocks = <0x8 0x152>;
            #interrupt-cells = <0x2>;
            phandle = <0xca>;
            interrupt-controller;
            gpio-controller;
        };

        pcfg-pull-up {
            bias-pull-up;
            phandle = <0xbe>;
        };

        pwm3a {

            pwm3a-pin-pull-down {
                rockchip,pins = <0x0 0x6 0x1 0xc3>;
                phandle = <0x163>;
            };

            pwm3a-pin {
                rockchip,pins = <0x0 0x6 0x1 0xc0>;
                phandle = <0x90>;
            };
        };

        pwm3b {

            pwm3b-pin-pull-down {
                rockchip,pins = <0x1 0xe 0x1 0xc3>;
                phandle = <0x165>;
            };

            pwm3b-pin {
                rockchip,pins = <0x1 0xe 0x1 0xc0>;
                phandle = <0x164>;
            };
        };

        sdio0 {

            sdio0-bkpwr {
                rockchip,pins = <0x2 0x1c 0x1 0xbe>;
                phandle = <0x156>;
            };

            sdio0-clk {
                rockchip,pins = <0x2 0x19 0x1 0xc0>;
                phandle = <0x1f>;
            };

            sdio0-cmd {
                rockchip,pins = <0x2 0x18 0x1 0xbe>;
                phandle = <0x1e>;
            };

            sdio0-int {
                rockchip,pins = <0x0 0x4 0x1 0xbe>;
                phandle = <0x158>;
            };

            sdio0-pwr {
                rockchip,pins = <0x2 0x1b 0x1 0xbe>;
                phandle = <0x155>;
            };

            sdio0-cd {
                rockchip,pins = <0x2 0x1a 0x1 0xbe>;
                phandle = <0x154>;
            };

            sdio0-wp {
                rockchip,pins = <0x0 0x3 0x1 0xbe>;
                phandle = <0x157>;
            };

            sdio0-bus1 {
                rockchip,pins = <0x2 0x14 0x1 0xbe>;
                phandle = <0x153>;
            };

            sdio0-bus4 {
                rockchip,pins = <0x2 0x14 0x1 0xbe 0x2 0x15 0x1 0xbe 0x2 0x16 0x1 0xbe 0x2 0x17 0x1 0xbe>;
                phandle = <0x1d>;
            };
        };

        sdmmc {

            sdmmc-bus1 {
                rockchip,pins = <0x4 0x8 0x1 0xbe>;
                phandle = <0x159>;
            };

            sdmmc-bus4 {
                rockchip,pins = <0x4 0x8 0x1 0xbe 0x4 0x9 0x1 0xbe 0x4 0xa 0x1 0xbe 0x4 0xb 0x1 0xbe>;
                phandle = <0x24>;
            };

            sdmcc-cd {
                rockchip,pins = <0x0 0x7 0x1 0xbe>;
                phandle = <0x23>;
            };

            sdmmc-wp {
                rockchip,pins = <0x0 0x8 0x1 0xbe>;
                phandle = <0x15a>;
            };

            sdmmc-clk {
                rockchip,pins = <0x4 0xc 0x1 0xc0>;
                phandle = <0x21>;
            };

            sdmmc-cmd {
                rockchip,pins = <0x4 0xd 0x1 0xbe>;
                phandle = <0x22>;
            };
        };

        spdif {

            spdif-bus-1 {
                rockchip,pins = <0x3 0x10 0x3 0xc0>;
                phandle = <0x9c>;
            };

            spdif-bus {
                rockchip,pins = <0x4 0x15 0x1 0xc0>;
                phandle = <0x15b>;
            };
        };

        uart0 {

            uart0-xfer {
                rockchip,pins = <0x2 0x10 0x1 0xbe 0x2 0x11 0x1 0xc0>;
                phandle = <0x42>;
            };

            uart0-cts {
                rockchip,pins = <0x2 0x12 0x1 0xc0>;
                phandle = <0x43>;
            };

            uart0-rts {
                rockchip,pins = <0x2 0x13 0x1 0xc0>;
                phandle = <0xcf>;
            };
        };

        uart1 {

            uart1-xfer {
                rockchip,pins = <0x3 0xc 0x2 0xbe 0x3 0xd 0x2 0xc0>;
                phandle = <0x44>;
            };
        };

        uart3 {

            uart3-xfer {
                rockchip,pins = <0x3 0xe 0x2 0xbe 0x3 0xf 0x2 0xc0>;
                phandle = <0x46>;
            };

            uart3-cts {
                rockchip,pins = <0x3 0x10 0x2 0xc0>;
                phandle = <0x47>;
            };

            uart3-rts {
                rockchip,pins = <0x3 0x11 0x2 0xc0>;
                phandle = <0x48>;
            };
        };

        uart4 {

            uart4-xfer {
                rockchip,pins = <0x1 0x7 0x1 0xbe 0x1 0x8 0x1 0xc0>;
                phandle = <0x83>;
            };
        };

        tsadc {

            otp-gpio {
                rockchip,pins = <0x1 0x6 0x0 0xc0>;
                phandle = <0x63>;
            };

            otp-out {
                rockchip,pins = <0x1 0x6 0x1 0xc0>;
                phandle = <0x64>;
            };
        };

        wireless-bluetooth {

            uart0-gpios {
                rockchip,pins = <0x2 0x13 0x0 0xc0>;
                phandle = <0xd0>;
            };
        };

        gpio1@ff730000 {
            reg = <0x0 0xff730000 0x0 0x100>;
            interrupts = <0x0 0xf 0x4 0x0>;
            #gpio-cells = <0x2>;
            compatible = "rockchip,gpio-bank";
            clocks = <0x31 0x18>;
            #interrupt-cells = <0x2>;
            phandle = <0x34>;
            interrupt-controller;
            gpio-controller;
        };

        uarthdcp {

            uarthdcp-xfer {
                rockchip,pins = <0x4 0x15 0x2 0xbe 0x4 0x16 0x2 0xc0>;
                phandle = <0x15f>;
            };
        };

        pcfg-pull-down-12ma {
            drive-strength = <0xc>;
            phandle = <0x14d>;
            bias-pull-down;
        };

        pcfg-pull-down-4ma {
            drive-strength = <0x4>;
            phandle = <0x14b>;
            bias-pull-down;
        };

        pcfg-pull-up-10ma {
            bias-pull-up;
            drive-strength = <0xa>;
            phandle = <0x149>;
        };

        pcfg-pull-up-20ma {
            bias-pull-up;
            drive-strength = <0x14>;
            phandle = <0x145>;
        };

        pcfg-output-high {
            output-high;
            phandle = <0x14e>;
        };

        pcfg-pull-up-2ma {
            bias-pull-up;
            drive-strength = <0x2>;
            phandle = <0x14c>;
        };

        pcfg-pull-up-8ma {
            bias-pull-up;
            drive-strength = <0x8>;
            phandle = <0x14a>;
        };

        pcfg-input {
            input-enable;
            phandle = <0x14f>;
        };

        sdio-pwrseq {

            wifi-enable-h {
                rockchip,pins = <0x0 0xa 0x0 0xc0>;
                phandle = <0xce>;
            };
        };

        pcfg-pull-down {
            phandle = <0xc3>;
            bias-pull-down;
        };

        pcfg-pull-none {
            bias-disable;
            phandle = <0xc0>;
        };

        gpio2@ff780000 {
            reg = <0x0 0xff780000 0x0 0x100>;
            interrupts = <0x0 0x10 0x4 0x0>;
            #gpio-cells = <0x2>;
            compatible = "rockchip,gpio-bank";
            clocks = <0x8 0x150>;
            #interrupt-cells = <0x2>;
            phandle = <0x8a>;
            interrupt-controller;
            gpio-controller;
        };

        fusb30x {

            fusb0-int {
                rockchip,pins = <0x1 0x2 0x0 0xbe>;
                phandle = <0x85>;
            };
        };

        pcfg-pull-none-10ma {
            bias-disable;
            drive-strength = <0xa>;
            phandle = <0x148>;
        };

        pcfg-pull-none-12ma {
            bias-disable;
            drive-strength = <0xc>;
            phandle = <0xc2>;
        };

        pcfg-pull-none-13ma {
            bias-disable;
            drive-strength = <0xd>;
            phandle = <0xbf>;
        };

        pcfg-pull-none-18ma {
            bias-disable;
            drive-strength = <0x12>;
            phandle = <0x147>;
        };

        pcfg-pull-none-20ma {
            bias-disable;
            drive-strength = <0x14>;
            phandle = <0x146>;
        };

        pcfg-output-low {
            output-low;
            phandle = <0xc1>;
        };

        uart2a {

            uart2a-xfer {
                rockchip,pins = <0x4 0x8 0x2 0xbe 0x4 0x9 0x2 0xc0>;
                phandle = <0x15d>;
            };
        };

        uart2b {

            uart2b-xfer {
                rockchip,pins = <0x4 0x10 0x2 0xbe 0x4 0x11 0x2 0xc0>;
                phandle = <0x15e>;
            };
        };

        uart2c {

            uart2c-xfer {
                rockchip,pins = <0x4 0x13 0x1 0xbe 0x4 0x14 0x1 0xc0>;
                phandle = <0x45>;
            };
        };

        gpio3@ff788000 {
            reg = <0x0 0xff788000 0x0 0x100>;
            interrupts = <0x0 0x11 0x4 0x0>;
            #gpio-cells = <0x2>;
            compatible = "rockchip,gpio-bank";
            clocks = <0x8 0x151>;
            #interrupt-cells = <0x2>;
            phandle = <0x18>;
            interrupt-controller;
            gpio-controller;
        };

        buttons {

            pwrbtn {
                rockchip,pins = <0x0 0x5 0x0 0xbe>;
                phandle = <0xd1>;
            };
        };
    };

    usb@fe3a0000 {
        reg = <0x0 0xfe3a0000 0x0 0x20000>;
        phys = <0x26>;
        interrupts = <0x0 0x1c 0x4 0x0>;
        compatible = "generic-ohci";
        clock-names = "hclk_host0", "hclk_host0_arb", "usbphy0_480m";
        phy-names = "usb";
        clocks = <0x8 0x1c8 0x8 0x1c9 0x8 0xa8>;
        power-domains = <0x15 0xe>;
        status = "okay";
        phandle = <0xe3>;
    };

    usb@fe3c0000 {
        reg = <0x0 0xfe3c0000 0x0 0x20000>;
        phys = <0x27>;
        interrupts = <0x0 0x1e 0x4 0x0>;
        compatible = "generic-ehci";
        clock-names = "hclk_host1", "hclk_host1_arb", "usbphy1_480m";
        phy-names = "usb";
        clocks = <0x8 0x1ca 0x8 0x1cb 0x8 0xa9>;
        power-domains = <0x15 0xe>;
        status = "okay";
        phandle = <0xe4>;
    };

    usb@fe3e0000 {
        reg = <0x0 0xfe3e0000 0x0 0x20000>;
        phys = <0x27>;
        interrupts = <0x0 0x20 0x4 0x0>;
        compatible = "generic-ohci";
        clock-names = "hclk_host1", "hclk_host1_arb", "usbphy1_480m";
        phy-names = "usb";
        clocks = <0x8 0x1ca 0x8 0x1cb 0x8 0xa9>;
        power-domains = <0x15 0xe>;
        status = "okay";
        phandle = <0xe5>;
    };

    iommu@ff903f00 {
        reg = <0x0 0xff903f00 0x0 0x100>;
        interrupts = <0x0 0x76 0x4 0x0>;
        compatible = "rockchip,iommu";
        clock-names = "aclk", "hclk";
        interrupt-names = "vopb_mmu";
        clocks = <0x8 0xd9 0x8 0x1d9>;
        power-domains = <0x15 0x11>;
        #iommu-cells = <0x0>;
        status = "okay";
        phandle = <0xa8>;
    };

    iommu@ff914000 {
        reg = <0x0 0xff914000 0x0 0x100 0x0 0xff915000 0x0 0x100>;
        interrupts = <0x0 0x2b 0x4 0x0>;
        compatible = "rockchip,iommu";
        clock-names = "aclk", "hclk";
        interrupt-names = "isp0_mmu";
        clocks = <0x8 0xe9 0x8 0x1e3>;
        power-domains = <0x15 0x13>;
        #iommu-cells = <0x0>;
        status = "disabled";
        phandle = <0xb0>;
        rk_iommu,disable_reset_quirk;
    };

    mipi-dphy-tx1rx1@ff968000 {
        reg = <0x0 0xff968000 0x0 0x8000>;
        compatible = "rockchip,rk3399-mipi-dphy";
        clock-names = "dphy-ref", "dphy-cfg", "grf", "pclk_mipi_dsi";
        clocks = <0x8 0x77 0x8 0xa4 0x8 0x16f 0x8 0x171>;
        power-domains = <0x15 0xf>;
        status = "disabled";
        phandle = <0x12f>;
        rockchip,grf = <0x16>;
    };

    iommu@ff924000 {
        reg = <0x0 0xff924000 0x0 0x100 0x0 0xff925000 0x0 0x100>;
        interrupts = <0x0 0x2c 0x4 0x0>;
        compatible = "rockchip,iommu";
        clock-names = "aclk", "hclk";
        interrupt-names = "isp1_mmu";
        clocks = <0x8 0xea 0x8 0x1e4>;
        power-domains = <0x15 0x14>;
        #iommu-cells = <0x0>;
        status = "disabled";
        phandle = <0xb1>;
        rk_iommu,disable_reset_quirk;
    };

    vop@ff900000 {
        reg = <0x0 0xff900000 0x0 0x600 0x0 0xff901c00 0x0 0x200 0x0 0xff902000 0x0 0x1000>;
        interrupts = <0x0 0x76 0x4 0x0>;
        reg-names = "regs", "cabc_lut", "gamma_lut";
        compatible = "rockchip,rk3399-vop-big";
        clock-names = "aclk_vop", "dclk_vop", "hclk_vop", "dclk_source";
        reset-names = "axi", "ahb", "dclk";
        clocks = <0x8 0xd9 0x8 0xb4 0x8 0x1d9 0x8 0xb6>;
        power-domains = <0x15 0x11>;
        iommus = <0xa8>;
        resets = <0x8 0x112 0x8 0x116 0x8 0x118>;
        assigned-clocks = <0x8 0xb6>;
        status = "okay";
        phandle = <0x128>;
        assigned-clock-parents = <0x8 0x7>;

        port {
            #address-cells = <0x1>;
            phandle = <0xbb>;
            #size-cells = <0x0>;

            endpoint@0 {
                reg = <0x0>;
                remote-endpoint = <0xa9>;
                phandle = <0xb9>;
            };

            endpoint@1 {
                reg = <0x1>;
                remote-endpoint = <0xaa>;
                phandle = <0xb5>;
            };

            endpoint@2 {
                reg = <0x2>;
                remote-endpoint = <0xab>;
                phandle = <0xb3>;
            };

            endpoint@3 {
                reg = <0x3>;
                remote-endpoint = <0xac>;
                phandle = <0x2f>;
            };

            endpoint@4 {
                reg = <0x4>;
                remote-endpoint = <0xad>;
                phandle = <0xb7>;
            };
        };
    };

    dfi@ff630000 {
        reg = <0x0 0xff630000 0x0 0x4000>;
        compatible = "rockchip,rk3399-dfi";
        clock-names = "pclk_ddr_mon";
        clocks = <0x8 0x179>;
        status = "okay";
        phandle = <0x92>;
        rockchip,pmu = <0x91>;
    };

    pmu_a53 {
        interrupts = <0x1 0x7 0x8 0x13>;
        compatible = "arm,cortex-a53-pmu";
    };

    pmu_a72 {
        interrupts = <0x1 0x7 0x8 0x14>;
        compatible = "arm,cortex-a72-pmu";
    };

    iommu@ff8f3f00 {
        reg = <0x0 0xff8f3f00 0x0 0x100>;
        interrupts = <0x0 0x77 0x4 0x0>;
        compatible = "rockchip,iommu";
        clock-names = "aclk", "hclk";
        interrupt-names = "vopl_mmu";
        clocks = <0x8 0xdb 0x8 0x1db>;
        power-domains = <0x15 0x12>;
        #iommu-cells = <0x0>;
        status = "disabled";
        phandle = <0xa1>;
    };

    energy-costs {

        rk3399-core-cost0 {
            busy-cost-data = <0x6c 0x2e 0x9f 0x43 0xd8 0x5a 0x10b 0x78 0x13e 0x99 0x177 0xc6 0x191 0xde>;
            phandle = <0xc>;
            idle-cost-data = <0x6 0x6 0x0 0x0>;
        };

        rk3399-core-cost1 {
            busy-cost-data = <0xd2 0x81 0x134 0xb8 0x1a3 0xf6 0x206 0x14f 0x269 0x1ac 0x2d8 0x23d 0x33b 0x2d4 0x39d 0x384 0x400 0x454>;
            phandle = <0x10>;
            idle-cost-data = <0xf 0xf 0x0 0x0>;
        };

        rk3399-cluster-cost0 {
            busy-cost-data = <0x6c 0x2e 0x9f 0x43 0xd8 0x5a 0x10b 0x78 0x13e 0x99 0x177 0xc6 0x191 0xde>;
            phandle = <0xd>;
            idle-cost-data = <0x38 0x38 0x38 0x38>;
        };

        rk3399-cluster-cost1 {
            busy-cost-data = <0xd2 0x81 0x134 0xb8 0x1a3 0xf6 0x206 0x14f 0x269 0x1ac 0x2d8 0x23d 0x33b 0x2d4 0x39d 0x384 0x400 0x454>;
            phandle = <0x11>;
            idle-cost-data = <0x41 0x41 0x41 0x41>;
        };
    };

    vop@ff8f0000 {
        reg = <0x0 0xff8f0000 0x0 0x600 0x0 0xff8f1c00 0x0 0x200 0x0 0xff8f2000 0x0 0x400>;
        interrupts = <0x0 0x77 0x4 0x0>;
        reg-names = "regs", "cabc_lut", "gamma_lut";
        compatible = "rockchip,rk3399-vop-lit";
        clock-names = "aclk_vop", "dclk_vop", "hclk_vop", "dclk_source";
        reset-names = "axi", "ahb", "dclk";
        clocks = <0x8 0xdb 0x8 0xb5 0x8 0x1db 0x8 0xb7>;
        power-domains = <0x15 0x12>;
        iommus = <0xa1>;
        resets = <0x8 0x113 0x8 0x117 0x8 0x119>;
        assigned-clocks = <0x8 0xb7>;
        status = "okay";
        phandle = <0x126>;
        assigned-clock-parents = <0x8 0x4>;

        port {
            #address-cells = <0x1>;
            phandle = <0xbc>;
            #size-cells = <0x0>;

            endpoint@0 {
                reg = <0x0>;
                remote-endpoint = <0xa2>;
                phandle = <0xb6>;
            };

            endpoint@1 {
                reg = <0x1>;
                remote-endpoint = <0xa3>;
                phandle = <0xba>;
            };

            endpoint@2 {
                reg = <0x2>;
                remote-endpoint = <0xa4>;
                phandle = <0xb4>;
            };

            endpoint@3 {
                reg = <0x3>;
                remote-endpoint = <0xa5>;
                phandle = <0x30>;
            };

            endpoint@4 {
                reg = <0x4>;
                remote-endpoint = <0xa6>;
                phandle = <0xb8>;
            };
        };
    };

    rktimer@ff850000 {
        reg = <0x0 0xff850000 0x0 0x1000>;
        interrupts = <0x0 0x51 0x4 0x0>;
        compatible = "rockchip,rk3399-timer";
        clock-names = "pclk", "timer";
        clocks = <0x8 0x168 0x8 0x5a>;
        phandle = <0x123>;
    };

    i2c@ff110000 {
        reg = <0x0 0xff110000 0x0 0x1000>;
        interrupts = <0x0 0x3b 0x4 0x0>;
        pinctrl-0 = <0x3a>;
        compatible = "rockchip,rk3399-i2c";
        clock-names = "i2c", "pclk";
        i2c-scl-rising-time-ns = <0xa8>;
        clocks = <0x8 0x41 0x8 0x155>;
        status = "okay";
        i2c-scl-falling-time-ns = <0x4>;
        #address-cells = <0x1>;
        phandle = <0xf6>;
        #size-cells = <0x0>;
        pinctrl-names = "default";

        es8316@11 {
            reg = <0x11>;
            pinctrl-0 = <0x3b>;
            compatible = "everest,es8316";
            clock-names = "mclk";
            clocks = <0x8 0x59>;
            hp-det-gpio = <0x3c 0x8 0x1>;
            #sound-dai-cells = <0x0>;
            phandle = <0xd7>;
            pinctrl-names = "default";
        };
    };

    i2c@ff120000 {
        reg = <0x0 0xff120000 0x0 0x1000>;
        interrupts = <0x0 0x23 0x4 0x0>;
        pinctrl-0 = <0x3d>;
        compatible = "rockchip,rk3399-i2c";
        clock-names = "i2c", "pclk";
        clocks = <0x8 0x42 0x8 0x156>;
        status = "disabled";
        #address-cells = <0x1>;
        phandle = <0xf7>;
        #size-cells = <0x0>;
        pinctrl-names = "default";
    };

    i2c@ff130000 {
        reg = <0x0 0xff130000 0x0 0x1000>;
        interrupts = <0x0 0x22 0x4 0x0>;
        pinctrl-0 = <0x3e>;
        compatible = "rockchip,rk3399-i2c";
        clock-names = "i2c", "pclk";
        clocks = <0x8 0x43 0x8 0x157>;
        status = "disabled";
        #address-cells = <0x1>;
        phandle = <0xf8>;
        #size-cells = <0x0>;
        pinctrl-names = "default";
    };

    i2c@ff140000 {
        reg = <0x0 0xff140000 0x0 0x1000>;
        interrupts = <0x0 0x26 0x4 0x0>;
        pinctrl-0 = <0x3f>;
        compatible = "rockchip,rk3399-i2c";
        clock-names = "i2c", "pclk";
        clocks = <0x8 0x44 0x8 0x158>;
        status = "disabled";
        #address-cells = <0x1>;
        phandle = <0xf9>;
        #size-cells = <0x0>;
        pinctrl-names = "default";
    };

    rkvdec@ff660000 {
        reg = <0x0 0xff660000 0x0 0x400>;
        interrupts = <0x0 0x74 0x4 0x0>;
        allocator = <0x1>;
        compatible = "rockchip,rkvdec";
        clock-names = "aclk_vcodec", "hclk_vcodec", "clk_cabac", "clk_core";
        reset-names = "video_h", "video_a", "video_core", "video_cabac", "niu_a", "niu_h";
        interrupt-names = "irq_dec";
        clocks = <0x8 0xed 0x8 0x1ec 0x8 0x9f 0x8 0x9e>;
        power-domains = <0x15 0x20>;
        iommus = <0x97>;
        iommu_enabled = <0x1>;
        resets = <0x8 0x5b 0x8 0x59 0x8 0x5c 0x8 0x5d 0x8 0x58 0x8 0x5a>;
        status = "okay";
        dev_mode = <0x2>;
        phandle = <0x114>;
        rockchip,grf = <0x16>;
    };

    i2c@ff150000 {
        reg = <0x0 0xff150000 0x0 0x1000>;
        interrupts = <0x0 0x25 0x4 0x0>;
        pinctrl-0 = <0x40>;
        compatible = "rockchip,rk3399-i2c";
        clock-names = "i2c", "pclk";
        clocks = <0x8 0x45 0x8 0x159>;
        status = "disabled";
        #address-cells = <0x1>;
        phandle = <0xfa>;
        #size-cells = <0x0>;
        pinctrl-names = "default";
    };

    i2c@ff160000 {
        reg = <0x0 0xff160000 0x0 0x1000>;
        interrupts = <0x0 0x24 0x4 0x0>;
        pinctrl-0 = <0x41>;
        compatible = "rockchip,rk3399-i2c";
        clock-names = "i2c", "pclk";
        clocks = <0x8 0x46 0x8 0x15a>;
        status = "disabled";
        #address-cells = <0x1>;
        phandle = <0xfb>;
        #size-cells = <0x0>;
        pinctrl-names = "default";
    };
};

 

Link to comment
Share on other sites

RK3399 board support is WIP, "for testing only" and problems are expected! If you want to use those boards for some real cases, don't. You need minimum of 5 approved posts to collaborate in this forum!

https://forum.armbian.com/forum/33-rockchip-3399/


With another words. There are many more critical issues that needs attention.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines