Jump to content

Armbian for TV box rk3328


balbes150

Recommended Posts

Starting from version 5.71 , you don't need to change anything in the image after recording to run on MX10. All settings and the DTB file are already there.

 

 

8 hours ago, CarlosPiles said:

Here it use rtl8723bs

I opened the case of my MX10. It is the chip SSV6051. Perhaps in other options can be used another version of. Or people run the firmware (system) from MX10 on other models, such as the A5X max, which differ only in the WiFi chip.

 

 

Link to comment
Share on other sites

My box always hang when I connect USB3 drive enclosure (SSD). The system hang randomly, sometimes after 10min, some other time 1 hour. The enclosure use JSM567 chip and has no external power source. It work fine with other computer; Win 10 desktop, Odroid C1 running Armbian (5V 2A PSU). I've tried to disable UAS, use USB2 port... but the result is still the same.  I want to use the box for samba file server, I can share file from micro SD card and run overnight without problem. Can you guy tell me where should I look at?

Link to comment
Share on other sites

3 hours ago, raksan said:

My box always hang when I connect USB3 drive enclosure (SSD). The system hang randomly, sometimes after 10min, some other time 1 hour. The enclosure use JSM567 chip and has no external power source. It work fine with other computer; Win 10 desktop, Odroid C1 running Armbian (5V 2A PSU). I've tried to disable UAS, use USB2 port... but the result is still the same.  I want to use the box for samba file server, I can share file from micro SD card and run overnight without problem. Can you guy tell me where should I look at?

Perhaps in the absence of activity, the external drive goes into hibernation and the USB port does not recognize it. You can try to view the DTB settings and the USB port management settings (do not use power saving).

Link to comment
Share on other sites

7 hours ago, balbes150 said:

Perhaps in the absence of activity, the external drive goes into hibernation and the USB port does not recognize it. You can try to view the DTB settings and the USB port management settings (do not use power saving).

Thank you, but that will have to wait for testing. My emmc has corrupted out of sudden, it's still boot and run fine form sdcard though.

Link to comment
Share on other sites

On 1/21/2019 at 3:40 AM, amirul said:

Anyone here tried this?

https://github.com/ayufan-rock64/linux-build/blob/master/recipes/overclocking.md

 

I've added opp-1392 & opp-1512 to rk3328-evb.dtb and running it at the moment. Governor set ondemand, can hit 1.39GHz not so much 1.51GHz. Let's see if anything blows up

Screenshot_2019-01-21_06-03-48.png

Screenshot_2019-01-21_06-04-35.png

Got it up to 1.51Ghz. Just doesn't feel as smooth as the s912. I guess octacore beats quadcore

Screenshot_2019-01-24_12-53-36.png

Link to comment
Share on other sites

21 hours ago, balbes150 said:

Version 5.72 update 20190123 (kernel 4.4 and 5.0).
On SERVER NEXT images (with kernel 5.0), support for DTB for MX10 has been added, and the system can be managed via SSH.

Armbian_5.72_Rk3328-tv_Ubuntu_bionic_default_4.4.154_desktop_20190123

Boots to desktop with rk3328_evb.dtb but max cpu freq only 1.30GHz

with rk3328_evb.dtb taken from 4.4.167 image and MAX_SPEED=1512000 in /etc/default/cpufrequtils, can reach 1.51Ghz

Further testing ongoing...

 

Memory speed testing with

dd if=/dev/zero of=/tmp/testfile bs=1M count=1000

rk3328: 352 MB/s

s912: 566 MB/s

need to find dram speed setting

 

Link to comment
Share on other sites

17 hours ago, amirul said:

Armbian_5.72_Rk3328-tv_Ubuntu_bionic_default_4.4.154_desktop_20190123

Boots to desktop with rk3328_evb.dtb but max cpu freq only 1.30GHz

with rk3328_evb.dtb taken from 4.4.167 image and MAX_SPEED=1512000 in /etc/default/cpufrequtils, can reach 1.51Ghz

Further testing ongoing...

 

Memory speed testing with

dd if=/dev/zero of=/tmp/testfile bs=1M count=1000

rk3328: 352 MB/s

s912: 566 MB/s

need to find dram speed setting

 

 

Interesting result!  On my A5X max with max 1296 Mhz, I see 330 MB/s normally in desktop mode, but under VNC I see 410 MB/s . Maybe the difference is due to the rate of frequency rampup from 600 Mhz to 1296 Mhz.  I am using the default MX10 dtb on a 4.4.154 kernel.

Link to comment
Share on other sites

1 hour ago, armar said:

 

Interesting result!  On my A5X max with max 1296 Mhz, I see 330 MB/s normally in desktop mode, but under VNC I see 410 MB/s . Maybe the difference is due to the rate of frequency rampup from 600 Mhz to 1296 Mhz.  I am using the default MX10 dtb on a 4.4.154 kernel.

Yes indeed. I don't think it is the rampup because when I cpufreq-set to fix at 1.51Ghz I still get the same result. I am looking for ways to make the desktop as fluid as on the S912 and memory speed is perhaps the answer. The media testing script didn't do it for me.

Link to comment
Share on other sites

1 hour ago, amirul said:

Yes indeed. I don't think it is the rampup because when I cpufreq-set to fix at 1.51Ghz I still get the same result. I am looking for ways to make the desktop as fluid as on the S912 and memory speed is perhaps the answer. The media testing script didn't do it for me.

https://github.com/ssvb/tinymembench

 

might be better at testing/comparing memory performance of the two boxes.

 

 

Link to comment
Share on other sites

5 hours ago, amirul said:

Perhaps, but I'm not up to cross-compiling and stuff. :-)

Another test:

sysbench memory --memory-block-size=1M --memory-total-size=10G run

s912: 3321.93 MiB/sec

rk3328: 2109.60 MiB/sec

Dont need to cross-compile. Just download and make

 

Hmm, I notice that if I reduce the screen resolution of the desktop, the performance moves up. Maybe GPU is eating into CPU RAM?

An interesting comparison at

https://hometheatrelife.com/rk3328-vs-s912/

 

Link to comment
Share on other sites

1 hour ago, armar said:

Dont need to cross-compile. Just download and make

 

Hmm, I notice that if I reduce the screen resolution of the desktop, the performance moves up. Maybe GPU is eating into CPU RAM?

An interesting comparison at

https://hometheatrelife.com/rk3328-vs-s912/

 

s912 does appear to be the winner. Maybe when we get a desktop in the 5.0 kernel things will improve?

Link to comment
Share on other sites

 Many thanks @balbes150 for your work, I tried many version whithout success with my tv box H96 Max plus.

 

Now I extract dtb from Android (thanks @CarlosPiles for tips), how can I compile a dtb compatible with armbian?

Spoiler

/dts-v1/;

/ {
    compatible = "rockchip,rk3328-evb\0rockchip,rk3328";
    interrupt-parent = < 0x01 >;
    #address-cells = < 0x02 >;
    #size-cells = < 0x02 >;
    model = "Rockchip RK3328 EVB";

    ddr_timing {
        compatible = "rockchip,ddr-timing";
        ddr3_speed_bin = < 0x15 >;
        ddr4_speed_bin = < 0x0c >;
        pd_idle = < 0x00 >;
        sr_idle = < 0x00 >;
        sr_mc_gate_idle = < 0x00 >;
        srpd_lite_idle = < 0x00 >;
        standby_idle = < 0x00 >;
        auto_pd_dis_freq = < 0x42a >;
        auto_sr_dis_freq = < 0x320 >;
        ddr3_dll_dis_freq = < 0x12c >;
        ddr4_dll_dis_freq = < 0x271 >;
        phy_dll_dis_freq = < 0x190 >;
        ddr3_odt_dis_freq = < 0x64 >;
        phy_ddr3_odt_dis_freq = < 0x64 >;
        ddr3_drv = < 0x28 >;
        ddr3_odt = < 0x78 >;
        phy_ddr3_ca_drv = < 0x1b >;
        phy_ddr3_ck_drv = < 0x15 >;
        phy_ddr3_dq_drv = < 0x15 >;
        phy_ddr3_odt = < 0x02 >;
        lpddr3_odt_dis_freq = < 0x29a >;
        phy_lpddr3_odt_dis_freq = < 0x29a >;
        lpddr3_drv = < 0x28 >;
        lpddr3_odt = < 0xf0 >;
        phy_lpddr3_ca_drv = < 0x16 >;
        phy_lpddr3_ck_drv = < 0x13 >;
        phy_lpddr3_dq_drv = < 0x16 >;
        phy_lpddr3_odt = < 0x02 >;
        lpddr4_odt_dis_freq = < 0x320 >;
        phy_lpddr4_odt_dis_freq = < 0x320 >;
        lpddr4_drv = < 0x3c >;
        lpddr4_dq_odt = < 0x28 >;
        lpddr4_ca_odt = < 0x28 >;
        phy_lpddr4_ca_drv = < 0x14 >;
        phy_lpddr4_ck_cs_drv = < 0x06 >;
        phy_lpddr4_dq_drv = < 0x06 >;
        phy_lpddr4_odt = < 0x10 >;
        ddr4_odt_dis_freq = < 0x29a >;
        phy_ddr4_odt_dis_freq = < 0x29a >;
        ddr4_drv = < 0x22 >;
        ddr4_odt = < 0xf0 >;
        phy_ddr4_ca_drv = < 0x16 >;
        phy_ddr4_ck_drv = < 0x13 >;
        phy_ddr4_dq_drv = < 0x16 >;
        phy_ddr4_odt = < 0x02 >;
        ddr3a1_ddr4a9_de-skew = < 0x02 >;
        ddr3a0_ddr4a10_de-skew = < 0x03 >;
        ddr3a3_ddr4a6_de-skew = < 0x03 >;
        ddr3a2_ddr4a4_de-skew = < 0x02 >;
        ddr3a5_ddr4a8_de-skew = < 0x03 >;
        ddr3a4_ddr4a5_de-skew = < 0x02 >;
        ddr3a7_ddr4a11_de-skew = < 0x03 >;
        ddr3a6_ddr4a7_de-skew = < 0x02 >;
        ddr3a9_ddr4a0_de-skew = < 0x02 >;
        ddr3a8_ddr4a13_de-skew = < 0x01 >;
        ddr3a11_ddr4a3_de-skew = < 0x02 >;
        ddr3a10_ddr4cs0_de-skew = < 0x02 >;
        ddr3a13_ddr4a2_de-skew = < 0x01 >;
        ddr3a12_ddr4ba1_de-skew = < 0x02 >;
        ddr3a15_ddr4odt0_de-skew = < 0x03 >;
        ddr3a14_ddr4a1_de-skew = < 0x02 >;
        ddr3ba1_ddr4a15_de-skew = < 0x02 >;
        ddr3ba0_ddr4bg0_de-skew = < 0x04 >;
        ddr3ras_ddr4cke_de-skew = < 0x04 >;
        ddr3ba2_ddr4ba0_de-skew = < 0x03 >;
        ddr3we_ddr4bg1_de-skew = < 0x02 >;
        ddr3cas_ddr4a12_de-skew = < 0x02 >;
        ddr3ckn_ddr4ckn_de-skew = < 0x0a >;
        ddr3ckp_ddr4ckp_de-skew = < 0x0a >;
        ddr3cke_ddr4a16_de-skew = < 0x02 >;
        ddr3odt0_ddr4a14_de-skew = < 0x04 >;
        ddr3cs0_ddr4act_de-skew = < 0x04 >;
        ddr3reset_ddr4reset_de-skew = < 0x07 >;
        ddr3cs1_ddr4cs1_de-skew = < 0x07 >;
        ddr3odt1_ddr4odt1_de-skew = < 0x07 >;
        cs0_dm0_rx_de-skew = < 0x0c >;
        cs0_dm0_tx_de-skew = < 0x0a >;
        cs0_dq0_rx_de-skew = < 0x0c >;
        cs0_dq0_tx_de-skew = < 0x0a >;
        cs0_dq1_rx_de-skew = < 0x0c >;
        cs0_dq1_tx_de-skew = < 0x0a >;
        cs0_dq2_rx_de-skew = < 0x0c >;
        cs0_dq2_tx_de-skew = < 0x0a >;
        cs0_dq3_rx_de-skew = < 0x0c >;
        cs0_dq3_tx_de-skew = < 0x0a >;
        cs0_dq4_rx_de-skew = < 0x0c >;
        cs0_dq4_tx_de-skew = < 0x0a >;
        cs0_dq5_rx_de-skew = < 0x0c >;
        cs0_dq5_tx_de-skew = < 0x0a >;
        cs0_dq6_rx_de-skew = < 0x0c >;
        cs0_dq6_tx_de-skew = < 0x0a >;
        cs0_dq7_rx_de-skew = < 0x0c >;
        cs0_dq7_tx_de-skew = < 0x0a >;
        cs0_dqs0_rx_de-skew = < 0x0a >;
        cs0_dqs0p_tx_de-skew = < 0x0b >;
        cs0_dqs0n_tx_de-skew = < 0x0b >;
        cs0_dm1_rx_de-skew = < 0x0a >;
        cs0_dm1_tx_de-skew = < 0x08 >;
        cs0_dq8_rx_de-skew = < 0x0a >;
        cs0_dq8_tx_de-skew = < 0x08 >;
        cs0_dq9_rx_de-skew = < 0x0a >;
        cs0_dq9_tx_de-skew = < 0x08 >;
        cs0_dq10_rx_de-skew = < 0x0a >;
        cs0_dq10_tx_de-skew = < 0x08 >;
        cs0_dq11_rx_de-skew = < 0x0a >;
        cs0_dq11_tx_de-skew = < 0x08 >;
        cs0_dq12_rx_de-skew = < 0x0a >;
        cs0_dq12_tx_de-skew = < 0x08 >;
        cs0_dq13_rx_de-skew = < 0x0a >;
        cs0_dq13_tx_de-skew = < 0x08 >;
        cs0_dq14_rx_de-skew = < 0x0a >;
        cs0_dq14_tx_de-skew = < 0x08 >;
        cs0_dq15_rx_de-skew = < 0x0a >;
        cs0_dq15_tx_de-skew = < 0x08 >;
        cs0_dqs1_rx_de-skew = < 0x09 >;
        cs0_dqs1p_tx_de-skew = < 0x08 >;
        cs0_dqs1n_tx_de-skew = < 0x08 >;
        cs0_dm2_rx_de-skew = < 0x0a >;
        cs0_dm2_tx_de-skew = < 0x09 >;
        cs0_dq16_rx_de-skew = < 0x0a >;
        cs0_dq16_tx_de-skew = < 0x09 >;
        cs0_dq17_rx_de-skew = < 0x0a >;
        cs0_dq17_tx_de-skew = < 0x09 >;
        cs0_dq18_rx_de-skew = < 0x0a >;
        cs0_dq18_tx_de-skew = < 0x09 >;
        cs0_dq19_rx_de-skew = < 0x0a >;
        cs0_dq19_tx_de-skew = < 0x09 >;
        cs0_dq20_rx_de-skew = < 0x0a >;
        cs0_dq20_tx_de-skew = < 0x09 >;
        cs0_dq21_rx_de-skew = < 0x0a >;
        cs0_dq21_tx_de-skew = < 0x09 >;
        cs0_dq22_rx_de-skew = < 0x0a >;
        cs0_dq22_tx_de-skew = < 0x09 >;
        cs0_dq23_rx_de-skew = < 0x0a >;
        cs0_dq23_tx_de-skew = < 0x09 >;
        cs0_dqs2_rx_de-skew = < 0x09 >;
        cs0_dqs2p_tx_de-skew = < 0x09 >;
        cs0_dqs2n_tx_de-skew = < 0x09 >;
        cs0_dm3_rx_de-skew = < 0x07 >;
        cs0_dm3_tx_de-skew = < 0x07 >;
        cs0_dq24_rx_de-skew = < 0x07 >;
        cs0_dq24_tx_de-skew = < 0x07 >;
        cs0_dq25_rx_de-skew = < 0x07 >;
        cs0_dq25_tx_de-skew = < 0x07 >;
        cs0_dq26_rx_de-skew = < 0x07 >;
        cs0_dq26_tx_de-skew = < 0x07 >;
        cs0_dq27_rx_de-skew = < 0x07 >;
        cs0_dq27_tx_de-skew = < 0x07 >;
        cs0_dq28_rx_de-skew = < 0x07 >;
        cs0_dq28_tx_de-skew = < 0x07 >;
        cs0_dq29_rx_de-skew = < 0x07 >;
        cs0_dq29_tx_de-skew = < 0x07 >;
        cs0_dq30_rx_de-skew = < 0x07 >;
        cs0_dq30_tx_de-skew = < 0x07 >;
        cs0_dq31_rx_de-skew = < 0x07 >;
        cs0_dq31_tx_de-skew = < 0x07 >;
        cs0_dqs3_rx_de-skew = < 0x07 >;
        cs0_dqs3p_tx_de-skew = < 0x08 >;
        cs0_dqs3n_tx_de-skew = < 0x08 >;
        cs1_dm0_rx_de-skew = < 0x07 >;
        cs1_dm0_tx_de-skew = < 0x08 >;
        cs1_dq0_rx_de-skew = < 0x07 >;
        cs1_dq0_tx_de-skew = < 0x08 >;
        cs1_dq1_rx_de-skew = < 0x07 >;
        cs1_dq1_tx_de-skew = < 0x08 >;
        cs1_dq2_rx_de-skew = < 0x07 >;
        cs1_dq2_tx_de-skew = < 0x08 >;
        cs1_dq3_rx_de-skew = < 0x07 >;
        cs1_dq3_tx_de-skew = < 0x08 >;
        cs1_dq4_rx_de-skew = < 0x07 >;
        cs1_dq4_tx_de-skew = < 0x08 >;
        cs1_dq5_rx_de-skew = < 0x07 >;
        cs1_dq5_tx_de-skew = < 0x08 >;
        cs1_dq6_rx_de-skew = < 0x07 >;
        cs1_dq6_tx_de-skew = < 0x08 >;
        cs1_dq7_rx_de-skew = < 0x07 >;
        cs1_dq7_tx_de-skew = < 0x08 >;
        cs1_dqs0_rx_de-skew = < 0x06 >;
        cs1_dqs0p_tx_de-skew = < 0x09 >;
        cs1_dqs0n_tx_de-skew = < 0x09 >;
        cs1_dm1_rx_de-skew = < 0x07 >;
        cs1_dm1_tx_de-skew = < 0x07 >;
        cs1_dq8_rx_de-skew = < 0x07 >;
        cs1_dq8_tx_de-skew = < 0x08 >;
        cs1_dq9_rx_de-skew = < 0x07 >;
        cs1_dq9_tx_de-skew = < 0x07 >;
        cs1_dq10_rx_de-skew = < 0x07 >;
        cs1_dq10_tx_de-skew = < 0x08 >;
        cs1_dq11_rx_de-skew = < 0x07 >;
        cs1_dq11_tx_de-skew = < 0x07 >;
        cs1_dq12_rx_de-skew = < 0x07 >;
        cs1_dq12_tx_de-skew = < 0x08 >;
        cs1_dq13_rx_de-skew = < 0x07 >;
        cs1_dq13_tx_de-skew = < 0x07 >;
        cs1_dq14_rx_de-skew = < 0x07 >;
        cs1_dq14_tx_de-skew = < 0x08 >;
        cs1_dq15_rx_de-skew = < 0x07 >;
        cs1_dq15_tx_de-skew = < 0x07 >;
        cs1_dqs1_rx_de-skew = < 0x07 >;
        cs1_dqs1p_tx_de-skew = < 0x09 >;
        cs1_dqs1n_tx_de-skew = < 0x09 >;
        cs1_dm2_rx_de-skew = < 0x07 >;
        cs1_dm2_tx_de-skew = < 0x08 >;
        cs1_dq16_rx_de-skew = < 0x07 >;
        cs1_dq16_tx_de-skew = < 0x08 >;
        cs1_dq17_rx_de-skew = < 0x07 >;
        cs1_dq17_tx_de-skew = < 0x08 >;
        cs1_dq18_rx_de-skew = < 0x07 >;
        cs1_dq18_tx_de-skew = < 0x08 >;
        cs1_dq19_rx_de-skew = < 0x07 >;
        cs1_dq19_tx_de-skew = < 0x08 >;
        cs1_dq20_rx_de-skew = < 0x07 >;
        cs1_dq20_tx_de-skew = < 0x08 >;
        cs1_dq21_rx_de-skew = < 0x07 >;
        cs1_dq21_tx_de-skew = < 0x08 >;
        cs1_dq22_rx_de-skew = < 0x07 >;
        cs1_dq22_tx_de-skew = < 0x08 >;
        cs1_dq23_rx_de-skew = < 0x07 >;
        cs1_dq23_tx_de-skew = < 0x08 >;
        cs1_dqs2_rx_de-skew = < 0x06 >;
        cs1_dqs2p_tx_de-skew = < 0x09 >;
        cs1_dqs2n_tx_de-skew = < 0x09 >;
        cs1_dm3_rx_de-skew = < 0x07 >;
        cs1_dm3_tx_de-skew = < 0x07 >;
        cs1_dq24_rx_de-skew = < 0x07 >;
        cs1_dq24_tx_de-skew = < 0x08 >;
        cs1_dq25_rx_de-skew = < 0x07 >;
        cs1_dq25_tx_de-skew = < 0x07 >;
        cs1_dq26_rx_de-skew = < 0x07 >;
        cs1_dq26_tx_de-skew = < 0x07 >;
        cs1_dq27_rx_de-skew = < 0x07 >;
        cs1_dq27_tx_de-skew = < 0x07 >;
        cs1_dq28_rx_de-skew = < 0x07 >;
        cs1_dq28_tx_de-skew = < 0x07 >;
        cs1_dq29_rx_de-skew = < 0x07 >;
        cs1_dq29_tx_de-skew = < 0x07 >;
        cs1_dq30_rx_de-skew = < 0x07 >;
        cs1_dq30_tx_de-skew = < 0x07 >;
        cs1_dq31_rx_de-skew = < 0x07 >;
        cs1_dq31_tx_de-skew = < 0x07 >;
        cs1_dqs3_rx_de-skew = < 0x07 >;
        cs1_dqs3p_tx_de-skew = < 0x09 >;
        cs1_dqs3n_tx_de-skew = < 0x09 >;
        linux,phandle = < 0x7c >;
        phandle = < 0x7c >;
    };

    aliases {
        serial0 = "/serial@ff110000";
        serial1 = "/serial@ff120000";
        serial2 = "/serial@ff130000";
        i2c0 = "/i2c@ff150000";
        i2c1 = "/i2c@ff160000";
        i2c2 = "/i2c@ff170000";
        i2c3 = "/i2c@ff180000";
        ethernet0 = "/ethernet@ff540000";
        ethernet1 = "/ethernet@ff550000";
    };

    cpus {
        #address-cells = < 0x02 >;
        #size-cells = < 0x00 >;

        cpu@0 {
            device_type = "cpu";
            compatible = "arm,cortex-a53\0arm,armv8";
            reg = < 0x00 0x00 >;
            enable-method = "psci";
            clocks = < 0x02 0x06 >;
            #cooling-cells = < 0x02 >;
            dynamic-power-coefficient = < 0x78 >;
            operating-points-v2 = < 0x03 >;
            cpu-supply = < 0x04 >;
            linux,phandle = < 0x06 >;
            phandle = < 0x06 >;
        };

        cpu@1 {
            device_type = "cpu";
            compatible = "arm,cortex-a53\0arm,armv8";
            reg = < 0x00 0x01 >;
            enable-method = "psci";
            operating-points-v2 = < 0x03 >;
            linux,phandle = < 0x07 >;
            phandle = < 0x07 >;
        };

        cpu@2 {
            device_type = "cpu";
            compatible = "arm,cortex-a53\0arm,armv8";
            reg = < 0x00 0x02 >;
            enable-method = "psci";
            operating-points-v2 = < 0x03 >;
            linux,phandle = < 0x08 >;
            phandle = < 0x08 >;
        };

        cpu@3 {
            device_type = "cpu";
            compatible = "arm,cortex-a53\0arm,armv8";
            reg = < 0x00 0x03 >;
            enable-method = "psci";
            operating-points-v2 = < 0x03 >;
            linux,phandle = < 0x09 >;
            phandle = < 0x09 >;
        };
    };

    cpu0-opp-table {
        compatible = "operating-points-v2";
        opp-shared;
        rockchip,leakage-voltage-sel = < 0x01 0x08 0x00 0x09 0xfe 0x01 >;
        nvmem-cells = < 0x05 >;
        nvmem-cell-names = "cpu_leakage";
        linux,phandle = < 0x03 >;
        phandle = < 0x03 >;

        opp-408000000 {
            opp-hz = < 0x00 0x18519600 >;
            opp-microvolt = < 0x10c8e0 >;
            opp-microvolt-L0 = < 0x10c8e0 >;
            opp-microvolt-L1 = < 0x10c8e0 >;
            clock-latency-ns = < 0x9c40 >;
            opp-suspend;
        };

        opp-600000000 {
            opp-hz = < 0x00 0x23c34600 >;
            opp-microvolt = < 0x112a88 >;
            opp-microvolt-L0 = < 0x112a88 >;
            opp-microvolt-L1 = < 0x112a88 >;
            clock-latency-ns = < 0x9c40 >;
        };

        opp-816000000 {
            opp-hz = < 0x00 0x30a32c00 >;
            opp-microvolt = < 0x118c30 >;
            opp-microvolt-L0 = < 0x118c30 >;
            opp-microvolt-L1 = < 0x118c30 >;
            clock-latency-ns = < 0x9c40 >;
        };

        opp-1008000000 {
            opp-hz = < 0x00 0x3c14dc00 >;
            opp-microvolt = < 0x124f80 >;
            opp-microvolt-L0 = < 0x124f80 >;
            opp-microvolt-L1 = < 0x124f80 >;
            clock-latency-ns = < 0x9c40 >;
        };

        opp-1200000000 {
            opp-hz = < 0x00 0x47868c00 >;
            opp-microvolt = < 0x1312d0 >;
            opp-microvolt-L0 = < 0x1312d0 >;
            opp-microvolt-L1 = < 0x1312d0 >;
            clock-latency-ns = < 0x9c40 >;
        };

        opp-1296000000 {
            opp-hz = < 0x00 0x4d3f6400 >;
            opp-microvolt = < 0x13d620 >;
            opp-microvolt-L0 = < 0x13d620 >;
            opp-microvolt-L1 = < 0x13d620 >;
            clock-latency-ns = < 0x9c40 >;
        };
    };

    arm-pmu {
        compatible = "arm,cortex-a53-pmu";
        interrupts = < 0x00 0x64 0x04 0x00 0x65 0x04 0x00 0x66 0x04 0x00 0x67 0x04 >;
        interrupt-affinity = < 0x06 0x07 0x08 0x09 >;
    };

    cpuinfo {
        compatible = "rockchip,cpuinfo";
        nvmem-cells = < 0x0a 0x0b >;
        nvmem-cell-names = "id\0cpu-version";
    };

    firmware {

        optee {
            compatible = "linaro,optee-tz";
            method = "smc";
        };

        android {
            compatible = "android,firmware";

            fstab {
                compatible = "android,fstab";

                system {
                    compatible = "android,system";
                    dev = "/dev/block/platform/ff520000.dwmmc/by-name/system";
                    type = "ext4";
                    mnt_flags = "ro,barrier=1,inode_readahead_blks=8";
                    fsmgr_flags = "wait";
                };

                vendor {
                    compatible = "android,vendor";
                    dev = "/dev/block/platform/ff520000.dwmmc/by-name/vendor";
                    type = "ext4";
                    mnt_flags = "ro,barrier=1,inode_readahead_blks=8";
                    fsmgr_flags = "wait";
                };
            };
        };
    };

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

    rockchip-suspend {
        compatible = "rockchip,pm-rk3328";
        status = "okay";
        rockchip,virtual-poweroff = < 0x01 >;
    };

    timer {
        compatible = "arm,armv8-timer";
        interrupts = < 0x01 0x0d 0xf08 0x01 0x0e 0xf08 0x01 0x0b 0xf08 0x01 0x0a 0xf08 >;
    };

    xin24m {
        compatible = "fixed-clock";
        #clock-cells = < 0x00 >;
        clock-frequency = < 0x16e3600 >;
        clock-output-names = "xin24m";
        linux,phandle = < 0x61 >;
        phandle = < 0x61 >;
    };

    i2s@ff000000 {
        compatible = "rockchip,rk3328-i2s\0rockchip,rk3066-i2s";
        reg = < 0x00 0xff000000 0x00 0x1000 >;
        interrupts = < 0x00 0x1a 0x04 >;
        clocks = < 0x02 0x29 0x02 0x137 >;
        clock-names = "i2s_clk\0i2s_hclk";
        dmas = < 0x0c 0x0b 0x0c 0x0c >;
        #dma-cells = < 0x02 >;
        dma-names = "tx\0rx";
        status = "okay";
        #sound-dai-cells = < 0x00 >;
        rockchip,bclk-fs = < 0x80 >;
        linux,phandle = < 0x8e >;
        phandle = < 0x8e >;
    };

    i2s@ff010000 {
        compatible = "rockchip,rk3328-i2s\0rockchip,rk3066-i2s";
        reg = < 0x00 0xff010000 0x00 0x1000 >;
        interrupts = < 0x00 0x1b 0x04 >;
        clocks = < 0x02 0x2a 0x02 0x138 >;
        clock-names = "i2s_clk\0i2s_hclk";
        dmas = < 0x0c 0x0e 0x0c 0x0f >;
        #dma-cells = < 0x02 >;
        dma-names = "tx\0rx";
        status = "okay";
        #sound-dai-cells = < 0x00 >;
        linux,phandle = < 0x8c >;
        phandle = < 0x8c >;
    };

    i2s@ff020000 {
        compatible = "rockchip,rk3328-i2s\0rockchip,rk3066-i2s";
        reg = < 0x00 0xff020000 0x00 0x1000 >;
        interrupts = < 0x00 0x1c 0x04 >;
        clocks = < 0x02 0x2b 0x02 0x139 >;
        clock-names = "i2s_clk\0i2s_hclk";
        dmas = < 0x0c 0x00 0x0c 0x01 >;
        #dma-cells = < 0x02 >;
        dma-names = "tx\0rx";
        pinctrl-names = "default\0sleep";
        pinctrl-0 = < 0x0d 0x0e 0x0f 0x10 0x11 0x12 >;
        pinctrl-1 = < 0x13 >;
        status = "disabled";
    };

    spdif@ff030000 {
        compatible = "rockchip,rk3328-spdif";
        reg = < 0x00 0xff030000 0x00 0x1000 >;
        interrupts = < 0x00 0x1d 0x04 >;
        clocks = < 0x02 0x2e 0x02 0x13a >;
        clock-names = "mclk\0hclk";
        dmas = < 0x0c 0x0a >;
        #dma-cells = < 0x01 >;
        dma-names = "tx";
        pinctrl-names = "default";
        pinctrl-0 = < 0x14 >;
        status = "okay";
        #sound-dai-cells = < 0x00 >;
        linux,phandle = < 0x90 >;
        phandle = < 0x90 >;
    };

    pdm@ff040000 {
        compatible = "rockchip,pdm";
        reg = < 0x00 0xff040000 0x00 0x1000 >;
        clocks = < 0x02 0x3d 0x02 0x152 >;
        clock-names = "pdm_clk\0pdm_hclk";
        dmas = < 0x0c 0x10 >;
        #dma-cells = < 0x01 >;
        dma-names = "rx";
        pinctrl-names = "default\0sleep";
        pinctrl-0 = < 0x15 0x16 0x17 0x18 0x19 0x1a >;
        pinctrl-1 = < 0x1b >;
        status = "disabled";
    };

    tsp@ff050000 {
        compatible = "rockchip,rk3328-tsp";
        reg = < 0x00 0xff050000 0x00 0x10000 >;
        rockchip,grf = < 0x1c >;
        interrupts = < 0x00 0x48 0x04 >;
        interrupt-names = "irq_tsp";
        clocks = < 0x02 0x5c 0x02 0x98 0x02 0x135 >;
        clock-names = "clk_tsp\0aclk_tsp\0hclk_tsp";
        pinctrl-names = "default";
        pinctrl-0 = < 0x1d 0x1e 0x1f 0x20 0x21 0x22 0x23 0x24 0x25 0x26 0x27 0x28 >;
        status = "disabled";
    };

    syscon@ff100000 {
        compatible = "rockchip,rk3328-grf\0syscon\0simple-mfd";
        reg = < 0x00 0xff100000 0x00 0x1000 >;
        #address-cells = < 0x01 >;
        #size-cells = < 0x01 >;
        linux,phandle = < 0x1c >;
        phandle = < 0x1c >;

        io-domains {
            compatible = "rockchip,rk3328-io-voltage-domain";
            status = "okay";
            vccio1-supply = < 0x29 >;
            vccio2-supply = < 0x2a >;
            vccio3-supply = < 0x29 >;
            vccio4-supply = < 0x2a >;
            vccio5-supply = < 0x29 >;
            vccio6-supply = < 0x29 >;
            pmuio-supply = < 0x29 >;
        };

        power-controller {
            compatible = "rockchip,rk3328-power-controller";
            #power-domain-cells = < 0x01 >;
            #address-cells = < 0x01 >;
            #size-cells = < 0x00 >;
            status = "okay";
            linux,phandle = < 0x4b >;
            phandle = < 0x4b >;

            pd_hevc@6 {
                reg = < 0x06 >;
            };

            pd_video@5 {
                reg = < 0x05 >;
                clocks = < 0x02 0x8b 0x02 0x142 0x02 0x41 0x02 0x42 >;
                pm_qos = < 0x2b 0x2c >;
            };

            pd_vpu@8 {
                reg = < 0x08 >;
                clocks = < 0x02 0x8f 0x02 0x146 >;
                pm_qos = < 0x2d >;
            };
        };

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

    thermal-zones {

        soc-thermal {
            polling-delay-passive = < 0x14 >;
            polling-delay = < 0x3e8 >;
            sustainable-power = < 0x3e8 >;
            thermal-sensors = < 0x2e 0x00 >;

            trips {

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

                trip-point-1 {
                    temperature = < 0x19a28 >;
                    hysteresis = < 0x7d0 >;
                    type = "passive";
                    linux,phandle = < 0x2f >;
                    phandle = < 0x2f >;
                };

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

            cooling-maps {

                map0 {
                    trip = < 0x2f >;
                    cooling-device = < 0x06 0xffffffff 0xffffffff >;
                    contribution = < 0x1000 >;
                };

                map1 {
                    trip = < 0x2f >;
                    cooling-device = < 0x30 0xffffffff 0xffffffff >;
                    contribution = < 0x1000 >;
                };

                map2 {
                    trip = < 0x2f >;
                    cooling-device = < 0x31 0xffffffff 0xffffffff >;
                    contribution = < 0x400 >;
                };

                map3 {
                    trip = < 0x2f >;
                    cooling-device = < 0x32 0xffffffff 0xffffffff >;
                    contribution = < 0x400 >;
                };
            };
        };
    };

    tsadc@ff250000 {
        compatible = "rockchip,rk3328-tsadc";
        reg = < 0x00 0xff250000 0x00 0x100 >;
        interrupts = < 0x00 0x3a 0x04 >;
        rockchip,grf = < 0x1c >;
        clocks = < 0x02 0x24 0x02 0xd5 >;
        clock-names = "tsadc\0apb_pclk";
        assigned-clocks = < 0x02 0x24 >;
        assigned-clock-rates = < 0xc350 >;
        resets = < 0x02 0x42 >;
        reset-names = "tsadc-apb";
        pinctrl-names = "init\0default\0sleep";
        pinctrl-0 = < 0x33 >;
        pinctrl-1 = < 0x34 >;
        pinctrl-2 = < 0x33 >;
        #thermal-sensor-cells = < 0x01 >;
        rockchip,hw-tshut-temp = < 0x1d4c0 >;
        status = "okay";
        linux,phandle = < 0x2e >;
        phandle = < 0x2e >;
    };

    serial@ff110000 {
        compatible = "rockchip,rk3328-uart\0snps,dw-apb-uart";
        reg = < 0x00 0xff110000 0x00 0x100 >;
        interrupts = < 0x00 0x37 0x04 >;
        clocks = < 0x02 0x26 0x02 0xd2 >;
        clock-names = "baudclk\0apb_pclk";
        reg-shift = < 0x02 >;
        reg-io-width = < 0x04 >;
        dmas = < 0x0c 0x02 0x0c 0x03 >;
        #dma-cells = < 0x02 >;
        pinctrl-names = "default";
        pinctrl-0 = < 0x35 0x36 >;
        status = "okay";
        dma-names = "!tx\0!rx";
    };

    serial@ff120000 {
        compatible = "rockchip,rk3328-uart\0snps,dw-apb-uart";
        reg = < 0x00 0xff120000 0x00 0x100 >;
        interrupts = < 0x00 0x38 0x04 >;
        clocks = < 0x02 0x27 0x02 0xd3 >;
        clock-names = "sclk_uart\0pclk_uart";
        reg-shift = < 0x02 >;
        reg-io-width = < 0x04 >;
        dmas = < 0x0c 0x04 0x0c 0x05 >;
        #dma-cells = < 0x02 >;
        pinctrl-names = "default";
        pinctrl-0 = < 0x37 0x38 0x39 >;
        status = "disabled";
    };

    serial@ff130000 {
        compatible = "rockchip,rk3328-uart\0snps,dw-apb-uart";
        reg = < 0x00 0xff130000 0x00 0x100 >;
        interrupts = < 0x00 0x39 0x04 >;
        clocks = < 0x02 0x28 0x02 0xd4 >;
        clock-names = "baudclk\0apb_pclk";
        reg-shift = < 0x02 >;
        reg-io-width = < 0x04 >;
        dmas = < 0x0c 0x06 0x0c 0x07 >;
        #dma-cells = < 0x02 >;
        pinctrl-names = "default";
        pinctrl-0 = < 0x3a >;
        status = "disabled";
    };

    power-management@ff140000 {
        compatible = "rockchip,rk3328-pmu\0syscon\0simple-mfd";
        reg = < 0x00 0xff140000 0x00 0x1000 >;
    };

    i2c@ff150000 {
        compatible = "rockchip,rk3328-i2c\0rockchip,rk3399-i2c";
        reg = < 0x00 0xff150000 0x00 0x1000 >;
        interrupts = < 0x00 0x24 0x04 >;
        #address-cells = < 0x01 >;
        #size-cells = < 0x00 >;
        clocks = < 0x02 0x37 0x02 0xcd >;
        clock-names = "i2c\0pclk";
        pinctrl-names = "default";
        pinctrl-0 = < 0x3b >;
        status = "disabled";
    };

    i2c@ff160000 {
        compatible = "rockchip,rk3328-i2c\0rockchip,rk3399-i2c";
        reg = < 0x00 0xff160000 0x00 0x1000 >;
        interrupts = < 0x00 0x25 0x04 >;
        #address-cells = < 0x01 >;
        #size-cells = < 0x00 >;
        clocks = < 0x02 0x38 0x02 0xce >;
        clock-names = "i2c\0pclk";
        pinctrl-names = "default";
        pinctrl-0 = < 0x3c >;
        status = "disabled";
    };

    i2c@ff170000 {
        compatible = "rockchip,rk3328-i2c\0rockchip,rk3399-i2c";
        reg = < 0x00 0xff170000 0x00 0x1000 >;
        interrupts = < 0x00 0x26 0x04 >;
        #address-cells = < 0x01 >;
        #size-cells = < 0x00 >;
        clocks = < 0x02 0x39 0x02 0xcf >;
        clock-names = "i2c\0pclk";
        pinctrl-names = "default";
        pinctrl-0 = < 0x3d >;
        status = "disabled";
    };

    i2c@ff180000 {
        compatible = "rockchip,rk3328-i2c\0rockchip,rk3399-i2c";
        reg = < 0x00 0xff180000 0x00 0x1000 >;
        interrupts = < 0x00 0x27 0x04 >;
        #address-cells = < 0x01 >;
        #size-cells = < 0x00 >;
        clocks = < 0x02 0x3a 0x02 0xd0 >;
        clock-names = "i2c\0pclk";
        pinctrl-names = "default";
        pinctrl-0 = < 0x3e >;
        status = "disabled";
    };

    spi@ff190000 {
        compatible = "rockchip,rk3328-spi\0rockchip,rk3066-spi";
        reg = < 0x00 0xff190000 0x00 0x1000 >;
        interrupts = < 0x00 0x31 0x04 >;
        #address-cells = < 0x01 >;
        #size-cells = < 0x00 >;
        clocks = < 0x02 0x20 0x02 0xd1 >;
        clock-names = "spiclk\0apb_pclk";
        dmas = < 0x0c 0x08 0x0c 0x09 >;
        #dma-cells = < 0x02 >;
        dma-names = "tx\0rx";
        pinctrl-names = "default";
        pinctrl-0 = < 0x3f 0x40 0x41 0x42 >;
        status = "disabled";
    };

    watchdog@ff1a0000 {
        compatible = "snps,dw-wdt";
        reg = < 0x00 0xff1a0000 0x00 0x100 >;
        interrupts = < 0x00 0x28 0x04 >;
        status = "disabled";
    };

    pwm@ff1b0000 {
        compatible = "rockchip,rk3328-pwm";
        reg = < 0x00 0xff1b0000 0x00 0x10 >;
        #pwm-cells = < 0x03 >;
        pinctrl-names = "active";
        pinctrl-0 = < 0x43 >;
        clocks = < 0x02 0x3c 0x02 0xd6 >;
        clock-names = "pwm\0pclk";
        status = "okay";
        linux,phandle = < 0x96 >;
        phandle = < 0x96 >;
    };

    pwm@ff1b0010 {
        compatible = "rockchip,rk3328-pwm";
        reg = < 0x00 0xff1b0010 0x00 0x10 >;
        #pwm-cells = < 0x03 >;
        pinctrl-names = "active";
        pinctrl-0 = < 0x44 >;
        clocks = < 0x02 0x3c 0x02 0xd6 >;
        clock-names = "pwm\0pclk";
        status = "okay";
        linux,phandle = < 0x97 >;
        phandle = < 0x97 >;
    };

    pwm@ff1b0020 {
        compatible = "rockchip,rk3328-pwm";
        reg = < 0x00 0xff1b0020 0x00 0x10 >;
        #pwm-cells = < 0x03 >;
        pinctrl-names = "active";
        pinctrl-0 = < 0x45 >;
        clocks = < 0x02 0x3c 0x02 0xd6 >;
        clock-names = "pwm\0pclk";
        status = "disabled";
    };

    pwm@ff1b0030 {
        compatible = "rockchip,remotectl-pwm";
        reg = < 0x00 0xff1b0030 0x00 0x10 >;
        interrupts = < 0x00 0x32 0x04 >;
        #pwm-cells = < 0x03 >;
        pinctrl-names = "active";
        pinctrl-0 = < 0x46 >;
        clocks = < 0x02 0x3c 0x02 0xd6 >;
        clock-names = "pwm\0pclk";
        status = "okay";
        remote_pwm_id = < 0x03 >;
        handle_cpu_id = < 0x01 >;
        remote_support_psci = < 0x01 >;

        ir_key1 {
            rockchip,usercode = < 0x4040 >;
            rockchip,key_table = < 0xf2 0xe8 0xbd 0x9e 0xf4 0x67 0xf1 0x6c 0xef 0x69 0xee 0x6a 0xe5 0x66 0xe7 0x73 0xe8 0x72 0xb2 0x74 0xbc 0x71 0xba 0x8b 0xb8 0x184 0xfe 0x02 0xfd 0x03 0xfc 0x04 0xfb 0x05 0xfa 0x06 0xf9 0x07 0xf8 0x08 0xf7 0x09 0xf6 0x0a 0xff 0x0b 0xf3 0x0e >;
        };

        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 0xa4 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 0xa4 0x8d 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 0x02 0xba 0x03 0xb2 0x04 0xbd 0x05 0xf9 0x06 0xb1 0x07 0xfc 0x08 0xf8 0x09 0xb0 0x0a 0xb6 0x0b 0xb5 0x0e >;
        };

        ir_key4 {
            rockchip,usercode = < 0xfe01 >;
            rockchip,key_table = < 0xec 0xe8 0xe6 0x9e 0xe9 0x67 0xe5 0x6c 0xae 0x69 0xaf 0x6a 0xee 0x66 0xe7 0x73 0xef 0x72 0xbf 0x74 0xbe 0x71 0xb3 0x8b 0xff 0x184 0xb1 0x02 0xf2 0x03 0xf3 0x04 0xb5 0x05 0xf6 0x06 0xf7 0x07 0xb9 0x08 0xfa 0x09 0xfb 0x0a 0xfe 0x0b 0xbd 0x0e 0xbc 0xb7 0xf0 0xba 0xb4 0x19c 0xb0 0x197 >;
        };
    };

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

        dmac@ff1f0000 {
            compatible = "arm,pl330\0arm,primecell";
            reg = < 0x00 0xff1f0000 0x00 0x4000 >;
            interrupts = < 0x00 0x00 0x04 0x00 0x01 0x04 >;
            clocks = < 0x02 0x86 >;
            clock-names = "apb_pclk";
            #dma-cells = < 0x01 >;
            peripherals-req-type-burst;
            linux,phandle = < 0x0c >;
            phandle = < 0x0c >;
        };
    };

    efuse@ff260000 {
        compatible = "rockchip,rk3328-efuse";
        reg = < 0x00 0xff260000 0x00 0x50 >;
        #address-cells = < 0x01 >;
        #size-cells = < 0x01 >;
        clocks = < 0x02 0x3e >;
        clock-names = "pclk_efuse";
        rockchip,efuse-size = < 0x20 >;

        id@7 {
            reg = < 0x07 0x10 >;
            linux,phandle = < 0x0a >;
            phandle = < 0x0a >;
        };

        cpu-leakage@17 {
            reg = < 0x17 0x01 >;
            linux,phandle = < 0x05 >;
            phandle = < 0x05 >;
        };

        logic-leakage@19 {
            reg = < 0x19 0x01 >;
            linux,phandle = < 0x49 >;
            phandle = < 0x49 >;
        };

        cpu-version@1a {
            reg = < 0x1a 0x01 >;
            bits = < 0x03 0x03 >;
            linux,phandle = < 0x0b >;
            phandle = < 0x0b >;
        };
    };

    saradc@ff280000 {
        compatible = "rockchip,rk3328-saradc\0rockchip,rk3399-saradc";
        reg = < 0x00 0xff280000 0x00 0x100 >;
        interrupts = < 0x00 0x50 0x04 >;
        #io-channel-cells = < 0x01 >;
        clocks = < 0x02 0x25 0x02 0xea >;
        clock-names = "saradc\0apb_pclk";
        resets = < 0x02 0x56 >;
        reset-names = "saradc-apb";
        status = "disabled";
    };

    gpu@ff300000 {
        compatible = "arm,mali-450";
        reg = < 0x00 0xff300000 0x00 0x40000 0x00 0xff300000 0x00 0x40000 >;
        interrupts = < 0x00 0x5a 0x04 0x00 0x57 0x04 0x00 0x5d 0x04 0x00 0x58 0x04 0x00 0x59 0x04 0x00 0x5b 0x04 0x00 0x5c 0x04 >;
        interrupt-names = "Mali_GP_IRQ\0Mali_GP_MMU_IRQ\0IRQPP\0Mali_PP0_IRQ\0Mali_PP0_MMU_IRQ\0Mali_PP1_IRQ\0Mali_PP1_MMU_IRQ";
        clocks = < 0x02 0x87 >;
        clock-names = "clk_mali";
        #cooling-cells = < 0x02 >;
        operating-points-v2 = < 0x47 >;
        status = "okay";
        mali-supply = < 0x48 >;
        linux,phandle = < 0x30 >;
        phandle = < 0x30 >;

        power_model {
            compatible = "arm,mali-simple-power-model";
            voltage = < 0x384 >;
            frequency = < 0x1f4 >;
            static-power = < 0x12c >;
            dynamic-power = < 0x18c >;
            ts = < 0x7d00 0x125c 0xffffffb0 0x02 >;
            thermal-zone = "soc-thermal";
        };
    };

    gpu-opp-table {
        compatible = "operating-points-v2";
        rockchip,leakage-voltage-sel = < 0x01 0x08 0x00 0x09 0xfe 0x01 >;
        nvmem-cells = < 0x49 >;
        nvmem-cell-names = "gpu_leakage";
        linux,phandle = < 0x47 >;
        phandle = < 0x47 >;

        opp-200000000 {
            opp-hz = < 0x00 0xbebc200 >;
            opp-microvolt = < 0xf4240 >;
            opp-microvolt-L0 = < 0xf4240 >;
            opp-microvolt-L1 = < 0xf4240 >;
        };

        opp-300000000 {
            opp-hz = < 0x00 0x11e1a300 >;
            opp-microvolt = < 0xfa3e8 >;
            opp-microvolt-L0 = < 0xfa3e8 >;
            opp-microvolt-L1 = < 0xfa3e8 >;
        };

        opp-400000000 {
            opp-hz = < 0x00 0x17d78400 >;
            opp-microvolt = < 0x106738 >;
            opp-microvolt-L0 = < 0x106738 >;
            opp-microvolt-L1 = < 0x106738 >;
        };

        opp-500000000 {
            opp-hz = < 0x00 0x1dcd6500 >;
            opp-microvolt = < 0x112a88 >;
            opp-microvolt-L0 = < 0x112a88 >;
            opp-microvolt-L1 = < 0x112a88 >;
        };
    };

    vpu_service@ff350000 {
        compatible = "vpu,sub";
        iommu_enabled = < 0x01 >;
        iommus = < 0x4a >;
        allocator = < 0x01 >;
        reg = < 0x00 0xff350000 0x00 0x800 >;
        interrupts = < 0x00 0x09 0x04 >;
        interrupt-names = "irq_dec";
        dev_mode = < 0x00 >;
        power-domains = < 0x4b 0x08 >;
        linux,phandle = < 0x4c >;
        phandle = < 0x4c >;
    };

    iommu@ff350800 {
        compatible = "rockchip,iommu";
        reg = < 0x00 0xff350800 0x00 0x40 >;
        interrupts = < 0x00 0x0b 0x04 >;
        interrupt-names = "vpu_mmu";
        clock-names = "aclk\0hclk";
        clocks = < 0x02 0x8f 0x02 0x146 >;
        power-domains = < 0x4b 0x08 >;
        #iommu-cells = < 0x00 >;
        linux,phandle = < 0x4a >;
        phandle = < 0x4a >;
    };

    avsd@ff351000 {
        compatible = "vpu,sub";
        iommu_enabled = < 0x01 >;
        iommus = < 0x4a >;
        allocator = < 0x01 >;
        reg = < 0x00 0xff351000 0x00 0x200 >;
        interrupts = < 0x00 0x09 0x04 >;
        interrupt-names = "irq_dec";
        power-domains = < 0x4b 0x08 >;
        dev_mode = < 0x00 >;
        linux,phandle = < 0x4d >;
        phandle = < 0x4d >;
    };

    vpu_combo {
        compatible = "rockchip,rk3328-vpu-combo\0rockchip,vpu_combo";
        rockchip,grf = < 0x1c >;
        subcnt = < 0x02 >;
        rockchip,sub = < 0x4c 0x4d >;
        clocks = < 0x02 0x8f 0x02 0x146 >;
        clock-names = "aclk_vcodec\0hclk_vcodec";
        resets = < 0x02 0xa0 0x02 0xa2 >;
        reset-names = "video_a\0video_h";
        mode_bit = < 0x00 >;
        mode_ctrl = < 0x00 >;
        power-domains = < 0x4b 0x08 >;
        status = "okay";
    };

    rkvdec@ff36000 {
        compatible = "rockchip,rk3328-rkvdec\0rockchip,rkvdec";
        reg = < 0x00 0xff360000 0x00 0x400 >;
        interrupts = < 0x00 0x07 0x04 >;
        interrupt-names = "irq_dec";
        clocks = < 0x02 0x8b 0x02 0x142 0x02 0x41 0x02 0x42 >;
        clock-names = "aclk_vcodec\0hclk_vcodec\0clk_cabac\0clk_core";
        resets = < 0x02 0xa4 0x02 0xa6 0x02 0xa5 0x02 0xa7 0x02 0xa9 0x02 0xa8 >;
        reset-names = "video_a\0video_h\0niu_a\0niu_h\0video_cabac\0video_core";
        rockchip,grf = < 0x1c >;
        iommus = < 0x4e >;
        allocator = < 0x01 >;
        power-domains = < 0x4b 0x05 >;
        operating-points-v2 = < 0x4f >;
        #cooling-cells = < 0x02 >;
        devfreq = < 0x32 >;
        status = "okay";
        vcodec-supply = < 0x48 >;
        linux,phandle = < 0x31 >;
        phandle = < 0x31 >;

        vcodec_power_model {
            compatible = "vcodec_power_model";
            dynamic-power-coefficient = < 0x78 >;
            static-power-coefficient = < 0xc8 >;
            ts = < 0x7d00 0x125c 0xffffffb0 0x02 >;
            thermal-zone = "soc-thermal";
        };
    };

    rkvdec-opp-table {
        compatible = "operating-points-v2";
        rockchip,leakage-voltage-sel = < 0x01 0x08 0x00 0x09 0xfe 0x01 >;
        nvmem-cells = < 0x49 >;
        nvmem-cell-names = "rkvdec_leakage";
        linux,phandle = < 0x4f >;
        phandle = < 0x4f >;

        opp-100000000 {
            opp-hz = < 0x00 0x5f5e100 >;
            opp-microvolt = < 0xee098 >;
            opp-microvolt-L0 = < 0xee098 >;
            opp-microvolt-L1 = < 0xe7ef0 >;
        };

        opp-200000000 {
            opp-hz = < 0x00 0xbebc200 >;
            opp-microvolt = < 0xee098 >;
            opp-microvolt-L0 = < 0xee098 >;
            opp-microvolt-L1 = < 0xe7ef0 >;
        };

        opp-500000000 {
            opp-hz = < 0x00 0x1dcd6500 >;
            opp-microvolt = < 0x106738 >;
            opp-microvolt-L0 = < 0x106738 >;
            opp-microvolt-L1 = < 0x100590 >;
        };
    };

    iommu@ff360480 {
        compatible = "rockchip,iommu";
        reg = < 0x00 0xff360480 0x00 0x40 0x00 0xff3604c0 0x00 0x40 >;
        interrupts = < 0x00 0x4a 0x04 >;
        interrupt-names = "rkvdec_mmu";
        clocks = < 0x02 0x8b 0x02 0x142 >;
        clock-names = "aclk_vcodec\0hclk_vcodec";
        power-domains = < 0x4b 0x05 >;
        #iommu-cells = < 0x00 >;
        linux,phandle = < 0x4e >;
        phandle = < 0x4e >;
    };

    h265e@ff330000 {
        compatible = "rockchip,h265e";
        rockchip,grf = < 0x1c >;
        iommu_enabled = < 0x01 >;
        iommus = < 0x50 >;
        reg = < 0x00 0xff330000 0x00 0x200 >;
        interrupts = < 0x00 0x5f 0x04 >;
        clocks = < 0x02 0x93 0x02 0xdd 0x02 0x44 0x02 0x43 0x02 0x8c 0x02 0x82 >;
        clock-names = "aclk_h265\0pclk_h265\0clk_core\0clk_dsp\0aclk_venc\0aclk_axi2sram";
        rockchip,srv = < 0x51 >;
        mode_bit = < 0x0b >;
        mode_ctrl = < 0x40c >;
        allocator = < 0x01 >;
        power-domains = < 0x4b 0x06 >;
        status = "okay";
    };

    iommu@ff330200 {
        compatible = "rockchip,iommu";
        reg = < 0x00 0xff330200 0x00 0x100 >;
        interrupts = < 0x00 0x60 0x04 >;
        interrupt-names = "h265e_mmu";
        clocks = < 0x02 0x93 0x02 0xdd >;
        clock-names = "aclk\0hclk";
        power-domains = < 0x4b 0x06 >;
        #iommu-cells = < 0x00 >;
        linux,phandle = < 0x50 >;
        phandle = < 0x50 >;
    };

    vepu@ff340000 {
        compatible = "rockchip,rk3328-vepu\0rockchip,vepu";
        rockchip,grf = < 0x1c >;
        iommu_enabled = < 0x01 >;
        iommus = < 0x52 >;
        reg = < 0x00 0xff340000 0x00 0x400 >;
        interrupts = < 0x00 0x61 0x04 >;
        clocks = < 0x02 0x94 0x02 0x14a 0x02 0x44 >;
        clock-names = "aclk_vcodec\0hclk_vcodec\0clk_core";
        resets = < 0x02 0xb7 0x02 0xb6 >;
        reset-names = "video_h\0video_a";
        rockchip,srv = < 0x51 >;
        mode_bit = < 0x0b >;
        mode_ctrl = < 0x40c >;
        allocator = < 0x01 >;
        power-domains = < 0x4b 0x06 >;
        status = "okay";
    };

    iommu@ff340800 {
        compatible = "rockchip,iommu";
        reg = < 0x00 0xff340800 0x00 0x40 >;
        interrupts = < 0x00 0x62 0x04 >;
        interrupt-names = "vepu_mmu";
        clocks = < 0x02 0x94 0x02 0x14a >;
        clock-names = "aclk\0hclk";
        power-domains = < 0x4b 0x06 >;
        #iommu-cells = < 0x00 >;
        linux,phandle = < 0x52 >;
        phandle = < 0x52 >;
    };

    venc_srv {
        compatible = "rockchip,mpp_service";
        linux,phandle = < 0x51 >;
        phandle = < 0x51 >;
    };

    vop@ff370000 {
        compatible = "rockchip,rk3328-vop";
        reg = < 0x00 0xff370000 0x00 0x3efc >;
        interrupts = < 0x00 0x20 0x04 >;
        clocks = < 0x02 0x91 0x02 0x78 0x02 0x13b >;
        clock-names = "aclk_vop\0dclk_vop\0hclk_vop";
        resets = < 0x02 0x85 0x02 0x86 0x02 0x87 >;
        reset-names = "axi\0ahb\0dclk";
        iommus = < 0x53 >;
        status = "okay";

        port {
            #address-cells = < 0x01 >;
            #size-cells = < 0x00 >;
            linux,phandle = < 0x5e >;
            phandle = < 0x5e >;

            endpoint@0 {
                reg = < 0x00 >;
                remote-endpoint = < 0x54 >;
                linux,phandle = < 0x5c >;
                phandle = < 0x5c >;
            };

            endpoint@1 {
                reg = < 0x01 >;
                remote-endpoint = < 0x55 >;
                linux,phandle = < 0x5d >;
                phandle = < 0x5d >;
            };
        };
    };

    iommu@ff373f00 {
        compatible = "rockchip,iommu";
        reg = < 0x00 0xff373f00 0x00 0x100 >;
        interrupts = < 0x00 0x20 0x04 >;
        interrupt-names = "vop_mmu";
        clocks = < 0x02 0x91 0x02 0x13b >;
        clock-names = "aclk\0hclk";
        #iommu-cells = < 0x00 >;
        status = "okay";
        linux,phandle = < 0x53 >;
        phandle = < 0x53 >;
    };

    rga@ff3900000 {
        compatible = "rockchip,rga2";
        dev_mode = < 0x01 >;
        reg = < 0x00 0xff390000 0x00 0x1000 >;
        interrupts = < 0x00 0x21 0x04 >;
        clocks = < 0x02 0x9a 0x02 0x154 0x02 0x45 >;
        clock-names = "aclk_rga\0hclk_rga\0clk_rga";
        dma-coherent;
        status = "okay";
    };

    iep@ff3a0000 {
        compatible = "rockchip,iep";
        iommu_enabled = < 0x01 >;
        iommus = < 0x56 >;
        reg = < 0x00 0xff3a0000 0x00 0x800 >;
        interrupts = < 0x00 0x1f 0x04 >;
        clocks = < 0x02 0x9b 0x02 0x153 >;
        clock-names = "aclk_iep\0hclk_iep";
        power-domains = < 0x4b 0x05 >;
        allocator = < 0x01 >;
        version = < 0x02 >;
        status = "okay";
    };

    iommu@ff3a0800 {
        compatible = "rockchip,iommu";
        reg = < 0x00 0xff3a0800 0x00 0x40 >;
        interrupts = < 0x00 0x1f 0x04 >;
        interrupt-names = "iep_mmu";
        clocks = < 0x02 0x9b 0x02 0x153 >;
        clock-names = "aclk\0hclk";
        power-domains = < 0x4b 0x05 >;
        #iommu-cells = < 0x00 >;
        status = "okay";
        linux,phandle = < 0x56 >;
        phandle = < 0x56 >;
    };

    hdmi@ff3c0000 {
        compatible = "rockchip,rk3328-dw-hdmi";
        reg = < 0x00 0xff3c0000 0x00 0x20000 >;
        reg-io-width = < 0x04 >;
        interrupts = < 0x00 0x23 0x04 0x00 0x47 0x04 >;
        clocks = < 0x02 0xe7 0x02 0x46 0x02 0x1e 0x02 0x147 >;
        clock-names = "iahb\0isfr\0cec\0hclk_vio";
        phys = < 0x57 >;
        phy-names = "hdmi_phy";
        pinctrl-names = "default\0gpio";
        pinctrl-0 = < 0x58 0x59 0x5a >;
        pinctrl-1 = < 0x5b >;
        resets = < 0x02 0x8f 0x02 0x51 >;
        reset-names = "hdmi\0hdmiphy";
        rockchip,grf = < 0x1c >;
        status = "okay";
        #sound-dai-cells = < 0x00 >;
        ddc-i2c-scl-high-time-ns = < 0x2599 >;
        ddc-i2c-scl-low-time-ns = < 0x2710 >;
        linux,phandle = < 0x8f >;
        phandle = < 0x8f >;

        ports {

            port {
                #address-cells = < 0x01 >;
                #size-cells = < 0x00 >;

                endpoint@0 {
                    reg = < 0x00 >;
                    remote-endpoint = < 0x5c >;
                    linux,phandle = < 0x54 >;
                    phandle = < 0x54 >;
                };
            };
        };
    };

    tve@ff373e00 {
        compatible = "rockchip,rk3328-tve";
        reg = < 0x00 0xff373e00 0x00 0x100 0x00 0xff420000 0x00 0x10000 >;
        rockchip,saturation = < 0x376749 >;
        rockchip,brightcontrast = < 0xa305 >;
        rockchip,adjtiming = < 0xb6c00880 >;
        rockchip,lumafilter0 = < 0x1ff0000 >;
        rockchip,lumafilter1 = < 0xf40200fe >;
        rockchip,lumafilter2 = < 0xf332d70c >;
        rockchip,daclevel = < 0x22 >;
        rockchip,dac1level = < 0x07 >;
        status = "okay";

        ports {

            port {
                #address-cells = < 0x01 >;
                #size-cells = < 0x00 >;

                endpoint@0 {
                    reg = < 0x00 >;
                    remote-endpoint = < 0x5d >;
                    linux,phandle = < 0x55 >;
                    phandle = < 0x55 >;
                };
            };
        };
    };

    display-subsystem {
        compatible = "rockchip,display-subsystem";
        ports = < 0x5e >;
        status = "okay";
        logo-memory-region = < 0x5f >;
        secure-memory-region = < 0x60 >;

        route {

            route-hdmi {
                status = "okay";
                logo,uboot = "logo.bmp";
                logo,kernel = "logo_kernel.bmp";
                logo,mode = "fullscreen";
                charge_logo,mode = "fullscreen";
                connect = < 0x5c >;
            };

            route-tve {
                status = "okay";
                logo,uboot = "logo.bmp";
                logo,kernel = "logo_kernel.bmp";
                logo,mode = "fullscreen";
                charge_logo,mode = "fullscreen";
                connect = < 0x5d >;
            };
        };
    };

    codec@ff410000 {
        compatible = "rockchip,rk3328-codec";
        reg = < 0x00 0xff410000 0x00 0x1000 >;
        rockchip,grf = < 0x1c >;
        clocks = < 0x02 0xeb 0x02 0x2a >;
        clock-names = "pclk\0mclk";
        status = "okay";
        #sound-dai-cells = < 0x00 >;
        linux,phandle = < 0x8d >;
        phandle = < 0x8d >;
    };

    hdmiphy@ff430000 {
        compatible = "rockchip,rk3328-hdmi-phy";
        reg = < 0x00 0xff430000 0x00 0x10000 >;
        interrupts = < 0x00 0x53 0x04 >;
        #phy-cells = < 0x00 >;
        clocks = < 0x02 0xe4 0x61 >;
        clock-names = "sysclk\0refclk";
        #clock-cells = < 0x00 >;
        clock-output-names = "hdmi_phy";
        status = "okay";
        linux,phandle = < 0x57 >;
        phandle = < 0x57 >;
    };

    clock-controller@ff440000 {
        compatible = "rockchip,rk3328-cru\0rockchip,cru\0syscon";
        reg = < 0x00 0xff440000 0x00 0x1000 >;
        rockchip,grf = < 0x1c >;
        #clock-cells = < 0x01 >;
        #reset-cells = < 0x01 >;
        assigned-clocks = < 0x02 0x78 0x02 0x3d 0x02 0x1e 0x02 0x26 0x02 0x27 0x02 0x28 0x02 0x88 0x02 0x89 0x02 0x85 0x02 0x8a 0x02 0x8c 0x02 0x8d 0x02 0x41 0x02 0x42 0x02 0x44 0x02 0x43 0x02 0x22 0x02 0x5c 0x02 0x35 0x02 0x06 0x02 0x04 0x02 0x03 0x02 0x88 0x02 0x148 0x02 0xd8 0x02 0x89 0x02 0x134 0x02 0xe6 0x02 0x8e 0x02 0x145 0x02 0x85 0x02 0x45 0x02 0x83 0x02 0x8a 0x02 0x8c 0x02 0x8d 0x02 0x41 0x02 0x42 0x02 0x44 0x02 0x43 0x02 0x3e 0x02 0xe5 0x02 0x92 0x02 0xdc 0x02 0x1e 0x02 0x61 >;
        assigned-clock-parents = < 0x02 0x7a 0x02 0x01 0x02 0x04 0x61 0x61 0x61 >;
        assigned-clock-rates = < 0x00 0x3a98000 0x00 0x16e3600 0x16e3600 0x16e3600 0xe4e1c0 0xe4e1c0 0x5f5e100 0x5f5e100 0x2faf080 0x5f5e100 0x5f5e100 0x5f5e100 0x2faf080 0x2faf080 0x2faf080 0x2faf080 0x16e3600 0x23c34600 0x1d4c0000 0x47868c00 0x8f0d180 0x47868c0 0x47868c0 0x8f0d180 0x47868c0 0x47868c0 0x11e1a300 0x5f5e100 0x11e1a300 0xbebc200 0x17d78400 0x1dcd6500 0xbebc200 0x11e1a300 0x11e1a300 0xee6b280 0xbebc200 0x5f5e100 0x16e3600 0x5f5e100 0x8f0d180 0x2faf080 0x8000 0x8000 >;
        linux,phandle = < 0x02 >;
        phandle = < 0x02 >;
    };

    syscon@ff450000 {
        compatible = "rockchip,rk3328-usb2phy-grf\0syscon\0simple-mfd";
        reg = < 0x00 0xff450000 0x00 0x10000 >;
        #address-cells = < 0x01 >;
        #size-cells = < 0x01 >;

        usb2-phy@100 {
            compatible = "rockchip,rk3328-usb2phy";
            reg = < 0x100 0x10 >;
            clocks = < 0x61 >;
            clock-names = "phyclk";
            #clock-cells = < 0x00 >;
            assigned-clocks = < 0x02 0x7b >;
            assigned-clock-parents = < 0x62 >;
            clock-output-names = "usb480m_phy";
            status = "okay";
            linux,phandle = < 0x62 >;
            phandle = < 0x62 >;

            host-port {
                #phy-cells = < 0x00 >;
                interrupts = < 0x00 0x3e 0x04 >;
                interrupt-names = "linestate";
                status = "okay";
                linux,phandle = < 0x77 >;
                phandle = < 0x77 >;
            };

            otg-port {
                #phy-cells = < 0x00 >;
                interrupts = < 0x00 0x3b 0x04 0x00 0x3c 0x04 0x00 0x3d 0x04 >;
                interrupt-names = "otg-bvalid\0otg-id\0linestate";
                status = "disabled";
                linux,phandle = < 0x76 >;
                phandle = < 0x76 >;
            };
        };
    };

    syscon@ff460000 {
        compatible = "rockchip,usb3phy-grf\0syscon";
        reg = < 0x00 0xff460000 0x00 0x1000 >;
        linux,phandle = < 0x63 >;
        phandle = < 0x63 >;
    };

    usb3-phy@ff470000 {
        compatible = "rockchip,rk3328-u3phy";
        reg = < 0x00 0xff470000 0x00 0x00 >;
        rockchip,u3phygrf = < 0x63 >;
        rockchip,grf = < 0x1c >;
        interrupts = < 0x00 0x4d 0x04 >;
        interrupt-names = "linestate";
        clocks = < 0x02 0xe0 0x02 0xe1 >;
        clock-names = "u3phy-otg\0u3phy-pipe";
        resets = < 0x02 0x7d 0x02 0x7e 0x02 0x7f 0x02 0x7c 0x02 0x9e 0x02 0x9f >;
        reset-names = "u3phy-u2-por\0u3phy-u3-por\0u3phy-pipe-mac\0u3phy-utmi-mac\0u3phy-utmi-apb\0u3phy-pipe-apb";
        #address-cells = < 0x02 >;
        #size-cells = < 0x02 >;
        ranges;
        status = "okay";
        vbus-supply = < 0x64 >;

        utmi@ff470000 {
            reg = < 0x00 0xff470000 0x00 0x8000 >;
            #phy-cells = < 0x00 >;
            status = "okay";
            linux,phandle = < 0x78 >;
            phandle = < 0x78 >;
        };

        pipe@ff478000 {
            reg = < 0x00 0xff478000 0x00 0x8000 >;
            #phy-cells = < 0x00 >;
            status = "okay";
            linux,phandle = < 0x79 >;
            phandle = < 0x79 >;
        };
    };

    dwmmc@ff500000 {
        compatible = "rockchip,rk3328-dw-mshc\0rockchip,rk3288-dw-mshc";
        reg = < 0x00 0xff500000 0x00 0x4000 >;
        clock-freq-min-max = < 0x61a80 0x8f0d180 >;
        clocks = < 0x02 0x13d 0x02 0x21 0x02 0x4a 0x02 0x4e >;
        clock-names = "biu\0ciu\0ciu-drv\0ciu-sample";
        fifo-depth = < 0x100 >;
        interrupts = < 0x00 0x0c 0x04 >;
        status = "okay";
        bus-width = < 0x04 >;
        cap-mmc-highspeed;
        cap-sd-highspeed;
        card-detect-delay = < 0xc8 >;
        disable-wp;
        max-frequency = < 0x8f0d180 >;
        num-slots = < 0x01 >;
        pinctrl-names = "default";
        pinctrl-0 = < 0x65 0x66 0x67 0x68 >;
        supports-sd;
    };

    dwmmc@ff510000 {
        compatible = "rockchip,rk3328-dw-mshc\0rockchip,rk3288-dw-mshc";
        reg = < 0x00 0xff510000 0x00 0x4000 >;
        clock-freq-min-max = < 0x61a80 0x8f0d180 >;
        clocks = < 0x02 0x13e 0x02 0x22 0x02 0x4b 0x02 0x4f >;
        clock-names = "biu\0ciu\0ciu-drv\0ciu-sample";
        fifo-depth = < 0x100 >;
        interrupts = < 0x00 0x0d 0x04 >;
        status = "okay";
        bus-width = < 0x04 >;
        cap-sd-highspeed;
        cap-sdio-irq;
        disable-wp;
        keep-power-in-suspend;
        max-frequency = < 0x7735940 >;
        mmc-pwrseq = < 0x69 >;
        non-removable;
        num-slots = < 0x01 >;
        pinctrl-names = "default";
        pinctrl-0 = < 0x6a 0x6b 0x6c >;
        supports-sdio;
        sd-uhs-sdr104;
    };

    dwmmc@ff520000 {
        compatible = "rockchip,rk3328-dw-mshc\0rockchip,rk3288-dw-mshc";
        reg = < 0x00 0xff520000 0x00 0x4000 >;
        clock-freq-min-max = < 0x30d40 0x2faf080 >;
        clocks = < 0x02 0x13f 0x02 0x23 0x02 0x4c 0x02 0x50 >;
        clock-names = "biu\0ciu\0ciu-drv\0ciu-sample";
        fifo-depth = < 0x100 >;
        interrupts = < 0x00 0x0e 0x04 >;
        status = "okay";
        bus-width = < 0x08 >;
        cap-mmc-highspeed;
        supports-emmc;
        disable-wp;
        non-removable;
        num-slots = < 0x01 >;
        pinctrl-names = "default";
        pinctrl-0 = < 0x6d 0x6e 0x6f >;
    };

    ethernet@ff540000 {
        compatible = "rockchip,rk3328-gmac";
        reg = < 0x00 0xff540000 0x00 0x10000 >;
        rockchip,grf = < 0x1c >;
        interrupts = < 0x00 0x18 0x04 >;
        interrupt-names = "macirq";
        clocks = < 0x02 0x64 0x02 0x57 0x02 0x58 0x02 0x5a 0x02 0x59 0x02 0x96 0x02 0xdf >;
        clock-names = "stmmaceth\0mac_clk_rx\0mac_clk_tx\0clk_mac_ref\0clk_mac_refout\0aclk_mac\0pclk_mac";
        resets = < 0x02 0x63 >;
        reset-names = "stmmaceth";
        status = "disabled";
        phy-supply = < 0x70 >;
        phy-mode = "rgmii";
        clock_in_out = "input";
        snps,reset-gpio = < 0x71 0x12 0x01 >;
        snps,reset-active-low;
        snps,reset-delays-us = < 0x00 0x2710 0xc350 >;
        assigned-clocks = < 0x02 0x64 0x02 0x66 >;
        assigned-clock-parents = < 0x72 0x72 >;
        pinctrl-names = "default";
        pinctrl-0 = < 0x73 >;
        tx_delay = < 0x26 >;
        rx_delay = < 0x11 >;
    };

    ethernet@ff550000 {
        compatible = "rockchip,rk3328-gmac";
        reg = < 0x00 0xff550000 0x00 0x10000 >;
        rockchip,grf = < 0x1c >;
        interrupts = < 0x00 0x15 0x04 >;
        interrupt-names = "macirq";
        clocks = < 0x02 0x54 0x02 0x53 0x02 0x53 0x02 0x55 0x02 0x95 0x02 0xde 0x02 0x56 >;
        clock-names = "stmmaceth\0mac_clk_rx\0mac_clk_tx\0clk_mac_ref\0aclk_mac\0pclk_mac\0clk_macphy";
        resets = < 0x02 0x62 0x02 0x64 >;
        reset-names = "stmmaceth\0mac-phy";
        phy-mode = "rmii";
        phy-is-integrated;
        pinctrl-names = "default";
        pinctrl-0 = < 0x74 0x75 >;
        status = "okay";
        phy-supply = < 0x70 >;
        clock_in_out = "output";
        assigned-clocks = < 0x02 0x65 >;
        assigned-clock-rate = < 0x2faf080 >;
        assigned-clock-parents = < 0x02 0x54 >;
    };

    usb@ff580000 {
        compatible = "rockchip,rk3328-usb\0rockchip,rk3066-usb\0snps,dwc2";
        reg = < 0x00 0xff580000 0x00 0x40000 >;
        interrupts = < 0x00 0x17 0x04 >;
        clocks = < 0x02 0x14d 0x02 0x14c >;
        clock-names = "otg\0otg_pmu";
        dr_mode = "host";
        g-np-tx-fifo-size = < 0x10 >;
        g-rx-fifo-size = < 0x113 >;
        g-tx-fifo-size = < 0x100 0x80 0x80 0x40 0x40 0x20 >;
        g-use-dma;
        phys = < 0x76 >;
        phy-names = "usb2-phy";
        status = "okay";
    };

    usb@ff5c0000 {
        compatible = "generic-ehci";
        reg = < 0x00 0xff5c0000 0x00 0x10000 >;
        interrupts = < 0x00 0x10 0x04 >;
        clocks = < 0x02 0x14e 0x02 0x14f 0x62 >;
        clock-names = "usbhost\0arbiter\0utmi";
        phys = < 0x77 >;
        phy-names = "usb";
        status = "okay";
    };

    usb@ff5d0000 {
        compatible = "generic-ohci";
        reg = < 0x00 0xff5d0000 0x00 0x10000 >;
        interrupts = < 0x00 0x11 0x04 >;
        clocks = < 0x02 0x14e 0x02 0x14f 0x62 >;
        clock-names = "usbhost\0arbiter\0utmi";
        phys = < 0x77 >;
        phy-names = "usb";
        status = "okay";
    };

    dwmmc@ff5f0000 {
        compatible = "rockchip,rk3328-dw-mshc\0rockchip,rk3288-dw-mshc";
        reg = < 0x00 0xff5f0000 0x00 0x4000 >;
        clock-freq-min-max = < 0x61a80 0x8f0d180 >;
        clocks = < 0x02 0x140 0x02 0x1f 0x02 0x4d 0x02 0x51 >;
        clock-names = "biu\0ciu\0ciu-drv\0ciu-sample";
        fifo-depth = < 0x100 >;
        interrupts = < 0x00 0x04 0x04 >;
        status = "disabled";
    };

    usb@ff600000 {
        compatible = "rockchip,rk3328-dwc3";
        clocks = < 0x02 0x60 0x02 0x61 0x02 0x84 >;
        clock-names = "ref_clk\0suspend_clk\0bus_clk";
        #address-cells = < 0x02 >;
        #size-cells = < 0x02 >;
        ranges;
        status = "okay";

        dwc3@ff600000 {
            compatible = "snps,dwc3";
            reg = < 0x00 0xff600000 0x00 0x100000 >;
            interrupts = < 0x00 0x43 0x04 >;
            dr_mode = "host";
            phys = < 0x78 0x79 >;
            phy-names = "usb2-phy\0usb3-phy";
            phy_type = "utmi_wide";
            snps,dis_enblslpm_quirk;
            snps,dis-u2-freeclk-exists-quirk;
            snps,dis_u2_susphy_quirk;
            snps,dis-u3-autosuspend-quirk;
            snps,dis_u3_susphy_quirk;
            snps,dis-del-phy-power-chg-quirk;
            snps,tx-ipgap-linecheck-dis-quirk;
            status = "okay";
        };
    };

    qos@ff750000 {
        compatible = "syscon";
        reg = < 0x00 0xff750000 0x00 0x20 >;
        linux,phandle = < 0x2b >;
        phandle = < 0x2b >;
    };

    qos@ff750080 {
        compatible = "syscon";
        reg = < 0x00 0xff750080 0x00 0x20 >;
        linux,phandle = < 0x2c >;
        phandle = < 0x2c >;
    };

    qos@ff778000 {
        compatible = "syscon";
        reg = < 0x00 0xff778000 0x00 0x20 >;
        linux,phandle = < 0x2d >;
        phandle = < 0x2d >;
    };

    dfi@ff790000 {
        reg = < 0x00 0xff790000 0x00 0x400 >;
        compatible = "rockchip,rk3328-dfi";
        rockchip,grf = < 0x1c >;
        status = "okay";
        linux,phandle = < 0x7a >;
        phandle = < 0x7a >;
    };

    dmc {
        compatible = "rockchip,rk3328-dmc";
        devfreq-events = < 0x7a >;
        clocks = < 0x02 0x40 >;
        clock-names = "dmc_clk";
        operating-points-v2 = < 0x7b >;
        ddr_timing = < 0x7c >;
        upthreshold = < 0x28 >;
        downdifferential = < 0x14 >;
        system-status-freq = < 0x01 0xc3500 0x08 0xc3500 0x02 0xc3500 0x20 0xc3500 0x10 0xc3500 0x10000 0xc3500 0x2000 0xc3500 0x1000 0xc3500 >;
        auto-min-freq = < 0xc3500 >;
        auto-freq-en = < 0x00 >;
        #cooling-cells = < 0x02 >;
        status = "okay";
        center-supply = < 0x48 >;
        linux,phandle = < 0x32 >;
        phandle = < 0x32 >;

        ddr_power_model {
            compatible = "ddr_power_model";
            dynamic-power-coefficient = < 0x78 >;
            static-power-coefficient = < 0xc8 >;
            ts = < 0x7d00 0x125c 0xffffffb0 0x02 >;
            thermal-zone = "soc-thermal";
        };
    };

    dmc-opp-table {
        compatible = "operating-points-v2";
        rockchip,leakage-voltage-sel = < 0x01 0x08 0x00 0x09 0xfe 0x01 >;
        nvmem-cells = < 0x49 >;
        nvmem-cell-names = "ddr_leakage";
        linux,phandle = < 0x7b >;
        phandle = < 0x7b >;

        opp-400000000 {
            opp-hz = < 0x00 0x17d78400 >;
            opp-microvolt = < 0x106738 >;
            opp-microvolt-L0 = < 0x106738 >;
            opp-microvolt-L1 = < 0x106738 >;
            status = "disabled";
        };

        opp-600000000 {
            opp-hz = < 0x00 0x23c34600 >;
            opp-microvolt = < 0x106738 >;
            opp-microvolt-L0 = < 0x106738 >;
            opp-microvolt-L1 = < 0x106738 >;
            status = "okay";
        };

        opp-786000000 {
            opp-hz = < 0x00 0x2ed96880 >;
            opp-microvolt = < 0x106738 >;
            opp-microvolt-L0 = < 0x106738 >;
            opp-microvolt-L1 = < 0x106738 >;
            status = "okay";
        };

        opp-800000000 {
            opp-hz = < 0x00 0x2faf0800 >;
            opp-microvolt = < 0x106738 >;
            opp-microvolt-L0 = < 0x106738 >;
            opp-microvolt-L1 = < 0x106738 >;
            status = "okay";
        };

        opp-850000000 {
            opp-hz = < 0x00 0x32a9f880 >;
            opp-microvolt = < 0x106738 >;
            opp-microvolt-L0 = < 0x106738 >;
            opp-microvolt-L1 = < 0x100590 >;
            status = "disabled";
        };
    };

    interrupt-controller@ff811000 {
        compatible = "arm,gic-400";
        #interrupt-cells = < 0x03 >;
        #address-cells = < 0x00 >;
        interrupt-controller;
        reg = < 0x00 0xff811000 0x00 0x1000 0x00 0xff812000 0x00 0x2000 0x00 0xff814000 0x00 0x2000 0x00 0xff816000 0x00 0x2000 >;
        interrupts = < 0x01 0x09 0xf04 >;
        linux,phandle = < 0x01 >;
        phandle = < 0x01 >;
    };

    pinctrl {
        compatible = "rockchip,rk3328-pinctrl";
        rockchip,grf = < 0x1c >;
        #address-cells = < 0x02 >;
        #size-cells = < 0x02 >;
        ranges;
        pinctrl-names = "default";
        pinctrl-0 = < 0x7d >;

        gpio0@ff210000 {
            compatible = "rockchip,gpio-bank";
            reg = < 0x00 0xff210000 0x00 0x100 >;
            interrupts = < 0x00 0x33 0x04 >;
            clocks = < 0x02 0xc8 >;
            gpio-controller;
            #gpio-cells = < 0x02 >;
            interrupt-controller;
            #interrupt-cells = < 0x02 >;
            linux,phandle = < 0x92 >;
            phandle = < 0x92 >;
        };

        gpio1@ff220000 {
            compatible = "rockchip,gpio-bank";
            reg = < 0x00 0xff220000 0x00 0x100 >;
            interrupts = < 0x00 0x34 0x04 >;
            clocks = < 0x02 0xc9 >;
            gpio-controller;
            #gpio-cells = < 0x02 >;
            interrupt-controller;
            #interrupt-cells = < 0x02 >;
            linux,phandle = < 0x71 >;
            phandle = < 0x71 >;
        };

        gpio2@ff230000 {
            compatible = "rockchip,gpio-bank";
            reg = < 0x00 0xff230000 0x00 0x100 >;
            interrupts = < 0x00 0x35 0x04 >;
            clocks = < 0x02 0xca >;
            gpio-controller;
            #gpio-cells = < 0x02 >;
            interrupt-controller;
            #interrupt-cells = < 0x02 >;
            linux,phandle = < 0x8a >;
            phandle = < 0x8a >;
        };

        gpio3@ff240000 {
            compatible = "rockchip,gpio-bank";
            reg = < 0x00 0xff240000 0x00 0x100 >;
            interrupts = < 0x00 0x36 0x04 >;
            clocks = < 0x02 0xcb >;
            gpio-controller;
            #gpio-cells = < 0x02 >;
            interrupt-controller;
            #interrupt-cells = < 0x02 >;
        };

        pcfg-pull-up {
            bias-pull-up;
            linux,phandle = < 0x7f >;
            phandle = < 0x7f >;
        };

        pcfg-pull-down {
            bias-pull-down;
            linux,phandle = < 0x88 >;
            phandle = < 0x88 >;
        };

        pcfg-pull-none {
            bias-disable;
            linux,phandle = < 0x7e >;
            phandle = < 0x7e >;
        };

        pcfg-pull-none-2ma {
            bias-disable;
            drive-strength = < 0x02 >;
            linux,phandle = < 0x87 >;
            phandle = < 0x87 >;
        };

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

        pcfg-pull-up-4ma {
            bias-pull-up;
            drive-strength = < 0x04 >;
            linux,phandle = < 0x81 >;
            phandle = < 0x81 >;
        };

        pcfg-pull-none-4ma {
            bias-disable;
            drive-strength = < 0x04 >;
            linux,phandle = < 0x82 >;
            phandle = < 0x82 >;
        };

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

        pcfg-pull-none-8ma {
            bias-disable;
            drive-strength = < 0x08 >;
            linux,phandle = < 0x83 >;
            phandle = < 0x83 >;
        };

        pcfg-pull-up-8ma {
            bias-pull-up;
            drive-strength = < 0x08 >;
            linux,phandle = < 0x84 >;
            phandle = < 0x84 >;
        };

        pcfg-pull-none-12ma {
            bias-disable;
            drive-strength = < 0x0c >;
            linux,phandle = < 0x85 >;
            phandle = < 0x85 >;
        };

        pcfg-pull-up-12ma {
            bias-pull-up;
            drive-strength = < 0x0c >;
            linux,phandle = < 0x86 >;
            phandle = < 0x86 >;
        };

        pcfg-output-high {
            output-high;
        };

        pcfg-output-low {
            output-low;
        };

        pcfg-input-high {
            bias-pull-up;
            input-enable;
            linux,phandle = < 0x80 >;
            phandle = < 0x80 >;
        };

        pcfg-input {
            input-enable;
        };

        i2c0 {

            i2c0-xfer {
                rockchip,pins = < 0x02 0x18 0x01 0x7e 0x02 0x19 0x01 0x7e >;
                linux,phandle = < 0x3b >;
                phandle = < 0x3b >;
            };
        };

        i2c1 {

            i2c1-xfer {
                rockchip,pins = < 0x02 0x04 0x02 0x7e 0x02 0x05 0x02 0x7e >;
                linux,phandle = < 0x3c >;
                phandle = < 0x3c >;
            };
        };

        i2c2 {

            i2c2-xfer {
                rockchip,pins = < 0x02 0x0d 0x01 0x7e 0x02 0x0e 0x01 0x7e >;
                linux,phandle = < 0x3d >;
                phandle = < 0x3d >;
            };
        };

        i2c3 {

            i2c3-xfer {
                rockchip,pins = < 0x00 0x05 0x02 0x7e 0x00 0x06 0x02 0x7e >;
                linux,phandle = < 0x3e >;
                phandle = < 0x3e >;
            };

            i2c3-gpio {
                rockchip,pins = < 0x00 0x05 0x00 0x7e 0x00 0x06 0x00 0x7e >;
                linux,phandle = < 0x5b >;
                phandle = < 0x5b >;
            };
        };

        tsp {

            tsp-d0 {
                rockchip,pins = < 0x03 0x04 0x01 0x7e >;
                linux,phandle = < 0x1d >;
                phandle = < 0x1d >;
            };

            tsp-d1 {
                rockchip,pins = < 0x03 0x05 0x01 0x7e >;
                linux,phandle = < 0x1e >;
                phandle = < 0x1e >;
            };

            tsp-d2 {
                rockchip,pins = < 0x03 0x06 0x01 0x7e >;
                linux,phandle = < 0x1f >;
                phandle = < 0x1f >;
            };

            tsp-d3 {
                rockchip,pins = < 0x03 0x07 0x01 0x7e >;
                linux,phandle = < 0x20 >;
                phandle = < 0x20 >;
            };

            tsp-d4 {
                rockchip,pins = < 0x03 0x08 0x01 0x7e >;
                linux,phandle = < 0x21 >;
                phandle = < 0x21 >;
            };

            tsp-d5 {
                rockchip,pins = < 0x02 0x10 0x03 0x7e >;
                linux,phandle = < 0x22 >;
                phandle = < 0x22 >;
            };

            tsp-d6 {
                rockchip,pins = < 0x02 0x11 0x03 0x7e >;
                linux,phandle = < 0x23 >;
                phandle = < 0x23 >;
            };

            tsp-d7 {
                rockchip,pins = < 0x02 0x12 0x03 0x7e >;
                linux,phandle = < 0x24 >;
                phandle = < 0x24 >;
            };

            tsp-sync {
                rockchip,pins = < 0x02 0x0f 0x03 0x7e >;
                linux,phandle = < 0x25 >;
                phandle = < 0x25 >;
            };

            tsp-clk {
                rockchip,pins = < 0x03 0x02 0x01 0x7e >;
                linux,phandle = < 0x26 >;
                phandle = < 0x26 >;
            };

            tsp-fail {
                rockchip,pins = < 0x03 0x01 0x01 0x7e >;
                linux,phandle = < 0x27 >;
                phandle = < 0x27 >;
            };

            tsp-valid {
                rockchip,pins = < 0x03 0x00 0x01 0x7e >;
                linux,phandle = < 0x28 >;
                phandle = < 0x28 >;
            };
        };

        hdmi_i2c {

            hdmii2c-xfer {
                rockchip,pins = < 0x00 0x05 0x01 0x7e 0x00 0x06 0x01 0x7e >;
                linux,phandle = < 0x59 >;
                phandle = < 0x59 >;
            };
        };

        tsadc {

            otp-gpio {
                rockchip,pins = < 0x02 0x0d 0x00 0x7e >;
                linux,phandle = < 0x33 >;
                phandle = < 0x33 >;
            };

            otp-out {
                rockchip,pins = < 0x02 0x0d 0x01 0x7e >;
                linux,phandle = < 0x34 >;
                phandle = < 0x34 >;
            };
        };

        uart0 {

            uart0-xfer {
                rockchip,pins = < 0x01 0x09 0x01 0x7f 0x01 0x08 0x01 0x7e >;
                linux,phandle = < 0x35 >;
                phandle = < 0x35 >;
            };

            uart0-cts {
                rockchip,pins = < 0x01 0x0b 0x01 0x7e >;
                linux,phandle = < 0x36 >;
                phandle = < 0x36 >;
            };

            uart0-rts {
                rockchip,pins = < 0x01 0x0a 0x01 0x7e >;
                linux,phandle = < 0x94 >;
                phandle = < 0x94 >;
            };

            uart0-rts-gpio {
                rockchip,pins = < 0x01 0x0a 0x00 0x7e >;
            };
        };

        uart1 {

            uart1-xfer {
                rockchip,pins = < 0x03 0x04 0x04 0x7f 0x03 0x06 0x04 0x7e >;
                linux,phandle = < 0x37 >;
                phandle = < 0x37 >;
            };

            uart1-cts {
                rockchip,pins = < 0x03 0x07 0x04 0x7e >;
                linux,phandle = < 0x38 >;
                phandle = < 0x38 >;
            };

            uart1-rts {
                rockchip,pins = < 0x03 0x05 0x04 0x7e >;
                linux,phandle = < 0x39 >;
                phandle = < 0x39 >;
            };

            uart1-rts-gpio {
                rockchip,pins = < 0x03 0x05 0x00 0x7e >;
            };
        };

        uart2-0 {

            uart2m0-xfer {
                rockchip,pins = < 0x01 0x00 0x02 0x7f 0x01 0x01 0x02 0x7e >;
            };
        };

        uart2-1 {

            uart2m1-xfer {
                rockchip,pins = < 0x02 0x00 0x01 0x7f 0x02 0x01 0x01 0x7e >;
                linux,phandle = < 0x3a >;
                phandle = < 0x3a >;
            };
        };

        spi0-0 {

            spi0m0-clk {
                rockchip,pins = < 0x02 0x08 0x01 0x7f >;
            };

            spi0m0-cs0 {
                rockchip,pins = < 0x02 0x0b 0x01 0x7f >;
            };

            spi0m0-tx {
                rockchip,pins = < 0x02 0x09 0x01 0x7f >;
            };

            spi0m0-rx {
                rockchip,pins = < 0x02 0x0a 0x01 0x7f >;
            };

            spi0m0-cs1 {
                rockchip,pins = < 0x02 0x0c 0x01 0x7f >;
            };
        };

        spi0-1 {

            spi0m1-clk {
                rockchip,pins = < 0x03 0x17 0x02 0x7f >;
            };

            spi0m1-cs0 {
                rockchip,pins = < 0x03 0x1a 0x02 0x7f >;
            };

            spi0m1-tx {
                rockchip,pins = < 0x03 0x19 0x02 0x7f >;
            };

            spi0m1-rx {
                rockchip,pins = < 0x03 0x18 0x02 0x7f >;
            };

            spi0m1-cs1 {
                rockchip,pins = < 0x03 0x1b 0x02 0x7f >;
            };
        };

        spi0-2 {

            spi0m2-clk {
                rockchip,pins = < 0x03 0x00 0x04 0x7f >;
                linux,phandle = < 0x3f >;
                phandle = < 0x3f >;
            };

            spi0m2-cs0 {
                rockchip,pins = < 0x03 0x08 0x03 0x7f >;
                linux,phandle = < 0x42 >;
                phandle = < 0x42 >;
            };

            spi0m2-tx {
                rockchip,pins = < 0x03 0x01 0x04 0x7f >;
                linux,phandle = < 0x40 >;
                phandle = < 0x40 >;
            };

            spi0m2-rx {
                rockchip,pins = < 0x03 0x02 0x04 0x7f >;
                linux,phandle = < 0x41 >;
                phandle = < 0x41 >;
            };
        };

        pdm-0 {

            pdmm0-clk {
                rockchip,pins = < 0x02 0x12 0x02 0x7e >;
                linux,phandle = < 0x15 >;
                phandle = < 0x15 >;
            };

            pdmm0-fsync {
                rockchip,pins = < 0x02 0x17 0x02 0x7e >;
                linux,phandle = < 0x16 >;
                phandle = < 0x16 >;
            };

            pdmm0-sdi0 {
                rockchip,pins = < 0x02 0x13 0x02 0x7e >;
                linux,phandle = < 0x17 >;
                phandle = < 0x17 >;
            };

            pdmm0-sdi1 {
                rockchip,pins = < 0x02 0x14 0x02 0x7e >;
                linux,phandle = < 0x18 >;
                phandle = < 0x18 >;
            };

            pdmm0-sdi2 {
                rockchip,pins = < 0x02 0x15 0x02 0x7e >;
                linux,phandle = < 0x19 >;
                phandle = < 0x19 >;
            };

            pdmm0-sdi3 {
                rockchip,pins = < 0x02 0x16 0x02 0x7e >;
                linux,phandle = < 0x1a >;
                phandle = < 0x1a >;
            };

            pdmm0-sleep {
                rockchip,pins = < 0x02 0x12 0x00 0x80 0x02 0x13 0x00 0x80 0x02 0x14 0x00 0x80 0x02 0x15 0x00 0x80 0x02 0x16 0x00 0x80 0x02 0x17 0x00 0x80 >;
                linux,phandle = < 0x1b >;
                phandle = < 0x1b >;
            };
        };

        i2s1 {

            i2s1-mclk {
                rockchip,pins = < 0x02 0x0f 0x01 0x7e >;
            };

            i2s1-sclk {
                rockchip,pins = < 0x02 0x12 0x01 0x7e >;
            };

            i2s1-lrckrx {
                rockchip,pins = < 0x02 0x10 0x01 0x7e >;
            };

            i2s1-lrcktx {
                rockchip,pins = < 0x02 0x11 0x01 0x7e >;
            };

            i2s1-sdi {
                rockchip,pins = < 0x02 0x13 0x01 0x7e >;
            };

            i2s1-sdo {
                rockchip,pins = < 0x02 0x17 0x01 0x7e >;
            };

            i2s1-sdio1 {
                rockchip,pins = < 0x02 0x14 0x01 0x7e >;
            };

            i2s1-sdio2 {
                rockchip,pins = < 0x02 0x15 0x01 0x7e >;
            };

            i2s1-sdio3 {
                rockchip,pins = < 0x02 0x16 0x01 0x7e >;
            };

            i2s1-sleep {
                rockchip,pins = < 0x02 0x0f 0x00 0x80 0x02 0x10 0x00 0x80 0x02 0x11 0x00 0x80 0x02 0x12 0x00 0x80 0x02 0x13 0x00 0x80 0x02 0x14 0x00 0x80 0x02 0x15 0x00 0x80 0x02 0x16 0x00 0x80 0x02 0x17 0x00 0x80 >;
            };
        };

        i2s2-0 {

            i2s2m0-mclk {
                rockchip,pins = < 0x01 0x15 0x01 0x7e >;
                linux,phandle = < 0x0d >;
                phandle = < 0x0d >;
            };

            i2s2m0-sclk {
                rockchip,pins = < 0x01 0x16 0x01 0x7e >;
                linux,phandle = < 0x0e >;
                phandle = < 0x0e >;
            };

            i2s2m0-lrckrx {
                rockchip,pins = < 0x01 0x1a 0x01 0x7e >;
                linux,phandle = < 0x10 >;
                phandle = < 0x10 >;
            };

            i2s2m0-lrcktx {
                rockchip,pins = < 0x01 0x17 0x01 0x7e >;
                linux,phandle = < 0x0f >;
                phandle = < 0x0f >;
            };

            i2s2m0-sdi {
                rockchip,pins = < 0x01 0x18 0x01 0x7e >;
                linux,phandle = < 0x12 >;
                phandle = < 0x12 >;
            };

            i2s2m0-sdo {
                rockchip,pins = < 0x01 0x19 0x01 0x7e >;
                linux,phandle = < 0x11 >;
                phandle = < 0x11 >;
            };

            i2s2m0-sleep {
                rockchip,pins = < 0x01 0x15 0x00 0x80 0x01 0x16 0x00 0x80 0x01 0x1a 0x00 0x80 0x01 0x17 0x00 0x80 0x01 0x18 0x00 0x80 0x01 0x19 0x00 0x80 >;
                linux,phandle = < 0x13 >;
                phandle = < 0x13 >;
            };
        };

        i2s2-1 {

            i2s2m1-mclk {
                rockchip,pins = < 0x01 0x15 0x01 0x7e >;
            };

            i2s2m1-sclk {
                rockchip,pins = < 0x03 0x00 0x06 0x7e >;
            };

            i2sm1-lrckrx {
                rockchip,pins = < 0x03 0x08 0x06 0x7e >;
            };

            i2s2m1-lrcktx {
                rockchip,pins = < 0x03 0x08 0x04 0x7e >;
            };

            i2s2m1-sdi {
                rockchip,pins = < 0x03 0x02 0x06 0x7e >;
            };

            i2s2m1-sdo {
                rockchip,pins = < 0x03 0x01 0x06 0x7e >;
            };

            i2s2m1-sleep {
                rockchip,pins = < 0x01 0x15 0x00 0x80 0x03 0x00 0x00 0x80 0x03 0x08 0x00 0x80 0x03 0x02 0x00 0x80 0x03 0x01 0x00 0x80 >;
            };
        };

        spdif-0 {

            spdifm0-tx {
                rockchip,pins = < 0x00 0x1b 0x01 0x7e >;
                linux,phandle = < 0x14 >;
                phandle = < 0x14 >;
            };
        };

        spdif-1 {

            spdifm1-tx {
                rockchip,pins = < 0x02 0x11 0x02 0x7e >;
            };
        };

        spdif-2 {

            spdifm2-tx {
                rockchip,pins = < 0x00 0x02 0x02 0x7e >;
            };
        };

        sdmmc0-0 {

            sdmmc0m0-pwren {
                rockchip,pins = < 0x02 0x07 0x01 0x81 >;
            };

            sdmmc0m0-gpio {
                rockchip,pins = < 0x02 0x07 0x00 0x81 >;
            };
        };

        sdmmc0-1 {

            sdmmc0m1-pwren {
                rockchip,pins = < 0x00 0x1e 0x03 0x81 >;
            };

            sdmmc0m1-gpio {
                rockchip,pins = < 0x00 0x1e 0x00 0x81 >;
            };
        };

        sdmmc0 {

            sdmmc0-clk {
                rockchip,pins = < 0x01 0x06 0x01 0x82 >;
                linux,phandle = < 0x65 >;
                phandle = < 0x65 >;
            };

            sdmmc0-cmd {
                rockchip,pins = < 0x01 0x04 0x01 0x81 >;
                linux,phandle = < 0x66 >;
                phandle = < 0x66 >;
            };

            sdmmc0-dectn {
                rockchip,pins = < 0x01 0x05 0x01 0x81 >;
                linux,phandle = < 0x67 >;
                phandle = < 0x67 >;
            };

            sdmmc0-wrprt {
                rockchip,pins = < 0x01 0x07 0x01 0x81 >;
            };

            sdmmc0-bus1 {
                rockchip,pins = < 0x01 0x00 0x01 0x81 >;
            };

            sdmmc0-bus4 {
                rockchip,pins = < 0x01 0x00 0x01 0x81 0x01 0x01 0x01 0x81 0x01 0x02 0x01 0x81 0x01 0x03 0x01 0x81 >;
                linux,phandle = < 0x68 >;
                phandle = < 0x68 >;
            };

            sdmmc0-gpio {
                rockchip,pins = < 0x01 0x06 0x00 0x81 0x01 0x04 0x00 0x81 0x01 0x05 0x00 0x81 0x01 0x07 0x00 0x81 0x01 0x03 0x00 0x81 0x01 0x02 0x00 0x81 0x01 0x01 0x00 0x81 0x01 0x00 0x00 0x81 >;
            };
        };

        sdmmc0ext {

            sdmmc0ext-clk {
                rockchip,pins = < 0x03 0x02 0x03 0x82 >;
            };

            sdmmc0ext-cmd {
                rockchip,pins = < 0x03 0x00 0x03 0x81 >;
            };

            sdmmc0ext-wrprt {
                rockchip,pins = < 0x03 0x03 0x03 0x81 >;
            };

            sdmmc0ext-dectn {
                rockchip,pins = < 0x03 0x01 0x03 0x81 >;
            };

            sdmmc0ext-bus1 {
                rockchip,pins = < 0x03 0x04 0x03 0x81 >;
            };

            sdmmc0ext-bus4 {
                rockchip,pins = < 0x03 0x04 0x03 0x81 0x03 0x05 0x03 0x81 0x03 0x06 0x03 0x81 0x03 0x07 0x03 0x81 >;
            };

            sdmmc0ext-gpio {
                rockchip,pins = < 0x03 0x00 0x00 0x81 0x03 0x01 0x00 0x81 0x03 0x02 0x00 0x81 0x03 0x03 0x00 0x81 0x03 0x04 0x00 0x81 0x03 0x05 0x00 0x81 0x03 0x06 0x00 0x81 0x03 0x07 0x00 0x81 >;
            };
        };

        sdmmc1 {

            sdmmc1-clk {
                rockchip,pins = < 0x01 0x0c 0x01 0x83 >;
                linux,phandle = < 0x6c >;
                phandle = < 0x6c >;
            };

            sdmmc1-cmd {
                rockchip,pins = < 0x01 0x0d 0x01 0x84 >;
                linux,phandle = < 0x6b >;
                phandle = < 0x6b >;
            };

            sdmmc1-pwren {
                rockchip,pins = < 0x01 0x12 0x01 0x84 >;
            };

            sdmmc1-wrprt {
                rockchip,pins = < 0x01 0x14 0x01 0x84 >;
            };

            sdmmc1-dectn {
                rockchip,pins = < 0x01 0x13 0x01 0x84 >;
            };

            sdmmc1-bus1 {
                rockchip,pins = < 0x01 0x0e 0x01 0x84 >;
            };

            sdmmc1-bus4 {
                rockchip,pins = < 0x01 0x0e 0x01 0x84 0x01 0x0f 0x01 0x84 0x01 0x10 0x01 0x84 0x01 0x11 0x01 0x84 >;
                linux,phandle = < 0x6a >;
                phandle = < 0x6a >;
            };

            sdmmc1-gpio {
                rockchip,pins = < 0x01 0x0c 0x00 0x81 0x01 0x0d 0x00 0x81 0x01 0x0e 0x00 0x81 0x01 0x0f 0x00 0x81 0x01 0x10 0x00 0x81 0x01 0x11 0x00 0x81 0x01 0x12 0x00 0x81 0x01 0x13 0x00 0x81 0x01 0x14 0x00 0x81 >;
            };
        };

        emmc {

            emmc-clk {
                rockchip,pins = < 0x03 0x15 0x02 0x85 >;
                linux,phandle = < 0x6d >;
                phandle = < 0x6d >;
            };

            emmc-cmd {
                rockchip,pins = < 0x03 0x13 0x02 0x86 >;
                linux,phandle = < 0x6e >;
                phandle = < 0x6e >;
            };

            emmc-pwren {
                rockchip,pins = < 0x03 0x16 0x02 0x7e >;
            };

            emmc-rstnout {
                rockchip,pins = < 0x03 0x14 0x02 0x7e >;
            };

            emmc-bus1 {
                rockchip,pins = < 0x00 0x07 0x02 0x86 >;
            };

            emmc-bus4 {
                rockchip,pins = < 0x00 0x07 0x02 0x86 0x02 0x1c 0x02 0x86 0x02 0x1d 0x02 0x86 0x02 0x1e 0x02 0x86 >;
            };

            emmc-bus8 {
                rockchip,pins = < 0x00 0x07 0x02 0x86 0x02 0x1c 0x02 0x86 0x02 0x1d 0x02 0x86 0x02 0x1e 0x02 0x86 0x02 0x1f 0x02 0x86 0x03 0x10 0x02 0x86 0x03 0x11 0x02 0x86 0x03 0x12 0x02 0x86 >;
                linux,phandle = < 0x6f >;
                phandle = < 0x6f >;
            };
        };

        pwm0 {

            pwm0-pin {
                rockchip,pins = < 0x02 0x04 0x01 0x7e >;
                linux,phandle = < 0x43 >;
                phandle = < 0x43 >;
            };

            pwm0-pin-pull-up {
                rockchip,pins = < 0x02 0x04 0x01 0x7f >;
            };
        };

        pwm1 {

            pwm1-pin {
                rockchip,pins = < 0x02 0x05 0x01 0x7e >;
                linux,phandle = < 0x44 >;
                phandle = < 0x44 >;
            };

            pwm1-pin-pull-up {
                rockchip,pins = < 0x02 0x05 0x01 0x7f >;
            };
        };

        pwm2 {

            pwm2-pin {
                rockchip,pins = < 0x02 0x06 0x01 0x7e >;
                linux,phandle = < 0x45 >;
                phandle = < 0x45 >;
            };
        };

        pwmir {

            pwmir-pin {
                rockchip,pins = < 0x02 0x02 0x01 0x7e >;
                linux,phandle = < 0x46 >;
                phandle = < 0x46 >;
            };
        };

        gmac-1 {

            rgmiim1-pins {
                rockchip,pins = < 0x01 0x0c 0x02 0x85 0x01 0x0d 0x02 0x87 0x01 0x13 0x02 0x87 0x01 0x19 0x02 0x85 0x01 0x15 0x02 0x87 0x01 0x16 0x02 0x87 0x01 0x17 0x02 0x87 0x01 0x0a 0x02 0x87 0x01 0x0b 0x02 0x87 0x01 0x08 0x02 0x85 0x01 0x09 0x02 0x85 0x01 0x0e 0x02 0x87 0x01 0x0f 0x02 0x87 0x01 0x10 0x02 0x85 0x01 0x11 0x02 0x85 0x00 0x08 0x01 0x7e 0x00 0x0c 0x01 0x7e 0x00 0x18 0x01 0x7e 0x00 0x10 0x01 0x7e 0x00 0x11 0x01 0x7e 0x00 0x17 0x01 0x7e 0x00 0x16 0x01 0x7e >;
                linux,phandle = < 0x73 >;
                phandle = < 0x73 >;
            };

            rmiim1-pins {
                rockchip,pins = < 0x01 0x13 0x02 0x87 0x01 0x19 0x02 0x85 0x01 0x15 0x02 0x87 0x01 0x18 0x02 0x87 0x01 0x16 0x02 0x87 0x01 0x17 0x02 0x87 0x01 0x0a 0x02 0x87 0x01 0x0b 0x02 0x87 0x01 0x08 0x02 0x85 0x01 0x09 0x02 0x85 0x00 0x0b 0x01 0x7e 0x00 0x0c 0x01 0x7e 0x00 0x18 0x01 0x7e 0x00 0x13 0x01 0x7e 0x00 0x10 0x01 0x7e 0x00 0x11 0x01 0x7e >;
            };
        };

        gmac2phy {

            fephyled-speed100 {
                rockchip,pins = < 0x00 0x1f 0x01 0x7e >;
            };

            fephyled-speed10 {
                rockchip,pins = < 0x00 0x1e 0x01 0x7e >;
            };

            fephyled-duplex {
                rockchip,pins = < 0x00 0x1e 0x02 0x7e >;
            };

            fephyled-rxm0 {
                rockchip,pins = < 0x00 0x1d 0x01 0x7e >;
            };

            fephyled-txm0 {
                rockchip,pins = < 0x00 0x1d 0x02 0x7e >;
            };

            fephyled-linkm0 {
                rockchip,pins = < 0x00 0x1c 0x01 0x7e >;
            };

            fephyled-rxm1 {
                rockchip,pins = < 0x02 0x19 0x02 0x7e >;
                linux,phandle = < 0x74 >;
                phandle = < 0x74 >;
            };

            fephyled-txm1 {
                rockchip,pins = < 0x02 0x19 0x03 0x7e >;
            };

            fephyled-linkm1 {
                rockchip,pins = < 0x02 0x18 0x02 0x7e >;
                linux,phandle = < 0x75 >;
                phandle = < 0x75 >;
            };
        };

        tsadc_pin {

            tsadc-int {
                rockchip,pins = < 0x02 0x0d 0x02 0x7e >;
            };

            tsadc-gpio {
                rockchip,pins = < 0x02 0x0d 0x00 0x7e >;
            };
        };

        hdmi_pin {

            hdmi-cec {
                rockchip,pins = < 0x00 0x03 0x01 0x7e >;
                linux,phandle = < 0x58 >;
                phandle = < 0x58 >;
            };

            hdmi-hpd {
                rockchip,pins = < 0x00 0x04 0x01 0x88 >;
                linux,phandle = < 0x5a >;
                phandle = < 0x5a >;
            };
        };

        cif-0 {

            dvp-d2d9-m0 {
                rockchip,pins = < 0x03 0x04 0x02 0x7e 0x03 0x05 0x02 0x7e 0x03 0x06 0x02 0x7e 0x03 0x07 0x02 0x7e 0x03 0x08 0x02 0x7e 0x03 0x09 0x02 0x7e 0x03 0x0a 0x02 0x7e 0x03 0x0b 0x02 0x7e 0x03 0x01 0x02 0x7e 0x03 0x00 0x02 0x7e 0x03 0x03 0x02 0x7e 0x03 0x02 0x02 0x7e >;
            };
        };

        cif-1 {

            dvp-d2d9-m1 {
                rockchip,pins = < 0x03 0x04 0x02 0x7e 0x03 0x05 0x02 0x7e 0x03 0x06 0x02 0x7e 0x03 0x07 0x02 0x7e 0x03 0x08 0x02 0x7e 0x02 0x10 0x04 0x7e 0x02 0x11 0x04 0x7e 0x02 0x12 0x04 0x7e 0x03 0x01 0x02 0x7e 0x03 0x00 0x02 0x7e 0x02 0x0f 0x04 0x7e 0x03 0x02 0x02 0x7e >;
            };
        };

        leds {

            led-ctl {
                rockchip,pins = < 0x02 0x17 0x00 0x7e >;
            };
        };

        pmic {

            pmic-int-l {
                rockchip,pins = < 0x02 0x06 0x00 0x7f >;
            };
        };

        sdio-pwrseq {

            wifi-enable-h {
                rockchip,pins = < 0x01 0x12 0x00 0x7e >;
                linux,phandle = < 0x8b >;
                phandle = < 0x8b >;
            };
        };

        usb {

            host-vbus-drv {
                rockchip,pins = < 0x00 0x00 0x00 0x7e >;
                linux,phandle = < 0x93 >;
                phandle = < 0x93 >;
            };
        };

        wireless-bluetooth {

            uart0-gpios {
                rockchip,pins = < 0x01 0x0a 0x00 0x7e >;
                linux,phandle = < 0x95 >;
                phandle = < 0x95 >;
            };
        };

        clk_32k {

            clk-32k-out {
                rockchip,pins = < 0x01 0x1c 0x01 0x7e >;
                linux,phandle = < 0x7d >;
                phandle = < 0x7d >;
            };
        };
    };

    chosen {
        bootargs = "earlyprintk=uart8250-32bit,0xff130000";
    };

    fiq-debugger {
        compatible = "rockchip,fiq-debugger";
        rockchip,serial-id = < 0x02 >;
        rockchip,signal-irq = < 0x9f >;
        rockchip,wake-irq = < 0x00 >;
        rockchip,irq-mode-enable = < 0x00 >;
        rockchip,baudrate = < 0x16e360 >;
        interrupts = < 0x00 0x7f 0x08 >;
        status = "okay";
    };

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

        drm-logo@00000000 {
            compatible = "rockchip,drm-logo";
            reg = < 0x00 0x00 0x00 0x00 >;
            linux,phandle = < 0x5f >;
            phandle = < 0x5f >;
        };

        secure-memory@20000000 {
            compatible = "rockchip,secure-memory";
            reg = < 0x00 0x20000000 0x00 0x00 >;
            linux,phandle = < 0x60 >;
            phandle = < 0x60 >;
        };

        ramoops@68000000 {
            reg = < 0x00 0x110000 0x00 0xf0000 >;
            linux,phandle = < 0x89 >;
            phandle = < 0x89 >;
        };
    };

    ramoops {
        compatible = "ramoops";
        record-size = < 0x00 0x20000 >;
        console-size = < 0x00 0x80000 >;
        ftrace-size = < 0x00 0x00 >;
        pmsg-size = < 0x00 0x50000 >;
        memory-region = < 0x89 >;
    };

    leds {
        compatible = "gpio-leds";

        power-red {
            gpios = < 0x8a 0x17 0x00 >;
            linux,default-trigger = "none";
            default-state = "off";
        };
    };

    external-gmac-clock {
        compatible = "fixed-clock";
        clock-frequency = < 0x7735940 >;
        clock-output-names = "gmac_clkin";
        #clock-cells = < 0x00 >;
        linux,phandle = < 0x72 >;
        phandle = < 0x72 >;
    };

    sdio-pwrseq {
        compatible = "mmc-pwrseq-simple";
        pinctrl-names = "default";
        pinctrl-0 = < 0x8b >;
        reset-gpios = < 0x71 0x12 0x01 >;
        linux,phandle = < 0x69 >;
        phandle = < 0x69 >;
    };

    sound {
        compatible = "simple-audio-card";
        simple-audio-card,format = "i2s";
        simple-audio-card,mclk-fs = < 0x100 >;
        simple-audio-card,name = "rockchip,rk3328";

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

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

    hdmi-sound {
        compatible = "simple-audio-card";
        simple-audio-card,format = "i2s";
        simple-audio-card,mclk-fs = < 0x80 >;
        simple-audio-card,name = "rockchip,hdmi";

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

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

    rtc-fake {
        compatible = "rtc-fake";
        status = "okay";
    };

    spdif-sound {
        compatible = "simple-audio-card";
        simple-audio-card,name = "rockchip,spdif";

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

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

    spdif-out {
        compatible = "linux,spdif-dit";
        #sound-dai-cells = < 0x00 >;
        linux,phandle = < 0x91 >;
        phandle = < 0x91 >;
    };

    host-vbus-regulator {
        compatible = "regulator-fixed";
        gpio = < 0x92 0x00 0x00 >;
        pinctrl-names = "default";
        pinctrl-0 = < 0x93 >;
        regulator-name = "vcc_host_vbus";
        regulator-min-microvolt = < 0x4c4b40 >;
        regulator-max-microvolt = < 0x4c4b40 >;
        enable-active-high;
        linux,phandle = < 0x64 >;
        phandle = < 0x64 >;
    };

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

    regulators {
        compatible = "simple-bus";
        #address-cells = < 0x01 >;
        #size-cells = < 0x00 >;

        regulator@0 {
            compatible = "regulator-fixed";
            regulator-name = "vccio_1v8";
            regulator-min-microvolt = < 0x1b7740 >;
            regulator-max-microvolt = < 0x1b7740 >;
            regulator-always-on;
            linux,phandle = < 0x2a >;
            phandle = < 0x2a >;
        };

        regulator@1 {
            compatible = "regulator-fixed";
            regulator-name = "vccio_3v3";
            regulator-min-microvolt = < 0x325aa0 >;
            regulator-max-microvolt = < 0x325aa0 >;
            regulator-always-on;
            linux,phandle = < 0x29 >;
            phandle = < 0x29 >;
        };
    };

    wireless-bluetooth {
        compatible = "bluetooth-platdata";
        uart_rts_gpios = < 0x71 0x0a 0x01 >;
        pinctrl-names = "default\0rts_gpio";
        pinctrl-0 = < 0x94 >;
        pinctrl-1 = < 0x95 >;
        BT,power_gpio = < 0x71 0x15 0x00 >;
        BT,wake_host_irq = < 0x71 0x1a 0x00 >;
        status = "okay";
    };

    wireless-wlan {
        compatible = "wlan-platdata";
        rockchip,grf = < 0x1c >;
        wifi_chip_type = "rtl8189es";
        sdio_vref = < 0x708 >;
        WIFI,host_wake_irq = < 0x71 0x13 0x00 >;
        status = "okay";
    };

    fd628_dev {
        compatible = "fd628_dev";
        fd628_gpio_clk = < 0x8a 0x16 0x00 >;
        fd628_gpio_dat = < 0x8a 0x15 0x00 >;
        status = "disabled";
    };

    vdd-center {
        compatible = "pwm-regulator";
        rockchip,pwm_id = < 0x00 >;
        rockchip,pwm_voltage = < 0x1312d0 >;
        pwms = < 0x96 0x00 0x1388 0x01 >;
        regulator-name = "vcc_arm";
        regulator-min-microvolt = < 0xe7ef0 >;
        regulator-max-microvolt = < 0x155cc0 >;
        regulator-always-on;
        regulator-boot-on;
        linux,phandle = < 0x04 >;
        phandle = < 0x04 >;
    };

    vdd-log {
        compatible = "pwm-regulator";
        rockchip,pwm_id = < 0x01 >;
        rockchip,pwm_voltage = < 0x10c8e0 >;
        pwms = < 0x97 0x00 0x1388 0x01 >;
        regulator-name = "vcc_log";
        regulator-min-microvolt = < 0xdbba0 >;
        regulator-max-microvolt = < 0x13d620 >;
        regulator-always-on;
        regulator-boot-on;
        linux,phandle = < 0x48 >;
        phandle = < 0x48 >;
    };
};

 

Link to comment
Share on other sites

22 hours ago, ole1105 said:

Now I extract dtb from Android (thanks @CarlosPiles for tips), how can I compile a dtb compatible with armbian? 

You need to add your DTS to the kernel sources and build a new DTB using the Armbian kernel sources.

Link to comment
Share on other sites

Here's what I have:

mmcblk1      179:0    0 29.8G  0 disk
├─mmcblk1p1  179:1    0  128M  0 part /boot
└─mmcblk1p2  179:2    0 29.4G  0 part /
mmcblk0      179:32   0 29.1G  0 disk
mmcblk0boot0 179:64   0    4M  1 disk
mmcblk0boot1 179:96   0    4M  1 disk
mmcblk0rpmb  179:128  0    4M  0 disk

 

Here's what I want to do:

1. use dd to copy mmcblk1p2 to mmcblk0

2. change label of mmcblk1p2 to something other than ROOTFS

3. reboot

/ should be running off mmcblk0 now.

 

What do you guys think?

Link to comment
Share on other sites

34 minutes ago, amirul said:

Here's what I want to do:

1. use dd to copy mmcblk1p2 to mmcblk0

2. change label of mmcblk1p2 to something other than ROOTFS

3. reboot

/ should be running off mmcblk0 now.

 

What do you guys think? 

What for?

Link to comment
Share on other sites

54 minutes ago, amirul said:

1. use dd to copy mmcblk1p2 to mmcblk0

2. change label of mmcblk1p2 to something other than ROOTFS

3. reboot

/ should be running off mmcblk0 now.

You can't copy a single partition into a whole device without partition table ...

Link to comment
Share on other sites

Using " dd " to copy a system is a bad decision. This utility is intended for other purposes, but many began to use it incorrectly. And then get problems from such actions. You've seen somewhere, what would the system from the Live CD transferred to HDD utility "dd" ? To do this, use a special installation procedure that uses special steps to create a file system, specially designed for this utilities.

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