Skip to content

Instantly share code, notes, and snippets.

@nvsofts
Created October 18, 2020 17:55
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nvsofts/5d62a045e4fe4b9f6718b194faf0cdd0 to your computer and use it in GitHub Desktop.
Save nvsofts/5d62a045e4fe4b9f6718b194faf0cdd0 to your computer and use it in GitHub Desktop.
/dts-v1/;
/memreserve/ 0x0000000000000000 0x000000000000c000;
/memreserve/ 0x0000000001b00000 0x0000000000064000;
/memreserve/ 0x0000000001ffe000 0x0000000000004000;
/memreserve/ 0x0000000007a00000 0x0000000000010000;
/memreserve/ 0x0000000005000000 0x0000000002a00000;
/memreserve/ 0x0000000007d00000 0x0000000000300000;
/ {
#address-cells = <0x01>;
#size-cells = <0x01>;
interrupt-parent = <0x01>;
model = "Realtek_CA7_CA7";
compatible = "Realtek,FPGA_v6\0Realtek,rtd-119x";
hdmirx@1800F000 {
Realtek,ddc-max-num = <0x01>;
Realtek,edid-used-mask = <0x01>;
Realtek,edid-tbl0 = <0x00 0xff 0xff 0xff 0xff 0xff 0xff 0x00 0x4a 0x8b 0x54 0x4c 0x01 0x00 0x00 0x00 0x0c 0x11 0x01 0x03 0x81 0x46 0x27 0x78 0x8a 0xa5 0x8e 0xa6 0x54 0x4a 0x9c 0x26 0x12 0x45 0x46 0xad 0xce 0x00 0x81 0x40 0x01 0x01 0x01 0x01 0x01 0x01 0x01 0x01 0x01 0x01 0x01 0x01 0x01 0x01 0x01 0x1d 0x00 0x72 0x51 0xd0 0x1e 0x20 0x6e 0x28 0x55 0x00 0xb9 0x88 0x21 0x00 0x00 0x1e 0x9a 0x29 0xa0 0xd0 0x51 0x84 0x22 0x30 0x50 0x98 0x36 0x00 0xb9 0x88 0x21 0x00 0x00 0x1c 0x00 0x00 0x00 0xfd 0x00 0x32 0x4b 0x18 0x3c 0x0b 0x00 0x0a 0x20 0x20 0x20 0x20 0x20 0x20 0x00 0x00 0x00 0xfc 0x00 0x33 0x32 0x56 0x33 0x48 0x2d 0x48 0x36 0x41 0x0a 0x20 0x20 0x20 0x01 0xe3 0x02 0x03 0x21 0x61 0x83 0x01 0x00 0x00 0x65 0x03 0x0c 0x00 0x10 0x00 0x4e 0x06 0x07 0x02 0x03 0x15 0x96 0x11 0x12 0x13 0x04 0x14 0x05 0x1f 0x90 0x23 0x09 0x7f 0x07 0x8c 0x0a 0xd0 0x90 0x20 0x40 0x31 0x20 0x0c 0x40 0x55 0x00 0xb9 0x88 0x21 0x00 0x00 0x18 0x01 0x1d 0x80 0x18 0x71 0x1c 0x16 0x20 0x58 0x2c 0x25 0x00 0xb9 0x88 0x21 0x00 0x00 0x9e 0x01 0x1d 0x80 0xd0 0x72 0x1c 0x16 0x20 0x10 0x2c 0x25 0x80 0xb9 0x88 0x21 0x00 0x00 0x9e 0x01 0x1d 0x00 0xbc 0x52 0xd0 0x1e 0x20 0xb8 0x28 0x55 0x40 0xb9 0x88 0x21 0x00 0x00 0x1e 0x02 0x3a 0x80 0xd0 0x72 0x38 0x2d 0x40 0x10 0x2c 0x45 0x80 0xb9 0x88 0x21 0x00 0x00 0x1e 0x00 0x00 0x00 0x00 0x68>;
compatible = "Realtek,rtk119x-mipi-top";
reg = <0x1800f000 0x418 0x1800fb00 0x100 0x18037200 0xdc 0x18037300 0x14 0x1800f600 0x1c 0x18037400 0x40 0x1800f000 0x200 0x1800f200 0x60 0x1800f260 0xa0 0x1800f300 0xc0 0x1800f3c0 0x20 0x1800f3e0 0x10 0x1800d1b0 0x10 0x18037700 0x98 0x18037600 0x98 0x18004100 0x100 0x18004000 0xf0 0x1800ff00 0x28 0x1800fd00 0x50>;
interrupts = <0x00 0x17 0x04>;
mipi_input_type = <0x00>;
mipi_camera_type = <0x05>;
power-saving = <0x00>;
};
chosen {
bootargs = "earlyprintk console=ttyS0,115200 ";
linux,initrd-start = <0x2200000>;
linux,initrd-end = <0x2c00000>;
};
aliases {
serial0 = "/serial0@18007800";
};
memory {
device_type = "memory";
reg = <0x00 0x8000000>;
};
dvfs {
compatible = "Realtek,rtk119x-dvfs";
transition_latency = <0x7a120>;
rm-threshold-uV = <0xe7ef0>;
voltage-step-ctl = <0x01>;
gpios = <0x02 0x0f 0x01 0x01 0x02 0x10 0x01 0x01>;
frequency-table = <0x02 0xf4240>;
voltage-table = <0x00 0xf4240 0xf4240 0x01 0x10c8e0 0x10c8e0 0x02 0x124f80 0x124f80>;
status = "okay";
};
mfd_rtp5901 {
compatible = "Realtek,rtk119x-rtp5901";
gpios = <0x02 0x0e 0x00 0x00>;
interrupt-parent = <0x02>;
interrupts = <0x0e>;
gpio_base = <0x51>;
regulator-table = <0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x01 0xaae60 0x13d620 0x00 0x00 0x00 0x00 0x00 0x00>;
status = "disabled";
};
cpus {
#address-cells = <0x01>;
#size-cells = <0x00>;
cpu@0 {
device_type = "cpu";
compatible = "arm,cortex-a7";
reg = <0x00>;
clock-frequency = <0x3b9aca00>;
};
cpu@1 {
device_type = "cpu";
compatible = "arm,cortex-a7";
reg = <0x01>;
clock-frequency = <0x3b9aca00>;
};
};
timer {
compatible = "arm,armv7-timer";
interrupts = <0x01 0x0d 0xf08 0x01 0x0e 0xf08>;
clock-frequency = <0x19bfcc0>;
};
intc@ff01000 {
compatible = "arm,cortex-a9-gic";
#interrupt-cells = <0x03>;
interrupt-controller;
reg = <0xff011000 0x1000 0xff012000 0x1000>;
linux,phandle = <0x01>;
phandle = <0x01>;
};
pinctrl@18007000 {
compatible = "rtk119x,rtk119x-pinctrl";
reg = <0x18000000 0x500 0x18007000 0x400>;
#gpio-range-cells = <0x03>;
pinctrl-names = "default";
pinctrl-0 = <0x03 0x04 0x05 0x06 0x07>;
linux,phandle = <0x09>;
phandle = <0x09>;
nand@0 {
rtk119x,pins = "nf_dd_0\0nf_dd_1\0nf_dd_2\0nf_dd_3\0nf_dd_4\0nf_dd_5\0nf_dd_6\0nf_dd_7\0nf_rdy\0nf_rd_n\0nf_wr_n\0nf_ale\0nf_cle\0nf_ce_n_0\0nf_ce_n_1\0i2c_scl_5\0i2c_sda_5";
rtk119x,function = "nand";
rtk119x,pull_en = <0x00>;
};
emmc@0 {
rtk119x,pins = "nf_dd_0\0nf_dd_1\0nf_dd_2\0nf_dd_3\0nf_dd_4\0nf_dd_5\0nf_dd_6\0nf_dd_7\0nf_rdy\0nf_rd_n\0nf_cle";
rtk119x,function = "emmc";
rtk119x,pull_en = <0x00>;
};
hif@0 {
rtk119x,pins = "nf_dd_4\0nf_wr_n\0nf_ale\0nf_cle\0hi_loc";
rtk119x,function = "hif_loc_nf";
rtk119x,pull_en = <0x00>;
};
hif@1 {
rtk119x,pins = "gpio_0\0gpio_1\0gpio_2\0gpio_3\0hi_loc\0sf_en";
rtk119x,function = "hif_loc_misc";
rtk119x,pull_en = <0x00>;
};
avcpu_ejtag@0 {
rtk119x,pins = "nf_dd_5\0nf_dd_6\0nf_dd_7\0nf_rdy\0nf_rd_n\0ejtag_avcpu_loc";
rtk119x,function = "avcpu_ejtag_loc_nf";
rtk119x,pull_en = <0x00>;
};
avcpu_ejtag@1 {
rtk119x,pins = "usb0\0usb1\0vfd_cs_n\0vfd_clk\0vfd_d\0ejtag_avcpu_loc";
rtk119x,function = "avcpu_ejtag_loc_iso";
rtk119x,pull_en = <0x00>;
};
i2c@0 {
rtk119x,pins = "i2c_scl_0\0i2c_sda_0";
rtk119x,function = "i2c0";
rtk119x,pull_en = <0x00>;
};
i2c@1 {
rtk119x,pins = "i2c_scl_1\0i2c_sda_1";
rtk119x,function = "i2c1";
rtk119x,pull_en = <0x00>;
};
i2c@2 {
rtk119x,pins = "tp1_clk\0tp1_sync\0vfd_d";
rtk119x,function = "i2c2";
rtk119x,pull_en = <0x00>;
};
i2c@3 {
rtk119x,pins = "tp1_data\0tp1_valid";
rtk119x,function = "i2c3";
rtk119x,pull_en = <0x00>;
};
i2c@4 {
rtk119x,pins = "i2c_scl_4\0i2c_sda_4";
rtk119x,function = "i2c4";
rtk119x,pull_en = <0x00>;
linux,phandle = <0x07>;
phandle = <0x07>;
};
i2c@5 {
rtk119x,pins = "i2c_scl_5\0i2c_sda_5";
rtk119x,function = "i2c5";
rtk119x,pull_en = <0x00>;
};
i2c@6 {
rtk119x,pins = "i2c_scl_6\0i2c_sda_6";
rtk119x,function = "i2c6";
rtk119x,pull_en = <0x00>;
};
mmc@0 {
rtk119x,pins = "mmc_data_0\0mmc_data_1\0mmc_data_2\0mmc_data_3\0mmc_clk\0mmc_cmd\0mmc_wp\0mmc_cd";
rtk119x,function = "mmc";
rtk119x,pull_en = <0x00>;
linux,phandle = <0x04>;
phandle = <0x04>;
};
scpu_ejtag@0 {
rtk119x,pins = "mmc_data_0\0mmc_data_3\0mmc_clk\0mmc_cmd\0mmc_wp\0ejtag_scpu_loc";
rtk119x,function = "scpu_ejtag_loc_cr";
rtk119x,pull_en = <0x00>;
};
scpu_ejtag@1 {
rtk119x,pins = "gpio_4\0gpio_5\0gpio_6\0gpio_7\0gpio_8\0ejtag_scpu_loc";
rtk119x,function = "scpu_ejtag_loc_misc";
rtk119x,pull_en = <0x00>;
};
sdio@0 {
rtk119x,pins = "sdio_clk\0sdio_data_0\0sdio_data_1\0sdio_data_2\0sdio_data_3\0sdio_cmd";
rtk119x,function = "sdio";
rtk119x,pull_en = <0x00>;
};
tp@1 {
rtk119x,pins = "tp1_data\0tp1_clk\0tp1_valid\0tp1_sync";
rtk119x,function = "tp1";
rtk119x,pull_en = <0x00>;
};
tp@0 {
rtk119x,pins = "tp0_data\0tp0_clk\0tp0_valid\0tp0_sync";
rtk119x,function = "tp0";
rtk119x,pull_en = <0x00>;
};
ao@0 {
rtk119x,pins = "tp0_data\0tp0_clk\0tp0_valid\0tp0_sync\0ao_loc";
rtk119x,function = "ao_loc_tp";
rtk119x,pull_en = <0x00>;
};
ao@1 {
rtk119x,pins = "gpio_4\0gpio_5\0gpio_6\0gpio_7\0ao_loc";
rtk119x,function = "ao_loc_misc";
rtk119x,pull_en = <0x00>;
};
ai@0 {
rtk119x,pins = "ur1_rx\0ur1_tx\0ur1_cts_n\0ur1_rts_n\0ai_loc";
rtk119x,function = "ai_loc_iso_ur";
rtk119x,pull_en = <0x00>;
};
ai@1 {
rtk119x,pins = "usb0\0usb1\0vfd_cs_n\0vfd_clk\0ai_loc";
rtk119x,function = "ai_loc_iso_usb";
rtk119x,pull_en = <0x00>;
};
spdif@0 {
rtk119x,pins = "spdif";
rtk119x,function = "spdif";
rtk119x,pull_en = <0x00>;
status = "disabled";
};
spi@0 {
rtk119x,pins = "gpio_0\0gpio_1\0gpio_2\0gpio_3\0sf_en";
rtk119x,function = "spi";
rtk119x,pull_en = <0x00>;
};
uart1@0 {
rtk119x,pins = "gpio_0\0gpio_1\0gpio_2\0gpio_3\0ur1_loc\0sf_en";
rtk119x,function = "uart1_loc_misc";
rtk119x,pull_en = <0x00>;
};
uart1@1 {
rtk119x,pins = "ur1_rx\0ur1_tx\0ur1_cts_n\0ur1_rts_n\0ur1_loc";
rtk119x,function = "uart1_loc_iso";
rtk119x,pull_en = <0x00>;
linux,phandle = <0x03>;
phandle = <0x03>;
};
uart0@0 {
rtk119x,pins = "ur0_rx\0ur0_tx";
rtk119x,function = "uart0";
rtk119x,pull_en = <0x00>;
};
gspi@0 {
rtk119x,pins = "gpio_0\0gpio_1\0gpio_2\0gpio_3\0sf_en";
rtk119x,function = "gspi";
rtk119x,pull_en = <0x00>;
linux,phandle = <0x10>;
phandle = <0x10>;
};
hdmi@0 {
rtk119x,pins = "hdmi_hpd";
rtk119x,function = "hdmi";
rtk119x,pull_en = <0x00>;
};
usb@0 {
rtk119x,pins = "usb_id";
rtk119x,function = "usb";
rtk119x,pull_en = <0x00>;
};
sensor@0 {
rtk119x,pins = "sensor_cko_0\0sensor_cko_\0sensor_rst\0sensor_stb_0\0sensor_stb_1";
rtk119x,function = "sensor";
rtk119x,pull_en = <0x00>;
};
cpu_loop_test@0 {
rtk119x,pins = "usb_id";
rtk119x,function = "cpu_loop";
rtk119x,pull_en = <0x00>;
};
vfd@0 {
rtk119x,pins = "vfd_cs_n\0vfd_clk\0vfd_d";
rtk119x,function = "vfd";
rtk119x,pull_en = <0x00>;
};
pwm0@0 {
rtk119x,pins = "ur1_rx";
rtk119x,function = "pwm";
rtk119x,pull_en = <0x00>;
};
pwm1@0 {
rtk119x,pins = "ur1_tx";
rtk119x,function = "pwm";
rtk119x,pull_en = <0x00>;
};
pwm2@0 {
rtk119x,pins = "ur0_tx";
rtk119x,function = "pwm";
rtk119x,pull_en = <0x00>;
};
pwm3@0 {
rtk119x,pins = "ur0_rx";
rtk119x,function = "pwm";
rtk119x,pull_en = <0x00>;
};
pwm4@0 {
rtk119x,pins = "etn_led_link";
rtk119x,function = "pwm";
rtk119x,pull_en = <0x00>;
linux,phandle = <0x05>;
phandle = <0x05>;
};
pwm5@0 {
rtk119x,pins = "etn_led_rxtx";
rtk119x,function = "pwm";
rtk119x,pull_en = <0x00>;
linux,phandle = <0x06>;
phandle = <0x06>;
};
ir@0 {
rtk119x,pins = "ir_rx";
rtk119x,function = "irrx";
rtk119x,pull_en = <0x00>;
};
ir@1 {
rtk119x,pins = "ir_tx";
rtk119x,function = "irtx";
rtk119x,pull_en = <0x00>;
};
etn_led@0 {
rtk119x,pins = "etn_led_link\0etn_led_rxtx";
rtk119x,function = "etn_led";
rtk119x,pull_en = <0x00>;
};
standby_dbg@0 {
rtk119x,pins = "usb0\0usb1\0ir_rx";
rtk119x,function = "standby_dbg";
rtk119x,pull_en = <0x00>;
};
};
i2c@0x18007D00 {
compatible = "Realtek,rtk-i2c";
reg = <0x18007d00 0x400>;
interrupt-parent = <0x08>;
interrupts = <0x01 0x08>;
i2c-num = <0x00>;
#address-cells = <0x01>;
#size-cells = <0x00>;
status = "dis";
};
i2c@0x1801B300 {
compatible = "Realtek,rtk-i2c";
reg = <0x1801b300 0x400>;
interrupt-parent = <0x08>;
interrupts = <0x00 0x04>;
i2c-num = <0x01>;
#address-cells = <0x01>;
#size-cells = <0x00>;
status = "dis";
};
i2c@0x1801B700 {
compatible = "Realtek,rtk-i2c";
#address-cells = <0x01>;
#size-cells = <0x00>;
reg = <0x1801b700 0x400>;
interrupt-parent = <0x08>;
interrupts = <0x00 0x1a>;
i2c-num = <0x02>;
status = "dis";
};
i2c@0x1801B900 {
compatible = "Realtek,rtk-i2c";
reg = <0x1801b900 0x400>;
interrupt-parent = <0x08>;
interrupts = <0x00 0x17>;
i2c-num = <0x03>;
#address-cells = <0x01>;
#size-cells = <0x00>;
status = "dis";
};
i2c@0x1801BA00 {
compatible = "Realtek,rtk-i2c";
reg = <0x1801ba00 0x400>;
interrupt-parent = <0x08>;
interrupts = <0x00 0x0f>;
i2c-num = <0x04>;
#address-cells = <0x01>;
#size-cells = <0x00>;
};
i2c@0x1801BB00 {
compatible = "Realtek,rtk-i2c";
reg = <0x1801bb00 0x400>;
interrupt-parent = <0x08>;
interrupts = <0x00 0x0e>;
i2c-num = <0x05>;
#address-cells = <0x01>;
#size-cells = <0x00>;
status = "dis";
};
i2c@0x18007E00 {
compatible = "Realtek,rtk-i2c";
reg = <0x18007e00 0x400>;
interrupt-parent = <0x08>;
interrupts = <0x01 0x0a>;
i2c-num = <0x06>;
#address-cells = <0x01>;
#size-cells = <0x00>;
status = "dis";
};
intc@1801b000 {
compatible = "Realtek,rtk-irq-mux";
Realtek,mux-nr = <0x02>;
#interrupt-cells = <0x02>;
interrupt-controller;
reg = <0x1801b000 0x100 0x18007000 0x100>;
interrupts = <0x00 0x28 0x04 0x00 0x29 0x04>;
intr-status = <0x0c 0x00>;
intr-en = <0x80 0x40>;
linux,phandle = <0x08>;
phandle = <0x08>;
};
rtk_misc_gpio@1801b100 {
compatible = "Realtek,rtk-misc-gpio-irq-mux";
gpio-controller;
#gpio-cells = <0x03>;
Realtek,gpio_base = <0x00>;
Realtek,gpio_numbers = <0x3c>;
interrupt-parent = <0x08>;
#interrupt-cells = <0x01>;
interrupt-controller;
interrupts = <0x00 0x13 0x00 0x14>;
reg = <0x1801b000 0x100 0x1801b100 0x100>;
gpio-ranges = <0x09 0x00 0x00 0x3c>;
gpios = <0x0a 0x04 0x00 0x00 0x0a 0x05 0x01 0x01 0x0a 0x08 0x01 0x01 0x0a 0x33 0x01 0x01 0x0a 0x34 0x01 0x01 0x0a 0x39 0x01 0x01 0x0a 0x3b 0x01 0x01>;
linux,phandle = <0x0a>;
phandle = <0x0a>;
};
rtk_iso_gpio@18007100 {
compatible = "Realtek,rtk-iso-gpio-irq-mux";
gpio-controller;
#gpio-cells = <0x03>;
Realtek,gpio_base = <0x3c>;
Realtek,gpio_numbers = <0x15>;
interrupt-parent = <0x08>;
#interrupt-cells = <0x01>;
interrupt-controller;
interrupts = <0x01 0x13 0x01 0x14>;
reg = <0x18007000 0x100 0x18007100 0x100>;
gpio-ranges = <0x09 0x00 0x40 0x15>;
gpios = <0x02 0x03 0x01 0x01>;
linux,phandle = <0x02>;
phandle = <0x02>;
};
clocks {
#address-cells = <0x01>;
#size-cells = <0x01>;
ranges;
dummy {
compatible = "fixed-clock";
#clock-cells = <0x00>;
clock-frequency = <0x00>;
};
osc27M {
compatible = "realtek,1195-osc-clk";
#clock-cells = <0x00>;
clock-frequency = <0x19bfcc0>;
linux,phandle = <0x0b>;
phandle = <0x0b>;
};
clk_sys {
compatible = "realtek,1195-sys-clk";
#clock-cells = <0x00>;
clock-frequency = <0xe7be2c0>;
linux,phandle = <0x0d>;
phandle = <0x0d>;
};
spll {
compatible = "realtek,1195-spll-clk";
#clock-cells = <0x00>;
clocks = <0x0b>;
reg = <0x18000000 0x134>;
n-min = <0x00>;
f-min = <0x00>;
d-min = <0x00>;
pll-max-frequency = <0xb2d05e00>;
pll-min-frequency = <0xbebc200>;
clock-names = "scpu";
};
apll {
compatible = "realtek,1195-apll-clk";
#clock-cells = <0x00>;
clocks = <0x0b>;
reg = <0x1800010c 0x08>;
n-min = <0x00>;
f-min = <0x00>;
d-max = <0x00>;
d-min = <0x00>;
pll-max-frequency = <0x3b9aca00>;
pll-min-frequency = <0x2faf080>;
clock-names = "acpu";
};
vpll {
compatible = "realtek,1195-vpll-clk";
#clock-cells = <0x00>;
clocks = <0x0b>;
reg = <0x18000114 0x08>;
n-min = <0x00>;
f-max = <0x00>;
f-min = <0x00>;
d-min = <0x00>;
pll-max-frequency = <0x3b9aca00>;
pll-min-frequency = <0x00>;
clock-names = "ve";
linux,phandle = <0x0c>;
phandle = <0x0c>;
};
ve_gates {
#clock-cells = <0x01>;
compatible = "realtek,1195-ve-gates-clk";
reg = <0x1800000c 0x04>;
clocks = <0x0c>;
clock-output-names = "h265\0h264";
};
jpeg_gates {
compatible = "realtek,1195-jpeg-gates-clk";
#clock-cells = <0x01>;
reg = <0x1800000c 0x04>;
clocks = <0x0d>;
clock-output-names = "jpeg";
};
};
suspend@18007400 {
compatible = "Realtek,suspend";
suspend-mode = <0x00>;
reg-restore = <0x18000000 0x18000004 0x18000008 0x1800000c 0x18000010>;
reg-restore-size = <0x05>;
realtek,wifi-gpio = <0x02 0x0d 0x01 0x01>;
};
thermal@18000310 {
compatible = "rtk119x-thermal";
reg = <0x180171c8 0x04 0x18000310 0x04 0x18000314 0x04>;
thermal0-disable = <0x00>;
thermal1-disable = <0x00>;
thermal-polling-ms = <0x1f4>;
thermal-trip-shutdown = <0x00>;
thermal-trend-urgent = <0x00>;
thermal-table = <0x69 0xc3500>;
status = "okay";
};
timer0@1801b000 {
compatible = "Realtek,rtk119x-timer";
reg = <0x1801b000 0x600>;
interrupts = <0x00 0x11 0x04>;
clock-frequency = <0x19bfcc0>;
};
timer1@1801b000 {
compatible = "Realtek,rtk119x-timer";
reg = <0x1801b000 0x600>;
interrupts = <0x00 0x12 0x04>;
clock-frequency = <0x19bfcc0>;
};
rtk_wdt@1801b5b0 {
compatible = "Realtek,rtk119x-wdt";
reg = <0x18007680 0x10>;
};
refclk@1801b540 {
compatible = "Realtek,rtk119x-refclk";
reg = <0x1801b000 0x1000>;
};
serial0@18007800 {
compatible = "snps,dw-apb-uart";
interrupt-parent = <0x08>;
reg = <0x18007800 0x400 0x18007000 0x100>;
interrupts-st-mask = <0x04>;
interrupts = <0x01 0x02>;
reg-shift = <0x02>;
reg-io-width = <0x04>;
clock-frequency = <0x19bfcc0>;
};
serial1@1801B200 {
compatible = "snps,dw-apb-uart";
interrupt-parent = <0x08>;
reg = <0x1801b200 0x100 0x1801b00c 0x100>;
interrupts-st-mask = <0x08>;
interrupts = <0x00 0x03 0x00 0x05>;
reg-shift = <0x02>;
reg-io-width = <0x04>;
clock-frequency = <0x19bfcc00>;
status = "dis";
};
irda@18007400 {
compatible = "Realtek,rtk119x-irda";
interrupt-parent = <0x08>;
reg = <0x18007000 0x400 0x18007400 0x100>;
interrupts = <0x01 0x05>;
};
se@1800c000 {
compatible = "Realtek,rtk119x-se";
reg = <0x1800c000 0x600>;
interrupts = <0x00 0x14 0x04>;
};
md@1800b000 {
compatible = "Realtek,rtk119x-md";
reg = <0x1800b000 0x100>;
interrupts = <0x00 0x26 0x04>;
status = "dis";
};
uio_rtk_ao {
compatible = "Realtek,uio_rtk_ao";
reg = <0x18000000 0x1000 0x18006000 0x1000 0x1800d000 0x1000 0x18071200 0x1000>;
};
rtk_dwc3@18013200 {
compatible = "Realtek,rtk119x-dwc3";
reg = <0x18013200 0x200>;
interrupts = <0x00 0x15 0x04>;
#address-cells = <0x01>;
#size-cells = <0x01>;
ranges;
dwc3@18020000 {
compatible = "synopsys,dwc3";
reg = <0x18020000 0x9000>;
interrupts = <0x00 0x15 0x04>;
usb-phy = <0x0e 0x0f>;
dr_mode = "host";
};
};
usb3phy {
compatible = "Realtek,rtk119x-usb3phy";
reg = <0x18013210 0x04>;
#address-cells = <0x01>;
#size-cells = <0x01>;
ranges;
linux,phandle = <0x0f>;
phandle = <0x0f>;
};
usb2phy {
compatible = "Realtek,rtk119x-usb2phy";
reg = <0x18028280 0x04 0x18013214 0x04>;
#address-cells = <0x01>;
#size-cells = <0x01>;
ranges;
linux,phandle = <0x0e>;
phandle = <0x0e>;
};
ehci@18013000 {
compatible = "Realtek,rtk119x-ehci";
reg = <0x18013000 0x400>;
interrupts = <0x00 0x15 0x04>;
};
ohci@18013400 {
compatible = "Realtek,rtk119x-ohci";
reg = <0x18013400 0x400>;
interrupts = <0x00 0x15 0x04>;
};
usb_otg_hs@18038000 {
compatible = "Realtek,rtk119x-usb-otg-hs";
reg = <0x18038000 0x8000>;
interrupts = <0x00 0x15 0x04>;
};
fb {
compatible = "Realtek,rtk-fb";
reg = <0x1e800000 0x1800000>;
resolution = <0x500 0x2d0>;
fps = <0x3c>;
buffer-cnt = <0x03>;
status = "disabled";
};
rpc@1801a104 {
compatible = "Realtek,rtk-rpc";
reg = <0x1801a104 0x0c>;
interrupts = <0x00 0x21 0x04>;
};
sb2@1801a000 {
compatible = "Realtek,rtk-sb2";
reg = <0x1801a000 0x900>;
interrupts = <0x00 0x24 0x04>;
status = "okay";
};
gmac@18016000 {
compatible = "Realtek,r8168";
reg = <0x18016000 0x1000>;
interrupts = <0x00 0x16 0x04>;
rtl-config = <0x01>;
mac-version = <0x2a>;
rtl-features = <0x02>;
status = "disabled";
};
cec0@18007500 {
compatible = "Realtek,rtk119x-cec0";
interrupt-parent = <0x08>;
reg = <0x18007500 0xe0 0x18007040 0x04>;
interrupts = <0x01 0x16>;
module-enable = <0x01>;
status = "disabled";
};
cec1@18037200 {
compatible = "Realtek,rtk119x-cec1";
reg = <0x18037200 0xf0 0x18007000 0xf00 0x18037500 0x10>;
interrupts = <0x00 0x22 0x04>;
module-enable = <0x01>;
status = "disabled";
};
hdmitx@1800D000 {
compatible = "Realtek,rtk119x-hdmitx";
reg = <0x1800d000 0x400>;
gpios = <0x02 0x06 0x00 0x00>;
interrupt-parent = <0x02>;
interrupts = <0x06>;
status = "disabled";
};
sdhci@18010c00 {
compatible = "Realtek,rtk119x-sdhci";
reg = <0x18010c00 0x100 0x18000000 0x50>;
interrupts = <0x00 0x2d 0x04>;
status = "dis";
};
emmc@18012000 {
compatible = "Realtek,rtk119x-emmc";
reg = <0x18012000 0x400 0x18000000 0x400 0x18010400 0x200 0x1801a000 0x80 0x18010c00 0x40>;
interrupts = <0x00 0x2a 0x04>;
speed-step = <0x00>;
status = "dis";
};
crsd@18010400 {
compatible = "Realtek,rtk119x-crsd";
reg = <0x18000000 0x400 0x18010400 0x200 0x1801a000 0x80 0x18012000 0x10 0x18010c00 0x40>;
interrupts = <0x00 0x2c 0x04>;
status = "disabled";
gpios = <0x0a 0x17 0x01 0x01>;
};
pmu {
compatible = "arm,cortex-a7-pmu";
interrupts = <0x00 0x30 0x04 0x00 0x31 0x04>;
status = "disabled";
};
vfd@18007200 {
compatible = "Realtek,rtk119x-vfd";
interrupt-parent = <0x08>;
reg = <0x18007000 0x100 0x18007200 0x100>;
interrupts = <0x01 0x0f 0x01 0x10 0x01 0x11 0x01 0x12>;
status = "disabled";
};
hdcp@1800D000 {
compatible = "Realtek,rtk119x-hdcp";
reg = <0x1800d000 0x400>;
interrupts = <0x00 0x1f 0x04>;
};
spi@1801bd00 {
compatible = "Realtek,rtk119x-spi";
reg = <0x1801bd00 0x28>;
pinctrl-names = "default";
pinctrl-0 = <0x10>;
spi-cs-gpio = <0x0a 0x02 0x01 0x01>;
status = "okay";
};
rtd1195-pwm@pwm {
compatible = "Realtek,rtd1195-pwm";
#pwm-cells = <0x02>;
reg = <0x180070d0 0x0c>;
status = "okay";
linux,phandle = <0x11>;
phandle = <0x11>;
pwm_0 {
enable = <0x01>;
clkout_div = <0xff>;
clksrc_div = <0x01>;
duty_rate = <0x00>;
};
pwm_1 {
enable = <0x01>;
clkout_div = <0xff>;
clksrc_div = <0x01>;
duty_rate = <0x00>;
};
pwm_2 {
enable = <0x00>;
clkout_div = <0xff>;
clksrc_div = <0x01>;
duty_rate = <0x32>;
};
pwm_3 {
enable = <0x00>;
clkout_div = <0xff>;
clksrc_div = <0x01>;
duty_rate = <0x32>;
};
};
motor0 {
compatible = "Realtek,motor0";
status = "okay";
pwms = <0x11 0x00 0x93f6>;
};
motor1 {
compatible = "Realtek,motor1";
status = "okay";
pwms = <0x11 0x01 0x93f6>;
};
rtd1195-lsadc@0x1801bc00 {
compatible = "Realtek,rtd1195-lsadc";
interrupt-parent = <0x08>;
interrupts = <0x00 0x15>;
status = "disabled";
rtd1195-lsadc-pad0@0 {
activate = <0x01>;
ctrl_mode = <0x00>;
sw_idx = <0x00>;
voltage_threshold = <0x20>;
};
rtd1195-lsadc-pad1@0 {
activate = <0x01>;
ctrl_mode = <0x00>;
sw_idx = <0x00>;
voltage_threshold = <0x10>;
};
};
rng@9801AA00 {
compatible = "Realtek,rtk-rng";
reg = <0x18001800 0x48>;
status = "okay";
};
firmware {
optee {
compatible = "linaro,optee-tz";
method = "smc";
};
};
soc {
#address-cells = <0x01>;
#size-cells = <0x01>;
reg = <0x18000000 0x70000>;
compatible = "simple-bus";
device_type = "soc";
ranges;
};
rtk,ion {
compatible = "Realtek,rtk-ion";
#address-cells = <0x01>;
#size-cells = <0x00>;
rtk,ion-heap@0 {
compatible = "Realtek,rtk-ion-reserve";
reg = <0x00>;
rtk,memory-reservation-size = <0x00>;
};
rtk,ion-heap@1 {
compatible = "Realtek,rtk-ion-reserve";
reg = <0x01>;
rtk,memory-reservation-size = <0x00>;
};
rtk,ion-heap@4 {
compatible = "Realtek,rtk-ion-reserve";
reg = <0x04>;
rtk,memory-reservation-size = <0x00>;
};
rtk,ion-heap@8 {
compatible = "Realtek,rtk-ion-reserve";
reg = <0x08>;
rtk,memory-reserve = <0x7a00000 0x10000 0x0f>;
};
rtk,ion-heap@7 {
compatible = "Realtek,rtk-ion-reserve";
reg = <0x07>;
rtk,memory-reserve = <0x5000000 0x2a00000 0x0f>;
};
};
bt@0 {
};
bt_wakeup_host@0 {
compatible = "Realtek,bt_wakeup_host";
realtek,bt-wakeup-gpio = <0x02 0x02 0x00 0x00>;
activity_level = "high";
status = "disabled";
};
scpu_wrapper@1801d000 {
compatible = "Realtek,rtk-scpu_wrapper";
reg = <0x1801d000 0x500>;
interrupts = <0x00 0x2e 0x04>;
};
rtc {
compatible = "Realtek,rtk119x-rtc";
reg = <0x1801b600 0x34 0x18007000 0xdc>;
rtc-base-year = <0x7de>;
};
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment