diff --git a/configs/vms/linux-aarch64-a1000-smp8-fada.dts b/configs/vms/linux-aarch64-a1000-smp8-fada.dts new file mode 100644 index 00000000..49cb3d06 --- /dev/null +++ b/configs/vms/linux-aarch64-a1000-smp8-fada.dts @@ -0,0 +1,3385 @@ +/dts-v1/; + +/memreserve/ 0x0000000018000000 0x0000000000100000; +/ { + compatible = "bst,a1000b"; + #address-cells = <0x02>; + #size-cells = <0x02>; + model = "BST A1000B FAD-A"; + + cpus { + #address-cells = <0x01>; + #size-cells = <0x00>; + + cpu@0 { + compatible = "arm,cortex-a55\0arm,armv8"; + device_type = "cpu"; + enable-method = "psci"; + next-level-cache = <0x03>; + reg = <0x00>; + cpu-idle-states = <0x04>; + phandle = <0x3a>; + }; + + cpu@1 { + compatible = "arm,cortex-a55\0arm,armv8"; + device_type = "cpu"; + enable-method = "psci"; + next-level-cache = <0x03>; + reg = <0x100>; + cpu-idle-states = <0x04>; + phandle = <0x3b>; + }; + + cpu@2 { + compatible = "arm,cortex-a55\0arm,armv8"; + device_type = "cpu"; + enable-method = "psci"; + next-level-cache = <0x03>; + reg = <0x200>; + cpu-idle-states = <0x04>; + phandle = <0x3c>; + }; + + cpu@3 { + compatible = "arm,cortex-a55\0arm,armv8"; + device_type = "cpu"; + enable-method = "psci"; + next-level-cache = <0x03>; + reg = <0x300>; + cpu-idle-states = <0x04>; + phandle = <0x3d>; + }; + + cpu@4 { + compatible = "arm,cortex-a55\0arm,armv8"; + device_type = "cpu"; + enable-method = "psci"; + next-level-cache = <0x03>; + reg = <0x400>; + cpu-idle-states = <0x04>; + phandle = <0x3e>; + }; + + cpu@5 { + compatible = "arm,cortex-a55\0arm,armv8"; + device_type = "cpu"; + enable-method = "psci"; + next-level-cache = <0x03>; + reg = <0x500>; + cpu-idle-states = <0x04>; + phandle = <0x3f>; + }; + + cpu@6 { + compatible = "arm,cortex-a55\0arm,armv8"; + device_type = "cpu"; + enable-method = "psci"; + next-level-cache = <0x03>; + reg = <0x600>; + cpu-idle-states = <0x04>; + phandle = <0x40>; + }; + + cpu@7 { + compatible = "arm,cortex-a55\0arm,armv8"; + device_type = "cpu"; + enable-method = "psci"; + next-level-cache = <0x03>; + reg = <0x700>; + cpu-idle-states = <0x04>; + phandle = <0x41>; + }; + + l2-cache0 { + compatible = "cache"; + phandle = <0x03>; + }; + + }; + + psci { + compatible = "arm,psci"; + method = "hvc"; + cpu_on = <0xc4000003>; + cpu_off = <0x84000002>; + cpu_suspend = <0xc4000001>; + }; + + misc_clk { + compatible = "fixed-clock"; + #clock-cells = <0x00>; + clock-frequency = <0x3d0900>; + phandle = <0x02>; + }; + + timer { + compatible = "arm,armv8-timer"; + interrupt-parent = <0x01>; + interrupts = <0x01 0x0d 0xff08 0x01 0x0e 0xff08 0x01 0x0b 0xff08 0x01 0x0a 0xff08>; + }; + + amba_apu@0 { + compatible = "simple-bus"; + #address-cells = <0x02>; + #size-cells = <0x01>; + ranges = <0x00 0x00 0x00 0x00 0xffffffff>; + + a1000bclkc@33002000 { + compatible = "bst,a1000b-clkc"; + osc-clk-frequency = <0x17d7840>; + rgmii0-rxclk-frequency = <0x7735940>; + rgmii1-rxclk-frequency = <0x7735940>; + ptp_clk-frequency = <0x7735940>; + #clock-cells = <0x01>; + reg = <0x00 0x33002000 0x1000 0x00 0x70035000 0x1000 0x00 0x20020000 0x1000 0x00 0x20021000 0x1000>; + phandle = <0x05>; + }; + + a1000rstc@0x3300217c { + compatible = "bst,a1000b-rstc"; + #reset-cells = <0x01>; + reg = <0x00 0x3300217c 0x04 0x00 0x33002180 0x04 0x00 0x70035008 0x04 0x00 0x20020000 0x04 0x00 0x20021000 0x04>; + phandle = <0x06>; + }; + + interrupt-controller@32000000 { + compatible = "arm,gic-400"; + #interrupt-cells = <0x03>; + interrupt-controller; + reg = <0x00 0x32001000 0x1000 0x00 0x32002000 0x2000 0x00 0x32004000 0x2000 0x00 0x32006000 0x2000>; + interrupt-parent = <0x01>; + interrupts = <0x01 0x09 0xff04>; + phandle = <0x01>; + }; + + a1000noc { + compatible = "bst,a1000-noc"; + echo-args = <0x01>; + noc-arg-num = <0x2a>; + noc-args = <0x3342000c 0x00 0x33420008 0x505 0x3342008c 0x00 0x33420088 0x505 0x3342010c 0x00 0x33420108 0x505 0x3342018c 0x00 0x33420188 0x505 0x3342020c 0x00 0x33420208 0x505 0x3342028c 0x00 0x33420288 0x505 0x3342030c 0x00 0x33420308 0x505 0x3342038c 0x00 0x33420388 0x303 0x3342040c 0x00 0x33420408 0x303 0x3342048c 0x00 0x33420488 0x303 0x3342050c 0x00 0x33420508 0x303 0x3342058c 0x00 0x33420588 0x303 0x3342060c 0x00 0x33420608 0x303 0x3342068c 0x00 0x33420688 0x303 0x3342070c 0x00 0x33420708 0x00 0x3342078c 0x00 0x33420788 0x707 0x3342080c 0x00 0x33420808 0x707 0x3342088c 0x00 0x33420888 0x707 0x3342090c 0x00 0x33420908 0x707 0x3340010c 0x00 0x33400108 0x505 0x3340018c 0x00 0x33400188 0x505>; + }; + + serial@20008000 { + status = "okay"; + compatible = "snps,dw-apb-uart"; + reg = <0x00 0x20008000 0x1000>; + interrupt-parent = <0x01>; + interrupts = <0x00 0xd5 0x04>; + clocks = <0x05 0x54 0x05 0x66>; + clock-names = "baudclk\0apb_pclk"; + resets = <0x06 0x1d>; + resets-names = "uart_reset"; + reg-shift = <0x02>; + reg-io-width = <0x04>; + pinctrl-names = "default"; + pinctrl-0 = <0x07>; + }; + + serial@2000a000 { + status = "okay"; + compatible = "snps,dw-apb-uart"; + reg = <0x00 0x2000a000 0x1000>; + interrupt-parent = <0x01>; + interrupts = <0x00 0xd6 0x04>; + clocks = <0x05 0x55 0x05 0x67>; + clock-names = "baudclk\0apb_pclk"; + resets = <0x06 0x17>; + resets-names = "uart_reset"; + reg-shift = <0x02>; + reg-io-width = <0x04>; + pinctrl-names = "default"; + pinctrl-0 = <0x08>; + }; + + serial@2000b000 { + status = "disable"; + compatible = "snps,dw-apb-uart"; + reg = <0x00 0x2000b000 0x1000>; + interrupt-parent = <0x01>; + interrupts = <0x00 0xd7 0x04>; + clocks = <0x05 0x70 0x05 0x7d>; + clock-names = "baudclk\0apb_pclk"; + resets = <0x06 0x29>; + resets-names = "uart_reset"; + reg-shift = <0x02>; + reg-io-width = <0x04>; + pinctrl-names = "default"; + pinctrl-0 = <0x09>; + }; + + serial@20009000 { + status = "okay"; + compatible = "snps,dw-apb-uart"; + reg = <0x00 0x20009000 0x1000>; + interrupt-parent = <0x01>; + interrupts = <0x00 0xd8 0x04>; + clocks = <0x05 0x6f 0x05 0x7e>; + clock-names = "baudclk\0apb_pclk"; + resets = <0x06 0x25>; + resets-names = "uart_reset"; + reg-shift = <0x02>; + reg-io-width = <0x04>; + pinctrl-names = "default"; + pinctrl-0 = <0x0a>; + }; + + dma-controller@33200000 { + status = "okay"; + compatible = "bst,dw-axi-gdma"; + reg = <0x00 0x33200000 0x1000>; + clocks = <0x05 0x2f 0x05 0x30>; + clock-names = "core-clk\0cfgr-clk"; + resets = <0x06 0x0c>; + reset-names = "gdma_reset"; + dma-channels = <0x08>; + snps,dma-masters = <0x01>; + snps,data-width = <0x04>; + snps,block-size = <0x1000 0x1000 0x1000 0x1000 0x1000 0x1000 0x1000 0x1000>; + snps,priority = <0x00 0x01 0x02 0x03 0x04 0x05 0x06 0x07>; + snps,axi-max-burst-len = <0x10>; + interrupt-parent = <0x01>; + interrupts = <0x00 0x90 0xff04 0x00 0x91 0xff04 0x00 0x92 0xff04 0x00 0x93 0xff04 0x00 0x94 0xff04 0x00 0x95 0xff04 0x00 0x96 0xff04 0x00 0x97 0xff04 0x00 0x98 0xff04>; + support-slave; + }; + + pcie-phy@30E02000 { + reg = <0x00 0x30e02000 0x1000>; + reg-names = "phy-base"; + dmc-lane = <0x01>; + dmc-mode = <0x02>; + pcie-ctl0 = <0x01>; + pcie-ctl1 = <0x00>; + phandle = <0x0b>; + }; + + pcie@30600000 { + status = "disable"; + compatible = "bst,dw-pcie-rc"; + device_type = "pci"; + controller-id = <0x00>; + bus-range = <0x00 0xff>; + linux,pci-domain = <0x00>; + reg = <0x00 0x30600000 0x10000 0x00 0x30700000 0x10000 0x00 0x30900000 0x40000 0x00 0x30980000 0x40000 0x00 0x40000000 0x40000>; + reg-names = "dbi\0dbi2\0atu\0dma\0config"; + num-iatu = <0x04>; + num-viewport = <0x04>; + #address-cells = <0x03>; + #size-cells = <0x02>; + ranges = <0x81000000 0x00 0x41000000 0x00 0x41000000 0x00 0x1000000 0x83000000 0x00 0x42000000 0x00 0x42000000 0x00 0x4000000>; + dma-ranges = <0x3000000 0x00 0x80000000 0x00 0x80000000 0x02 0x00>; + interrupt-parent = <0x01>; + interrupts = <0x00 0xc5 0x04 0x00 0xbf 0x04 0x00 0xc0 0x04 0x00 0xc1 0x04 0x00 0xc6 0x04>; + interrupt-names = "sys\0dma\0correctable\0uncorrectable\0other"; + #interrupt-cells = <0x01>; + interrupt-map-mask = <0x00 0x00 0x00 0x00>; + interrupt-map = <0x00 0x00 0x00 0x00 0x01 0x00 0xc5 0x04>; + pcie-phy = <0x0b>; + max-link-speed = <0x03>; + num-lanes = <0x02>; + picp-ctl = "mem"; + ob-memaddr-def = <0x0c>; + }; + + pcie0_ep@30600000 { + status = "disable"; + compatible = "bst,dw-pcie-ep"; + device_type = "pci"; + controller-id = <0x00>; + bus-range = <0x00 0x04>; + reg = <0x00 0x30600000 0x40000 0x00 0x30700000 0x40000 0x00 0x30900000 0x40000 0x00 0x30980000 0x40000 0x00 0x40000000 0x100000>; + reg-names = "dbi\0dbi2\0atu\0dma\0addr_space"; + num-ib-windows = <0x06>; + num-ob-windows = <0x06>; + max-functions = [04]; + pcie-phy = <0x0b>; + interrupt-parent = <0x01>; + interrupts = <0x00 0xc5 0x04 0x00 0xbf 0x04 0x00 0xc0 0x04 0x00 0xc1 0x04 0x00 0xc6 0x04>; + interrupt-names = "sys\0dma\0correctable\0uncorrectable\0other"; + #interrupt-cells = <0x01>; + interrupt-map-mask = <0x00 0x00 0x00 0x00>; + interrupt-map = <0x00 0x00 0x00 0x00 0x01 0x00 0xc5 0x04>; + }; + + pcie@30a00000 { + status = "disable"; + compatible = "bst,dw-pcie-ep"; + device_type = "pci"; + controller-id = <0x01>; + bus-range = <0x00 0x04>; + reg = <0x00 0x30a00000 0x40000 0x00 0x30b00000 0x40000 0x00 0x30d00000 0x40000 0x00 0x30d80000 0x40000 0x00 0x48000000 0x1000000>; + reg-names = "dbi\0dbi2\0atu\0dma\0addr_space"; + num-ib-windows = <0x06>; + num-ob-windows = <0x06>; + max-functions = [04]; + pcie-phy = <0x0b>; + interrupt-parent = <0x01>; + interrupts = <0x00 0xc2 0x04 0x00 0xc3 0x04 0x00 0xc4 0x04 0x00 0xc7 0x04>; + interrupt-names = "dma\0correctable\0uncorrectable\0other"; + #interrupt-cells = <0x01>; + interrupt-map-mask = <0x00 0x00 0x00 0x00>; + interrupt-map = <0x00 0x00 0x00 0x00 0x01 0x00 0xc5 0x04>; + }; + + pcie_vnet@0 { + status = "disable"; + compatible = "bst,pcie-vnet"; + vnet-id = <0x00>; + dma-chan-num = <0x01>; + rx_queues = <0x01>; + tx_queues = <0x01>; + tx-fifo-depth = <0x100>; + rx-fifo-depth = <0x100>; + extend-op = <0x10>; + memory-region = <0x0c>; + }; + + pcie_vnet@1 { + status = "disable"; + compatible = "bst,pcie-vnet"; + vnet-id = <0x01>; + dma-chan-num = <0x01>; + rx_queues = <0x01>; + tx_queues = <0x01>; + tx-fifo-depth = <0x100>; + rx-fifo-depth = <0x100>; + }; + + + + + gpio@20010000 { + status = "okay"; + #address-cells = <0x01>; + #size-cells = <0x00>; + compatible = "snps,dw-apb-gpio"; + reg = <0x00 0x20010000 0x1000>; + clocks = <0x05 0x62>; + clock-names = "bus"; + resets = <0x06 0x1c>; + resets-names = "gpio0_reset"; + pinctrl-names = "default"; + pinctrl-0 = <0x15 0x16 0x17 0x18 0x19 0x1a 0x1b>; + + gpio-controller@0 { + compatible = "snps,dw-apb-gpio-port"; + gpio-controller; + #gpio-cells = <0x02>; + snps,nr-gpios = <0x20>; + reg = <0x00>; + chipnum-base = <0x00>; + interrupt-controller; + #interrupt-cells = <0x03>; + interrupt-parent = <0x01>; + interrupts = <0x00 0xdf 0x04 0x00 0xe3 0x04 0x00 0xe4 0x04 0x00 0xe5 0x04 0x00 0xe6 0x04 0x00 0xe7 0x04 0x00 0xe8 0x04 0x00 0xe9 0x04 0x00 0xea 0x04>; + phandle = <0x1f>; + }; + + gpio-controller@1 { + compatible = "snps,dw-apb-gpio-port"; + gpio-controller; + #gpio-cells = <0x02>; + snps,nr-gpios = <0x20>; + reg = <0x01>; + chipnum-base = <0x20>; + phandle = <0x4a>; + }; + + gpio-controller@2 { + compatible = "snps,dw-apb-gpio-port"; + gpio-controller; + #gpio-cells = <0x02>; + snps,nr-gpios = <0x20>; + reg = <0x02>; + chipnum-base = <0x40>; + phandle = <0x47>; + }; + + gpio-controller@3 { + compatible = "snps,dw-apb-gpio-port"; + gpio-controller; + #gpio-cells = <0x02>; + snps,nr-gpios = <0x20>; + reg = <0x03>; + chipnum-base = <0x60>; + phandle = <0x54>; + }; + }; + + gpio@20011000 { + status = "okay"; + #address-cells = <0x01>; + #size-cells = <0x00>; + compatible = "snps,dw-apb-gpio"; + reg = <0x00 0x20011000 0x1000>; + clocks = <0x05 0x82>; + clock-names = "bus"; + resets = <0x06 0x27>; + resets-names = "gpio1_reset"; + + gpio-controller@0 { + compatible = "snps,dw-apb-gpio-port"; + gpio-controller; + #gpio-cells = <0x02>; + snps,nr-gpios = <0x20>; + reg = <0x00>; + chipnum-base = <0x80>; + interrupt-controller; + #interrupt-cells = <0x03>; + interrupt-parent = <0x01>; + interrupts = <0x00 0xe0 0x04>; + }; + + gpio-controller@1 { + compatible = "snps,dw-apb-gpio-port"; + gpio-controller; + #gpio-cells = <0x02>; + snps,nr-gpios = <0x20>; + reg = <0x01>; + chipnum-base = <0xa0>; + }; + + gpio-controller@2 { + compatible = "snps,dw-apb-gpio-port"; + gpio-controller; + #gpio-cells = <0x02>; + snps,nr-gpios = <0x20>; + reg = <0x02>; + chipnum-base = <0xc0>; + }; + + gpio-controller@3 { + compatible = "snps,dw-apb-gpio-port"; + gpio-controller; + #gpio-cells = <0x02>; + snps,nr-gpios = <0x20>; + reg = <0x03>; + chipnum-base = <0xe0>; + phandle = <0x0d>; + }; + }; + + watchdog@2001a000 { + status = "disable"; + compatible = "snps,dw-wdt"; + reg = <0x00 0x2001a000 0x1000>; + interrupt-parent = <0x01>; + interrupts = <0x00 0x5d 0x04>; + clocks = <0x05 0x5a 0x05 0x64>; + clock-names = "wclk\0pclk"; + resets = <0x06 0x1f>; + resets-names = "wdt_reset"; + response-mode = <0x00>; + bst_wdt_name = "lsp_wdt0"; + }; + + watchdog@2001b000 { + status = "okay"; + compatible = "snps,dw-wdt"; + reg = <0x00 0x2001b000 0x1000>; + interrupt-parent = <0x01>; + interrupts = <0x00 0x5e 0x04>; + clocks = <0x05 0x5b 0x05 0x65>; + clock-names = "wclk\0pclk"; + resets = <0x06 0x20>; + resets-names = "wdt_reset"; + response-mode = <0x00>; + bst_wdt_name = "lsp_wdt1"; + }; + + watchdog@2001c000 { + status = "okay"; + compatible = "snps,dw-wdt"; + reg = <0x00 0x2001c000 0x1000>; + interrupt-parent = <0x01>; + interrupts = <0x00 0x5f 0x04>; + clocks = <0x05 0x74 0x05 0x7b>; + clock-names = "wclk\0pclk"; + resets = <0x06 0x2e>; + resets-names = "wdt_reset"; + response-mode = <0x00>; + bst_wdt_name = "lsp_wdt2"; + }; + + watchdog@2001d000 { + status = "okay"; + compatible = "snps,dw-wdt"; + reg = <0x00 0x2001d000 0x1000>; + interrupt-parent = <0x01>; + interrupts = <0x00 0x60 0x04>; + clocks = <0x05 0x75 0x05 0x7c>; + clock-names = "wclk\0pclk"; + resets = <0x06 0x2f>; + resets-names = "wdt_reset"; + response-mode = <0x00>; + bst_wdt_name = "lsp_wdt3"; + }; + + watchdog@32009000 { + status = "okay"; + compatible = "snps,dw-wdt"; + reg = <0x00 0x32009000 0x1000>; + interrupt-parent = <0x01>; + interrupts = <0x00 0x43 0x04>; + clocks = <0x05 0x01>; + clock-names = "wclk"; + response-mode = <0x01>; + bst_wdt_name = "a55_wdt0"; + }; + + watchdog@3200a000 { + status = "okay"; + compatible = "snps,dw-wdt"; + reg = <0x00 0x3200a000 0x1000>; + interrupt-parent = <0x01>; + interrupts = <0x00 0x44 0x04>; + clocks = <0x05 0x01>; + clock-names = "wclk"; + response-mode = <0x01>; + bst_wdt_name = "a55_wdt1"; + }; + + watchdog@3200b000 { + status = "okay"; + compatible = "snps,dw-wdt"; + reg = <0x00 0x3200b000 0x1000>; + interrupt-parent = <0x01>; + interrupts = <0x00 0x45 0x04>; + clocks = <0x05 0x01>; + clock-names = "wclk"; + response-mode = <0x01>; + bst_wdt_name = "a55_wdt2"; + }; + + watchdog@3200c000 { + status = "okay"; + compatible = "snps,dw-wdt"; + reg = <0x00 0x3200c000 0x1000>; + interrupt-parent = <0x01>; + interrupts = <0x00 0x46 0x04>; + clocks = <0x05 0x01>; + clock-names = "wclk"; + response-mode = <0x01>; + bst_wdt_name = "a55_wdt3"; + }; + + watchdog@3200d000 { + status = "okay"; + compatible = "snps,dw-wdt"; + reg = <0x00 0x3200d000 0x1000>; + interrupt-parent = <0x01>; + interrupts = <0x00 0x47 0x04>; + clocks = <0x05 0x01>; + clock-names = "wclk"; + response-mode = <0x01>; + bst_wdt_name = "a55_wdt4"; + }; + + watchdog@3200e000 { + status = "okay"; + compatible = "snps,dw-wdt"; + reg = <0x00 0x3200e000 0x1000>; + interrupt-parent = <0x01>; + interrupts = <0x00 0x48 0x04>; + clocks = <0x05 0x01>; + clock-names = "wclk"; + response-mode = <0x01>; + bst_wdt_name = "a55_wdt5"; + }; + + watchdog@3200f000 { + status = "okay"; + compatible = "snps,dw-wdt"; + reg = <0x00 0x3200f000 0x1000>; + interrupt-parent = <0x01>; + interrupts = <0x00 0x49 0x04>; + clocks = <0x05 0x01>; + clock-names = "wclk"; + response-mode = <0x01>; + bst_wdt_name = "a55_wdt6"; + }; + + watchdog@32010000 { + status = "okay"; + compatible = "snps,dw-wdt"; + reg = <0x00 0x32010000 0x1000>; + interrupt-parent = <0x01>; + interrupts = <0x00 0x4a 0x04>; + clocks = <0x05 0x01>; + clock-names = "wclk"; + response-mode = <0x01>; + bst_wdt_name = "a55_wdt7"; + }; + + i2c@20000000 { + status = "okay"; + #address-cells = <0x01>; + #size-cells = <0x01>; + compatible = "snps,designware-i2c"; + reg = <0x00 0x20000000 0x1000>; + interrupt-parent = <0x01>; + interrupts = <0x00 0xcf 0x04>; + clock-frequency = <0x186a0>; + i2c-sda-hold-time-ns = <0x12c>; + i2c-sda-falling-time-ns = <0x12c>; + i2c-scl-falling-time-ns = <0x12c>; + clocks = <0x05 0x4b 0x05 0x49>; + clock-names = "LSP0_PCLK\0LSP0_WCLK"; + resets = <0x06 0x18>; + reset-names = "i2c0_reset"; + pinctrl-names = "default"; + pinctrl-0 = <0x1c>; + }; + + i2c@20001000 { + status = "okay"; + #address-cells = <0x01>; + #size-cells = <0x00>; + compatible = "snps,designware-i2c"; + reg = <0x00 0x20001000 0x1000>; + interrupt-parent = <0x01>; + interrupts = <0x00 0xd0 0x04>; + clock-frequency = <0xf4240>; + i2c-sda-hold-time-ns = <0x12c>; + i2c-sda-falling-time-ns = <0x12c>; + i2c-scl-falling-time-ns = <0x12c>; + clocks = <0x05 0x4b 0x05 0x49>; + clock-names = "LSP0_PCLK\0LSP0_WCLK"; + resets = <0x06 0x19>; + reset-names = "i2c1_reset"; + pinctrl-names = "default"; + pinctrl-0 = <0x1d>; + + max96789@40 { + compatible = "bst,max96789"; + reg = <0x40>; + channel_ids = <0x2a 0x3a 0x2a 0x3b>; + }; + }; + + i2c@20002000 { + status = "okay"; + #address-cells = <0x01>; + #size-cells = <0x00>; + compatible = "snps,designware-i2c"; + reg = <0x00 0x20002000 0x1000>; + interrupt-parent = <0x01>; + interrupts = <0x00 0xd1 0x04>; + clock-frequency = <0x186a0>; + i2c-sda-hold-time-ns = <0x12c>; + i2c-sda-falling-time-ns = <0x12c>; + i2c-scl-falling-time-ns = <0x12c>; + clocks = <0x05 0x4b 0x05 0x49>; + clock-names = "LSP0_PCLK\0LSP0_WCLK"; + resets = <0x06 0x1a>; + reset-names = "i2c2_reset"; + pinctrl-names = "default"; + pinctrl-0 = <0x1e>; + + max96712@29 { + compatible = "bst,maxim-deser-hub"; + type = "max96712"; + ctl-mode = "fad-ctl"; + reg = <0x29>; + lane-num = <0x02>; + i2c-port = <0x00>; + csi2-port = <0x00>; + lane-speed = <0x960>; + regs = <0x40>; + data-type = <0x2d>; + trigger-mode = <0x01>; + trigger-fps = <0x14>; + trigger-rx-gpio = <0x0a>; + trigger-tx-gpio = <0x08>; + maxim,hsync-invert = <0x00>; + maxim,vsync-invert = <0x00>; + maxim,linkrx-rate = <0x06 0x06 0x06 0x06>; + maxim,link-mode = "GMSL2"; + pdb-gpio = <0x1f 0x14 0x00>; + #address-cells = <0x01>; + #size-cells = <0x00>; + + csi-link { + + ports { + + port@0 { + clock-lanes = <0x00>; + data-lanes = <0x01 0x02 0x03 0x04>; + + endpoint { + remote-endpoint = <0x20>; + phandle = <0x71>; + }; + }; + }; + }; + + ports { + #address-cells = <0x01>; + #size-cells = <0x00>; + + port@0 { + reg = <0x00>; + + endpoint@0 { + remote-endpoint = <0x21>; + phandle = <0x2d>; + }; + }; + + port@1 { + reg = <0x01>; + + endpoint@1 { + remote-endpoint = <0x22>; + phandle = <0x2e>; + }; + }; + + port@2 { + reg = <0x02>; + + endpoint@2 { + remote-endpoint = <0x23>; + phandle = <0x2f>; + }; + }; + + port@3 { + reg = <0x03>; + + endpoint@3 { + remote-endpoint = <0x24>; + phandle = <0x30>; + }; + }; + }; + }; + + max96712@2a { + compatible = "bst,maxim-deser-hub"; + type = "max96712"; + ctl-mode = "fad-ctl"; + reg = <0x2a>; + i2c-port = <0x00>; + csi2-port = <0x00>; + lane-speed = <0x640>; + regs = <0x40>; + data-type = <0x2d>; + trigger-mode = <0x01>; + trigger-fps = <0x1e>; + trigger-rx-gpio = <0x01>; + maxim,hsync-invert = <0x00>; + maxim,vsync-invert = <0x00>; + maxim,linkrx-rate = <0x03 0x03 0x03 0x03>; + maxim,link-mode = "GMSL2"; + pdb-gpio = <0x1f 0x15 0x00>; + #address-cells = <0x01>; + #size-cells = <0x00>; + + csi-link { + + ports { + + port@0 { + clock-lanes = <0x00>; + data-lanes = <0x01 0x02 0x03 0x04>; + + endpoint { + remote-endpoint = <0x25>; + phandle = <0x76>; + }; + }; + }; + }; + + ports { + #address-cells = <0x01>; + #size-cells = <0x00>; + + port@0 { + reg = <0x00>; + + endpoint@0 { + remote-endpoint = <0x26>; + phandle = <0x31>; + }; + }; + + port@1 { + reg = <0x01>; + + endpoint@1 { + remote-endpoint = <0x27>; + phandle = <0x32>; + }; + }; + + port@2 { + reg = <0x02>; + + endpoint@2 { + remote-endpoint = <0x28>; + phandle = <0x33>; + }; + }; + + port@3 { + reg = <0x03>; + + endpoint@3 { + remote-endpoint = <0x29>; + phandle = <0x34>; + }; + }; + }; + }; + + max96712@2e { + compatible = "bst,maxim-deser-hub"; + type = "max96712"; + ctl-mode = "fad-ctl"; + reg = <0x2e>; + lane-num = <0x02>; + i2c-port = <0x00>; + csi2-port = <0x00>; + lane-speed = <0x960>; + regs = <0x40>; + data-type = <0x2d>; + trigger-mode = <0x01>; + trigger-fps = <0x14>; + trigger-rx-gpio = <0x0a>; + trigger-tx-gpio = <0x08>; + maxim,hsync-invert = <0x00>; + maxim,vsync-invert = <0x00>; + maxim,linkrx-rate = <0x06 0x06 0x06 0x06>; + maxim,link-mode = "GMSL2"; + pdb-gpio = <0x1f 0x17 0x00>; + #address-cells = <0x01>; + #size-cells = <0x00>; + + csi-link { + + ports { + + port@0 { + clock-lanes = <0x00>; + data-lanes = <0x01 0x02>; + + endpoint { + remote-endpoint = <0x2a>; + phandle = <0x7b>; + }; + }; + }; + }; + + ports { + #address-cells = <0x01>; + #size-cells = <0x00>; + + port@0 { + reg = <0x00>; + + endpoint@0 { + remote-endpoint = <0x2b>; + phandle = <0x35>; + }; + }; + + port@1 { + reg = <0x01>; + + endpoint@1 { + remote-endpoint = <0x2c>; + phandle = <0x36>; + }; + }; + }; + }; + + camera@70 { + reg = <0x70>; + ser-alias-id = <0x60>; + sensor-alias-id = <0x70>; + compatible = "bst,jk_ox08b"; + sensor-id = <0x36>; + data-type = <0x2d>; + fv-polarity_low = <0x00>; + fpd3-mode = "csi-2"; + serializer = "max9295"; + algo-bin = "ox08b/Ox08B40_raw14_hk_h120_AlgoParam.bin"; + iq-bin = "ox08b/Ox08B40_raw14_hk_h120_IqParam.bin"; + hdr-stagger-en = <0x01>; + exp-num = <0x01>; + pwl-format = <0x0f>; + dvp-data-type = <0x2d>; + vin-data-type = <0x2d>; + size = <0xf00 0x876>; + dvp-dummy = <0xaaa0>; + view0-fmt = <0x01>; + view0-size = <0x500 0x2d0>; + view1-fmt = <0x01>; + view1-size = <0xf00 0x870>; + pdns-mode = <0x00>; + pdns-input-view = <0x00>; + hblank = <0x00>; + input-crop = <0x00 0xf00 0x02 0x872>; + clock-frequency = <0x18>; + sensor-fps = <0x1e>; + maxim,rx_rate = <0x06>; + trigger-gpio = <0x01>; + trigger-tx-gpio = <0x08>; + serializer-id = <0x42>; + maxim,link-mode = "GMSL2"; + + port { + + endpoint@0 { + remote-endpoint = <0x2d>; + phandle = <0x21>; + }; + }; + }; + + camera71 { + status = "disabled"; + reg = <0x71>; + ser-alias-id = <0x61>; + sensor-alias-id = <0x71>; + compatible = "bst,jk_ox08b"; + sensor-id = <0x36>; + data-type = <0x2d>; + fv-polarity_low = <0x00>; + fpd3-mode = "csi-2"; + serializer = "max9295"; + algo-bin = "ox08b/Ox08B40_raw14_hk_h120_AlgoParam.bin"; + iq-bin = "ox08b/Ox08B40_raw14_hk_h120_IqParam.bin"; + hdr-stagger-en = <0x01>; + exp-num = <0x01>; + pwl-format = <0x0f>; + dvp-data-type = <0x2d>; + vin-data-type = <0x2d>; + size = <0xf00 0x876>; + dvp-dummy = <0xaaa0>; + view0-fmt = <0x01>; + view0-size = <0x500 0x2d0>; + view1-fmt = <0x01>; + view1-size = <0xf00 0x870>; + pdns-mode = <0x00>; + pdns-input-view = <0x00>; + hblank = <0x00>; + input-crop = <0x00 0xf00 0x02 0x872>; + clock-frequency = <0x18>; + sensor-fps = <0x1e>; + maxim,rx_rate = <0x06>; + trigger-gpio = <0x01>; + trigger-tx-gpio = <0x08>; + serializer-id = <0x42>; + maxim,link-mode = "GMSL2"; + + port { + + endpoint@0 { + remote-endpoint = <0x2e>; + phandle = <0x22>; + }; + }; + }; + + camera@72 { + status = "disabled"; + reg = <0x72>; + ser-alias-id = <0x62>; + sensor-alias-id = <0x72>; + compatible = "bst,jk_ox08b"; + sensor-id = <0x36>; + data-type = <0x2d>; + fv-polarity_low = <0x00>; + fpd3-mode = "csi-2"; + serializer = "max9295"; + algo-bin = "ox08b/Ox08B40_raw14_hk_h120_AlgoParam.bin"; + iq-bin = "ox08b/Ox08B40_raw14_hk_h120_IqParam.bin"; + hdr-stagger-en = <0x01>; + exp-num = <0x01>; + pwl-format = <0x0f>; + dvp-data-type = <0x2d>; + vin-data-type = <0x2d>; + size = <0xf00 0x876>; + dvp-dummy = <0xaaa0>; + view0-fmt = <0x01>; + view0-size = <0x500 0x2d0>; + view1-fmt = <0x01>; + view1-size = <0xf00 0x870>; + pdns-mode = <0x00>; + pdns-input-view = <0x00>; + hblank = <0x00>; + input-crop = <0x00 0xf00 0x02 0x872>; + clock-frequency = <0x18>; + sensor-fps = <0x1e>; + maxim,rx_rate = <0x06>; + trigger-gpio = <0x01>; + trigger-tx-gpio = <0x08>; + serializer-id = <0x42>; + maxim,link-mode = "GMSL2"; + + port { + + endpoint@0 { + remote-endpoint = <0x2f>; + phandle = <0x23>; + }; + }; + }; + + camera@73 { + status = "disabled"; + reg = <0x73>; + ser-alias-id = <0x63>; + sensor-alias-id = <0x73>; + compatible = "bst,jk_ox08b"; + sensor-id = <0x36>; + data-type = <0x2d>; + fv-polarity_low = <0x00>; + fpd3-mode = "csi-2"; + serializer = "max9295"; + algo-bin = "ox08b/Ox08B40_raw14_hk_h120_AlgoParam.bin"; + iq-bin = "ox08b/Ox08B40_raw14_hk_h120_IqParam.bin"; + hdr-stagger-en = <0x01>; + exp-num = <0x01>; + pwl-format = <0x0f>; + dvp-data-type = <0x2d>; + vin-data-type = <0x2d>; + size = <0xf00 0x876>; + dvp-dummy = <0xaaa0>; + view0-fmt = <0x01>; + view0-size = <0x500 0x2d0>; + view1-fmt = <0x01>; + view1-size = <0xf00 0x870>; + pdns-mode = <0x00>; + pdns-input-view = <0x00>; + hblank = <0x00>; + input-crop = <0x00 0xf00 0x02 0x872>; + clock-frequency = <0x18>; + sensor-fps = <0x1e>; + maxim,rx_rate = <0x06>; + trigger-gpio = <0x01>; + trigger-tx-gpio = <0x08>; + serializer-id = <0x42>; + maxim,link-mode = "GMSL2"; + + port { + + endpoint@0 { + remote-endpoint = <0x30>; + phandle = <0x24>; + }; + }; + }; + + camera@54 { + reg = <0x54>; + ser-alias-id = <0x64>; + sensor-alias-id = <0x54>; + compatible = "bst,ofilm_ox3c"; + sensor-id = <0x36>; + data-type = <0x2d>; + fv-polarity-low = <0x00>; + fpd3-mode = "csi-2"; + serializer = "max96717f"; + algo-bin = "ox3c/0X03C10_raw14_OF_h100_AlgoParam.bin"; + iq-bin = "ox3c/0X03C10_raw14_OF_h100_IqParam.bin"; + hdr-stagger-en = <0x01>; + exp-num = <0x01>; + pwl-format = <0x0f>; + dvp-data-type = <0x2d>; + vin-data-type = <0x2d>; + size = <0x780 0x506>; + dvp-dummy = <0xabcd>; + view0-fmt = <0x01>; + view0-size = <0x500 0x2d0>; + view1-fmt = <0x01>; + view1-size = <0x780 0x438>; + pdns-mode = <0x00>; + pdns-input-view = <0x00>; + hblank = <0x00>; + input-crop = <0x00 0x780 0x64 0x49c>; + sensor-fps = <0x1e>; + trigger-gpio = <0x00>; + trigger-tx-gpio = <0x00>; + maxim,rx_rate = <0x03>; + serializer-id = <0x42>; + maxim,link-mode = "GMSL2"; + + port { + + endpoint@0 { + remote-endpoint = <0x31>; + phandle = <0x26>; + }; + }; + }; + + camera@55 { + reg = <0x55>; + ser-alias-id = <0x65>; + sensor-alias-id = <0x55>; + compatible = "bst,ofilm_ox3c"; + sensor-id = <0x36>; + data-type = <0x2d>; + fv-polarity-low = <0x00>; + fpd3-mode = "csi-2"; + serializer = "max96717f"; + algo-bin = "ox3c/0X03C10_raw14_OF_h100_AlgoParam.bin"; + iq-bin = "ox3c/0X03C10_raw14_OF_h100_IqParam.bin"; + hdr-stagger-en = <0x01>; + exp-num = <0x01>; + pwl-format = <0x0f>; + dvp-data-type = <0x2d>; + vin-data-type = <0x2d>; + size = <0x780 0x506>; + dvp-dummy = <0xabcd>; + view0-fmt = <0x01>; + view0-size = <0x500 0x2d0>; + view1-fmt = <0x01>; + view1-size = <0x780 0x438>; + pdns-mode = <0x00>; + pdns-input-view = <0x00>; + hblank = <0x00>; + input-crop = <0x00 0x780 0x64 0x49c>; + sensor-fps = <0x1e>; + trigger-gpio = <0x00>; + trigger-tx-gpio = <0x00>; + maxim,rx_rate = <0x03>; + serializer-id = <0x42>; + maxim,link-mode = "GMSL2"; + + port { + + endpoint@0 { + remote-endpoint = <0x32>; + phandle = <0x27>; + }; + }; + }; + + camera@56 { + reg = <0x56>; + ser-alias-id = <0x66>; + sensor-alias-id = <0x56>; + compatible = "bst,ofilm_ox3c"; + sensor-id = <0x36>; + data-type = <0x2d>; + fv-polarity-low = <0x00>; + fpd3-mode = "csi-2"; + serializer = "max96717f"; + algo-bin = "ox3c/0X03C10_raw14_OF_h100_AlgoParam.bin"; + iq-bin = "ox3c/0X03C10_raw14_OF_h100_IqParam.bin"; + hdr-stagger-en = <0x01>; + exp-num = <0x01>; + pwl-format = <0x0f>; + dvp-data-type = <0x2d>; + vin-data-type = <0x2d>; + size = <0x780 0x506>; + dvp-dummy = <0xabcd>; + view0-fmt = <0x01>; + view0-size = <0x500 0x2d0>; + view1-fmt = <0x01>; + view1-size = <0x780 0x438>; + pdns-mode = <0x00>; + pdns-input-view = <0x00>; + hblank = <0x00>; + input-crop = <0x00 0x780 0x64 0x49c>; + sensor-fps = <0x1e>; + trigger-gpio = <0x00>; + trigger-tx-gpio = <0x00>; + maxim,rx_rate = <0x03>; + serializer-id = <0x42>; + maxim,link-mode = "GMSL2"; + + port { + + endpoint@0 { + remote-endpoint = <0x33>; + phandle = <0x28>; + }; + }; + }; + + camera@57 { + reg = <0x57>; + ser-alias-id = <0x67>; + sensor-alias-id = <0x57>; + compatible = "bst,ofilm_ox3c"; + sensor-id = <0x36>; + data-type = <0x2d>; + fv-polarity-low = <0x00>; + fpd3-mode = "csi-2"; + serializer = "max96717f"; + algo-bin = "ox3c/0X03C10_raw14_OF_h100_AlgoParam.bin"; + iq-bin = "ox3c/0X03C10_raw14_OF_h100_IqParam.bin"; + hdr-stagger-en = <0x01>; + exp-num = <0x01>; + pwl-format = <0x0f>; + dvp-data-type = <0x2d>; + vin-data-type = <0x2d>; + size = <0x780 0x506>; + dvp-dummy = <0xabcd>; + view0-fmt = <0x01>; + view0-size = <0x500 0x2d0>; + view1-fmt = <0x01>; + view1-size = <0x780 0x438>; + pdns-mode = <0x00>; + pdns-input-view = <0x00>; + hblank = <0x00>; + input-crop = <0x00 0x780 0x64 0x49c>; + sensor-fps = <0x1e>; + trigger-gpio = <0x00>; + trigger-tx-gpio = <0x00>; + maxim,rx_rate = <0x03>; + serializer-id = <0x42>; + maxim,link-mode = "GMSL2"; + + port { + + endpoint@0 { + remote-endpoint = <0x34>; + phandle = <0x29>; + }; + }; + }; + + camera@58 { + reg = <0x58>; + ser-alias-id = <0x48>; + sensor-alias-id = <0x58>; + compatible = "bst,jk_ox08b"; + sensor-id = <0x36>; + data-type = <0x2d>; + fv-polarity_low = <0x00>; + fpd3-mode = "csi-2"; + serializer = "max9295"; + algo-bin = "ox08b/Ox08B40_raw14_hk_h120_AlgoParam.bin"; + iq-bin = "ox08b/Ox08B40_raw14_hk_h120_IqParam.bin"; + hdr-stagger-en = <0x01>; + exp-num = <0x01>; + pwl-format = <0x0f>; + dvp-data-type = <0x2d>; + vin-data-type = <0x2d>; + size = <0xf00 0x876>; + dvp-dummy = <0xaaa0>; + view0-fmt = <0x01>; + view0-size = <0x500 0x2d0>; + view1-fmt = <0x01>; + view1-size = <0xf00 0x870>; + pdns-mode = <0x00>; + pdns-input-view = <0x00>; + hblank = <0x00>; + input-crop = <0x00 0xf00 0x02 0x872>; + clock-frequency = <0x18>; + sensor-fps = <0x1e>; + maxim,rx_rate = <0x06>; + trigger-gpio = <0x01>; + trigger-tx-gpio = <0x08>; + serializer-id = <0x42>; + maxim,link-mode = "GMSL2"; + + port { + + endpoint@0 { + remote-endpoint = <0x35>; + phandle = <0x2b>; + }; + }; + }; + + camera@59 { + status = "disabled"; + reg = <0x59>; + ser-alias-id = <0x49>; + sensor-alias-id = <0x59>; + compatible = "bst,jk_ox08b"; + sensor-id = <0x36>; + data-type = <0x2d>; + fv-polarity_low = <0x00>; + fpd3-mode = "csi-2"; + serializer = "max9295"; + algo-bin = "ox08b/Ox08B40_raw14_hk_h120_AlgoParam.bin"; + iq-bin = "ox08b/Ox08B40_raw14_hk_h120_IqParam.bin"; + hdr-stagger-en = <0x01>; + exp-num = <0x01>; + pwl-format = <0x0f>; + dvp-data-type = <0x2d>; + vin-data-type = <0x2d>; + size = <0xf00 0x876>; + dvp-dummy = <0xaaa0>; + view0-fmt = <0x01>; + view0-size = <0x500 0x2d0>; + view1-fmt = <0x01>; + view1-size = <0xf00 0x870>; + pdns-mode = <0x00>; + pdns-input-view = <0x00>; + hblank = <0x00>; + input-crop = <0x00 0xf00 0x02 0x872>; + clock-frequency = <0x18>; + sensor-fps = <0x1e>; + maxim,rx_rate = <0x06>; + trigger-gpio = <0x01>; + trigger-tx-gpio = <0x08>; + serializer-id = <0x42>; + maxim,link-mode = "GMSL2"; + + port { + + endpoint@0 { + remote-endpoint = <0x36>; + phandle = <0x2c>; + }; + }; + }; + }; + + i2c@20003000 { + status = "okay"; + #address-cells = <0x01>; + #size-cells = <0x01>; + compatible = "snps,designware-i2c"; + reg = <0x00 0x20003000 0x1000>; + interrupt-parent = <0x01>; + interrupts = <0x00 0xd2 0x04>; + clock-frequency = <0x186a0>; + i2c-sda-hold-time-ns = <0x12c>; + i2c-sda-falling-time-ns = <0x12c>; + i2c-scl-falling-time-ns = <0x12c>; + clocks = <0x05 0x4c 0x05 0x4a>; + clock-names = "LSP1_PCLK\0LSP1_WCLK"; + resets = <0x06 0x2c>; + reset-names = "i2c3_reset"; + pinctrl-names = "default"; + pinctrl-0 = <0x37>; + }; + + i2c@20004000 { + status = "okay"; + #address-cells = <0x01>; + #size-cells = <0x00>; + compatible = "snps,designware-i2c"; + reg = <0x00 0x20004000 0x1000>; + interrupt-parent = <0x01>; + interrupts = <0x00 0xd3 0x04>; + clock-frequency = <0x186a0>; + i2c-sda-hold-time-ns = <0x12c>; + i2c-sda-falling-time-ns = <0x12c>; + i2c-scl-falling-time-ns = <0x12c>; + clocks = <0x05 0x4c 0x05 0x4a>; + clock-names = "LSP1_PCLK\0LSP1_WCLK"; + resets = <0x06 0x2d>; + reset-names = "i2c4_reset"; + pinctrl-names = "default"; + pinctrl-0 = <0x38>; + + lt9211@2d { + compatible = "bst,lt9211"; + reg = <0x2d>; + }; + }; + + i2c@20005000 { + status = "okay"; + #address-cells = <0x01>; + #size-cells = <0x01>; + compatible = "snps,designware-i2c"; + reg = <0x00 0x20005000 0x1000>; + interrupt-parent = <0x01>; + interrupts = <0x00 0xd4 0x04>; + clock-frequency = <0x186a0>; + i2c-sda-hold-time-ns = <0x12c>; + i2c-sda-falling-time-ns = <0x12c>; + i2c-scl-falling-time-ns = <0x12c>; + clocks = <0x05 0x4c 0x05 0x4a>; + clock-names = "LSP1_PCLK\0LSP1_WCLK"; + resets = <0x06 0x26>; + reset-names = "i2c5_reset"; + pinctrl-names = "default"; + pinctrl-0 = <0x39>; + }; + + ddr_ecc { + status = "okay"; + compatible = "bst,a1000_ddr_ecc"; + reg = <0x00 0x38000000 0x1400 0x00 0x3c000000 0x1400 0x00 0x33000000 0x140>; + reg-names = "ddr0\0ddr1\0a55_ctrl"; + interrupt-parent = <0x01>; + interrupts = <0x00 0x8b 0x04 0x00 0x8d 0x04>; + interrupt-names = "ddr0_ecc_irq\0ddr1_ecc_irq"; + mbox-names = "bstn-mbox"; + }; + + arm_pmu { + status = "okay"; + compatible = "arm,armv8-pmuv3"; + interrupt-parent = <0x01>; + interrupts = <0x00 0x38 0xff04 0x00 0x39 0xff04 0x00 0x3a 0xff04 0x00 0x3b 0xff04 0x00 0x3c 0xff04 0x00 0x3d 0xff04 0x00 0x3e 0xff04 0x00 0x3f 0xff04>; + interrupt-affinity = <0x3a 0x3b 0x3c 0x3d 0x3e 0x3f 0x40 0x41>; + }; + + noc_pmu@0x32702000 { + status = "okay"; + compatible = "bst,bst_noc_pmu"; + reg = <0x00 0x32702000 0x1000 0x00 0x32703000 0x1000 0x00 0x32704000 0x2000 0x00 0x32708000 0x1000 0x00 0x33402000 0x2400 0x00 0x33422000 0x4400 0x00 0x33401100 0x10 0x00 0x33421480 0x10>; + reg-names = "coresight_cpunoc_etf\0coresight_etr\0coresight_funnel\0coresight_corenoc_etf\0cpu_port_set\0core_port_set\0cpunoc_atb\0corenoc_atb"; + memory-region = <0x42>; + }; + + lsp0_pwm0@20012000 { + status = "disable"; + compatible = "snps,bst-pwm"; + clocks = <0x05 0x56 0x05 0x6b>; + clock-names = "wclk\0pclk"; + clock-frequency = <0x17d7840>; + reg = <0x00 0x20012000 0x14 0x00 0x200120b0 0x04>; + reg-names = "base\0top"; + pwm-ch = <0x01>; + pinctrl-names = "default"; + pinctrl-0 = <0x43>; + }; + + lsp0_pwm1@20012014 { + status = "disable"; + compatible = "snps,bst-pwm"; + clocks = <0x05 0x57 0x05 0x6b>; + clock-names = "wclk\0pclk"; + clock-frequency = <0x17d7840>; + reg = <0x00 0x20012014 0x14 0x00 0x200120b4 0x04>; + reg-names = "base\0top"; + pwm-ch = <0x01>; + pinctrl-names = "default"; + pinctrl-0 = <0x44>; + }; + + lsp1_pwm0@20013000 { + status = "disable"; + compatible = "snps,bst-pwm"; + clocks = <0x05 0x71 0x05 0x7a>; + clock-names = "wclk\0pclk"; + clock-frequency = <0x17d7840>; + reg = <0x00 0x20013000 0x14 0x00 0x200130b0 0x04>; + reg-names = "base\0top"; + pwm-ch = <0x01>; + pinctrl-names = "default"; + pinctrl-0 = <0x45>; + }; + + lsp1_pwm1@20013014 { + status = "disable"; + compatible = "snps,bst-pwm"; + clocks = <0x05 0x72 0x05 0x7a>; + clock-names = "wclk\0pclk"; + clock-frequency = <0x17d7840>; + reg = <0x00 0x20013014 0x14 0x00 0x200130b4 0x04>; + reg-names = "base\0top"; + pwm-ch = <0x01>; + pinctrl-names = "default"; + pinctrl-0 = <0x46>; + }; + + a55_timer0@32008000 { + status = "disable"; + compatible = "snps,dw-apb-timer"; + clock-frequency = <0x14dc9380>; + interrupt-parent = <0x01>; + interrupts = <0x00 0x4b 0x04>; + reg = <0x00 0x32008000 0x14>; + }; + + a55_timer1@32008014 { + status = "disable"; + compatible = "snps,dw-apb-timer"; + clock-frequency = <0x14dc9380>; + interrupt-parent = <0x01>; + interrupts = <0x00 0x4c 0x04>; + reg = <0x00 0x32008014 0x14>; + }; + + a55_timer2@32008028 { + status = "disable"; + compatible = "snps,dw-apb-timer"; + clock-frequency = <0x14dc9380>; + interrupt-parent = <0x01>; + interrupts = <0x00 0x4d 0x04>; + reg = <0x00 0x32008028 0x14>; + }; + + a55_timer3@3200803c { + status = "disable"; + compatible = "snps,dw-apb-timer"; + clock-frequency = <0x14dc9380>; + interrupt-parent = <0x01>; + interrupts = <0x00 0x4e 0x04>; + reg = <0x00 0x3200803c 0x14>; + }; + + a55_timer4@32008050 { + status = "disable"; + compatible = "snps,dw-apb-timer"; + clock-frequency = <0x14dc9380>; + interrupt-parent = <0x01>; + interrupts = <0x00 0x4f 0x04>; + reg = <0x00 0x32008050 0x14>; + }; + + a55_timer5@32008064 { + status = "disable"; + compatible = "snps,dw-apb-timer"; + clock-frequency = <0x14dc9380>; + interrupt-parent = <0x01>; + interrupts = <0x00 0x50 0x04>; + reg = <0x00 0x32008064 0x14>; + }; + + a55_timer6@32008078 { + status = "disable"; + compatible = "snps,dw-apb-timer"; + clock-frequency = <0x14dc9380>; + interrupt-parent = <0x01>; + interrupts = <0x00 0x51 0x04>; + reg = <0x00 0x32008078 0x14>; + }; + + a55_timer7@3200808c { + status = "disable"; + compatible = "snps,dw-apb-timer"; + clock-frequency = <0x14dc9380>; + interrupt-parent = <0x01>; + interrupts = <0x00 0x52 0x04>; + reg = <0x00 0x3200808c 0x14>; + }; + + spi@2000c000 { + status = "disable"; + compatible = "snps,dw-apb-ssi"; + #address-cells = <0x01>; + #size-cells = <0x00>; + reg = <0x00 0x2000c000 0x800>; + interrupt-parent = <0x01>; + interrupts = <0x00 0xdb 0x04>; + clocks = <0x05 0x58 0x05 0x68>; + clock-names = "spi_wclk\0spi_pclk"; + num-cs = <0x01>; + bus-num = <0x00>; + cs-gpios = <0x47 0x02 0x00>; + pinctrl-names = "default"; + pinctrl-0 = <0x48>; + }; + + spi@2000d000 { + status = "disable"; + compatible = "snps,dw-apb-ssi"; + #address-cells = <0x01>; + #size-cells = <0x00>; + reg = <0x00 0x2000d000 0x800>; + interrupt-parent = <0x01>; + interrupts = <0x00 0xdc 0x04>; + clocks = <0x05 0x73 0x05 0x80>; + clock-names = "spi_wclk\0spi_pclk"; + num-cs = <0x01>; + bus-num = <0x01>; + cs-gpios = <0x47 0x06 0x00>; + pinctrl-names = "default"; + pinctrl-0 = <0x49>; + }; + + spi@2000c800 { + status = "disable"; + compatible = "snps,dw-apb-ssi"; + #address-cells = <0x01>; + #size-cells = <0x00>; + reg = <0x00 0x2000c800 0x800>; + interrupt-parent = <0x01>; + interrupts = <0x00 0xf4 0x04>; + clocks = <0x05 0x58 0x05 0x68>; + clock-names = "spi_wclk\0spi_pclk"; + num-cs = <0x01>; + bus-num = <0x02>; + cs-gpios = <0x4a 0x08 0x00>; + pinctrl-names = "default"; + pinctrl-0 = <0x4b 0x4c>; + }; + + spi@2000d800 { + status = "disable"; + compatible = "snps,dw-apb-ssi"; + #address-cells = <0x01>; + #size-cells = <0x00>; + reg = <0x00 0x2000d800 0x800>; + interrupt-parent = <0x01>; + interrupts = <0x00 0xf5 0x04>; + clocks = <0x05 0x73 0x05 0x80>; + clock-names = "spi_wclk\0spi_pclk"; + num-cs = <0x01>; + bus-num = <0x03>; + cs-gpios = <0x4a 0x10 0x00>; + pinctrl-names = "default"; + pinctrl-0 = <0x4d 0x4e>; + }; + + spi@20022000 { + status = "okay"; + compatible = "snps,dw-apb-ssi"; + #address-cells = <0x01>; + #size-cells = <0x00>; + reg = <0x00 0x20022000 0x800>; + interrupt-parent = <0x01>; + interrupts = <0x00 0xe2 0x04>; + clocks = <0x05 0x58 0x05 0x68>; + clock-names = "spi_wclk\0spi_pclk"; + num-cs = <0x01>; + bus-num = <0x04>; + cs-gpios = <0x47 0x02 0x00>; + pinctrl-names = "default"; + pinctrl-0 = <0x4f>; + spi-slave; + + slave@0 { + compatible = "rohm,dh2228fv"; + reg = <0x00>; + spi-max-frequency = <0x989680>; + }; + }; + + spi@20023000 { + status = "disable"; + compatible = "snps,dw-apb-ssi"; + #address-cells = <0x01>; + #size-cells = <0x00>; + reg = <0x00 0x20023000 0x800>; + interrupt-parent = <0x01>; + interrupts = <0x00 0xe1 0x04>; + clocks = <0x05 0x73 0x05 0x80>; + clock-names = "spi_wclk\0spi_pclk"; + num-cs = <0x01>; + bus-num = <0x05>; + cs-gpios = <0x47 0x06 0x00>; + pinctrl-names = "default"; + pinctrl-0 = <0x50>; + }; + + i2s-play@2000e000 { + status = "disable"; + compatible = "snps,designware-i2s"; + reg = <0x00 0x2000e000 0x1000>; + interrupt-names = "play_irq"; + interrupt-parent = <0x01>; + interrupts = <0x00 0xdd 0x04>; + clocks = <0x05 0x61 0x05 0x59>; + clock-names = "i2spclk\0i2sclk"; + play; + channel = <0x02>; + #sound-dai-cells = <0x00>; + pinctrl-names = "default"; + pinctrl-0 = <0x51>; + }; + + i2s-rec@2000f000 { + status = "disable"; + compatible = "snps,designware-i2s"; + reg = <0x00 0x2000f000 0x1000>; + interrupt-names = "record_irq"; + interrupt-parent = <0x01>; + interrupts = <0x00 0xde 0x04>; + clocks = <0x02>; + record; + channel = <0x02>; + #sound-dai-cells = <0x00>; + pinctrl-names = "default"; + pinctrl-0 = <0x52>; + }; + + qspi@00000000 { + status = "okay"; + compatible = "snps,dwc-ssi-1.01a"; + #address-cells = <0x01>; + #size-cells = <0x00>; + reg = <0x00 0x00 0x4000000>; + interrupt-parent = <0x01>; + interrupts = <0x00 0xd9 0x04>; + clocks = <0x05 0x4d 0x05 0x4e>; + clock-names = "hclk\0wclk"; + work-mode = <0x01>; + reg-io-width = <0x04>; + bst,use-gpio-cs; + spi-rx-bus-width = <0x04>; + spi-tx-bus-width = <0x04>; + cs-gpios = <0x47 0x15 0x00>; + num-cs = <0x01>; + bus-num = <0x06>; + pinctrl-names = "default"; + pinctrl-0 = <0x53>; + + qspi0-nor0@0 { + #address-cells = <0x01>; + #size-cells = <0x01>; + spi-rx-bus-width = <0x01>; + spi-tx-bus-width = <0x01>; + compatible = "jedec,spi-nor"; + status = "okay"; + spi-max-frequency = <0xf4240>; + reg = <0x00>; + mode = <0x00>; + powerctl-fada-gpios = <0x1f 0x1b 0x00>; + powerctl-fadb-gpios = <0x1f 0x1c 0x00>; + + partition@0 { + reg = <0x00 0x1e00000>; + label = "nor0_part0"; + }; + + partition@1e00000 { + reg = <0x1e00000 0x200000>; + label = "nor0_part1"; + }; + }; + }; + + qspi@14000000 { + status = "disable"; + compatible = "snps,dwc-ssi-1.01a"; + #address-cells = <0x01>; + #size-cells = <0x00>; + reg = <0x00 0x14000000 0x4000000>; + interrupt-parent = <0x01>; + interrupts = <0x00 0xda 0x04>; + clocks = <0x05 0x4f 0x05 0x50>; + clock-names = "hclk\0wclk"; + work-mode = <0x01>; + reg-io-width = <0x04>; + bst,use-gpio-cs; + spi-rx-bus-width = <0x04>; + spi-tx-bus-width = <0x04>; + cs-gpios = <0x54 0x01 0x00>; + num-cs = <0x01>; + bus-num = <0x07>; + pinctrl-names = "default"; + pinctrl-0 = <0x55>; + }; + + stmmac-axi-config { + snps,wr_osr_lmt = <0x0f>; + snps,rd_osr_lmt = <0x0f>; + snps,axi_fb; + snps,blen = <0x04 0x08 0x10 0x00 0x00 0x00 0x00>; + phandle = <0x56>; + }; + + rx-queues-config { + snps,rx-queues-to-use = <0x04>; + snps,rx-sched-sp; + phandle = <0x57>; + + queue0 { + snps,dcb-algorithm; + snps,map-to-dma-channel = <0x00>; + snps,priority = <0x00>; + }; + + queue1 { + snps,dcb-algorithm; + snps,map-to-dma-channel = <0x01>; + snps,priority = <0x01>; + }; + + queue2 { + snps,dcb-algorithm; + snps,map-to-dma-channel = <0x02>; + snps,priority = <0x02>; + }; + + queue3 { + snps,dcb-algorithm; + snps,map-to-dma-channel = <0x03>; + snps,priority = <0x03>; + }; + }; + + tx-queues-config { + snps,tx-queues-to-use = <0x04>; + snps,tx-sched-wrr; + phandle = <0x58>; + + queue0 { + snps,weight = <0x10>; + snps,dcb-algorithm; + snps,priority = <0x00>; + }; + + queue1 { + snps,weight = <0x10>; + snps,dcb-algorithm; + snps,priority = <0x01>; + }; + + queue2 { + snps,weight = <0x10>; + snps,dcb-algorithm; + snps,priority = <0x02>; + }; + + queue3 { + snps,weight = <0x10>; + snps,dcb-algorithm; + snps,priority = <0x03>; + }; + }; + + thermal@70039000 { + status = "okay"; + compatible = "bst,bst-thermal"; + reg = <0x00 0x70039000 0x1000>; + #thermal-sensor-cells = <0x00>; + phandle = <0x61>; + }; + + ethernet@30000000 { + status = "okay"; + compatible = "bst,dw-eqos-eth"; + reg = <0x00 0x30000000 0x100000>; + interrupt-parent = <0x01>; + interrupts = <0x00 0x9f 0xff04 0x00 0xa0 0xff04 0x00 0xa1 0xff04 0x00 0xa2 0xff04 0x00 0xa3 0xff04 0x00 0xa4 0xff04 0x00 0xa5 0xff04 0x00 0xa6 0xff04 0x00 0xa7 0xff04 0x00 0xa8 0xff04 0x00 0xa9 0xff04 0x00 0xaa 0xff04>; + interrupt-names = "sbd_irq\0sfty_ce_irq\0sfty_ue_irq\0tx_chan0_irq\0tx_chan1_irq\0tx_chan2_irq\0tx_chan3_irq\0rx_chan0_irq\0rx_chan1_irq\0rx_chan2_irq\0rx_chan3_irq\0eth_lpi"; + ethernet-id = <0x00>; + mac-address = [00 00 00 00 00 00]; + max-frame-size = <0xed8>; + phy-mode = "rgmii"; + snps,multicast-filter-bins = <0x100>; + snps,perfect-filter-entries = <0x80>; + rx-fifo-depth = <0x4000>; + tx-fifo-depth = <0x4000>; + clocks = <0x05 0x0f 0x05 0x13 0x05 0x15 0x05 0x11>; + clock-names = "wclk\0axim_aclk\0pclk\0ptp_ref"; + bst,fix-safety = <0x00>; + bst,dma_int_mode = <0x01>; + snps,fixed-burst; + snps,force_sf_dma_mode; + snps,ps-speed = <0x3e8>; + snps,axi-config = <0x56>; + snps,mtl-rx-config = <0x57>; + snps,mtl-tx-config = <0x58>; + label = "gmac0"; + resets = <0x06 0x11>; + reset-names = "bstgmaceth"; + eth-name = "gmac0"; + eth-number = <0x00>; + mac-mode = "rgmii"; + extend-op = <0x02>; + pinctrl-names = "default"; + pinctrl-0 = <0x59>; + + fixed-link { + speed = <0x3e8>; + full-duplex; + }; + }; + + ethernet@30100000 { + status = "okay"; + compatible = "bst,dw-eqos-eth"; + reg = <0x00 0x30100000 0x100000>; + interrupt-parent = <0x01>; + interrupts = <0x00 0xab 0xff04 0x00 0xac 0xff04 0x00 0xad 0xff04 0x00 0xae 0xff04 0x00 0xaf 0xff04 0x00 0xb0 0xff04 0x00 0xb1 0xff04 0x00 0xb2 0xff04 0x00 0xb3 0xff04 0x00 0xb4 0xff04 0x00 0xb5 0xff04 0x00 0xb6 0xff04>; + interrupt-names = "sbd_irq\0sfty_ce_irq\0sfty_ue_irq\0tx_chan0_irq\0tx_chan1_irq\0tx_chan2_irq\0tx_chan3_irq\0rx_chan0_irq\0rx_chan1_irq\0rx_chan2_irq\0rx_chan3_irq\0eth_lpi"; + ethernet-id = <0x01>; + mac-address = [00 00 00 00 00 00]; + max-frame-size = <0xed8>; + phy-mode = "rgmii"; + snps,multicast-filter-bins = <0x100>; + snps,perfect-filter-entries = <0x80>; + rx-fifo-depth = <0x4000>; + tx-fifo-depth = <0x4000>; + clocks = <0x05 0x10 0x05 0x14 0x05 0x16 0x05 0x12>; + clock-names = "wclk\0axim_aclk\0pclk\0ptp_ref"; + bst,fix-safety = <0x00>; + bst,dma_int_mode = <0x01>; + snps,fixed-burst; + snps,force_sf_dma_mode; + snps,ps-speed = <0x3e8>; + snps,axi-config = <0x56>; + snps,mtl-rx-config = <0x57>; + snps,mtl-tx-config = <0x58>; + label = "gmac1"; + resets = <0x06 0x12>; + reset-names = "bstgmaceth"; + pinctrl-names = "default"; + pinctrl-0 = <0x5a>; + extend-op = <0x02>; + eth-name = "gmac1"; + eth-number = <0x01>; + mac-mode = "rgmii"; + phy-handle = <0x5b>; + + mdio1 { + compatible = "snps,dwmac-mdio"; + #address-cells = <0x01>; + #size-cells = <0x00>; + + eth_phy1@1 { + compatible = "marvell,88Q2112\0ethernet-phy-id002B.0983\0ethernet-phy-ieee802.3-c45"; + device_type = "ethernet-phy"; + max-speed = <0x3e8>; + reg = <0x07>; + reset-gpios = <0x1f 0x09 0x01>; + reset-active-low; + reset-assert-us = <0x4e20>; + reset-deassert-us = <0x4e20>; + phandle = <0x5b>; + }; + }; + }; + + phy@30E01000 { + compatible = "bst,dwc-usb-phy"; + #phy-cells = <0x00>; + reg = <0x00 0x30e01000 0x1000>; + usb_mode = "usb20"; + phandle = <0x5e>; + }; + + phy@30E00000 { + compatible = "bst,dwc-usb-phy"; + reg = <0x00 0x30e00000 0x1000>; + #phy-cells = <0x00>; + usb_mode = "usb30"; + pll_type = "internal"; + phandle = <0x5c>; + }; + + usb3 { + compatible = "bst,dwc3usb"; + status = "okay"; + ranges; + #address-cells = <0x02>; + #size-cells = <0x01>; + clock-names = "suspend\0ref\0axi\0apb"; + clocks = <0x05 0x17 0x05 0x18 0x05 0x19 0x05 0x1a>; + resets = <0x06 0x04>; + reset-names = "usb3_reset"; + phys = <0x5c>; + phy-names = "usb-phy"; + pll_type = "internal"; + powerctl-gpios = <0x1f 0x0e 0x00>; + pinctrl-names = "default"; + pinctrl-0 = <0x5d>; + + dwc3@30200000 { + compatible = "snps,dwc3"; + reg-shift = <0x02>; + reg-io-width = <0x04>; + reg = <0x00 0x30200000 0x100000>; + interrupts = <0x00 0xc8 0x04>; + interrupt-parent = <0x01>; + dr_mode = "host"; + snps,dis_u3_susphy_quirk; + }; + }; + + usb2 { + compatible = "bst,dwc3usb"; + status = "okay"; + ranges; + #address-cells = <0x02>; + #size-cells = <0x01>; + clock-names = "ahb\0ref\0apb"; + clocks = <0x05 0x1b 0x05 0x1d 0x05 0x1c>; + reset-names = "usb2_reset"; + resets = <0x06 0x05>; + phys = <0x5e>; + phy-names = "usb-phy"; + pll_type = "internal"; + + dwc3@30300000 { + status = "okay"; + compatible = "snps,dwc3"; + reg = <0x00 0x30300000 0x100000>; + interrupts = <0x00 0xc9 0x04>; + interrupt-parent = <0x01>; + dr_mode = "peripheral"; + snps,incr-burst-type-adjustment = <0x01 0x04 0x08 0x10>; + snps,reqinfo-for-data-read = <0x08>; + snps,reqinfo-for-descriptor-read = <0x08>; + }; + }; + + dwmmc0@30400000 { + status = "okay"; + compatible = "bst,dwcmshc-sdhci"; + clocks = <0x05 0x1f 0x05 0x1e>; + clock-names = "core\0bus"; + reg = <0x00 0x30400000 0x1000>; + interrupt-parent = <0x01>; + interrupts = <0x00 0xb9 0x04>; + interrupt-names = "IRQDWMMC0"; + #address-cells = <0x01>; + #size-cells = <0x00>; + data-addr = <0x200>; + fifo-watermark-aligned; + clock-frequency = <0x2faf080>; + max-frequency = <0xbebc200>; + min-frequency = <0x61a80>; + broken-64bit-dma; + clear-tarns-mode; + fifo-depth = <0x400>; + card-detect-delay = <0xc8>; + bus-width = <0x08>; + cap-mmc-highspeed; + non-removable; + no-sdio; + no-sd; + keep-power-in-suspend; + no-3-3-v; + sdhci,auto-cmd12; + pinctrl-names = "default"; + pinctrl-0 = <0x5f>; + }; + + dwmmc1@30500000 { + status = "okay"; + compatible = "bst,dwcmshc-sdhci"; + clocks = <0x05 0x21 0x05 0x20>; + clock-names = "core\0bus"; + reg = <0x00 0x30500000 0x1000>; + interrupt-parent = <0x01>; + interrupts = <0x00 0xbd 0x04>; + interrupt-names = "IRQDWMMC1"; + #address-cells = <0x01>; + #size-cells = <0x00>; + data-addr = <0x200>; + fifo-watermark-aligned; + clock-frequency = <0x5f5e100>; + max-frequency = <0xbebc200>; + min-frequency = <0x61a80>; + broken-64bit-dma; + clear-tarns-mode; + fifo-depth = <0x400>; + card-detect-delay = <0xc8>; + bus-width = <0x04>; + cap-sd-highspeed; + sd-uhs-sdr12; + sd-uhs-sdr25; + sd-uhs-sdr50; + no-sdio; + no-mmc; + sdhci,auto-cmd12; + keep-power-in-suspend; + pinctrl-names = "default"; + pinctrl-0 = <0x60>; + }; + + gpu@33300000 { + status = "okay"; + compatible = "arm,mali-450\0arm,mali-utgard"; + reg = <0x00 0x33300000 0x30000>; + interrupt-parent = <0x01>; + interrupts = <0x00 0x81 0x04 0x00 0x82 0x04 0x00 0x83 0x04 0x00 0x84 0x04 0x00 0x85 0x04 0x00 0x86 0x04 0x00 0x87 0x04 0x00 0x88 0x04>; + interrupt-names = "IRQPP0\0IRQPPMMU0\0IRQPP1\0IRQPPMMU1\0IRQGP\0IRQGPMMU\0IRQPMU\0IRQPP"; + clocks = <0x05 0x31 0x05 0x32>; + clock-names = "clk_mali\0clk_mali_apb"; + resets = <0x06 0x0b>; + reset-names = "gpu_reset"; + ppcores = <0x02>; + dedicated_mem_start = <0x00>; + dedicated_mem_size = <0x00>; + }; + + mali-v500@0x55000000 { + status = "okay"; + compatible = "arm,mali-v500"; + reg = <0x00 0x55000000 0xffff>; + interrupt-parent = <0x01>; + interrupts = <0x00 0x9a 0x04>; + interrupt-names = "IRQV500"; + resets = <0x06 0x00>; + reset-names = "codec_reset"; + clocks = <0x05 0x3d>; + clock-names = "clk_v500"; + }; + }; + + cooling_dev { + + pwm { + cpumask = <0x0f>; + capacitance = <0x5dc>; + #cooling-cells = <0x02>; + phandle = <0x63>; + }; + }; + + thermal-zones { + + cpu-thermal { + polling-delay-passive = <0x1f4>; + polling-delay = <0x3e8>; + thermal-sensors = <0x61>; + + trips { + + switch_trip { + temperature = <0x15f90>; + hysteresis = <0x7d0>; + type = "passive"; + phandle = <0x62>; + }; + + critical_trip { + temperature = <0x1e848>; + hysteresis = <0x00>; + type = "critical"; + }; + }; + + cooling-maps { + + map0 { + trip = <0x62>; + cooling-device = <0x63 0x00 0x01>; + }; + }; + }; + }; + + pinctrl@70038000 { + status = "okay"; + compatible = "bst,pinctrl-a1000b"; + #address-cells = <0x02>; + #size-cells = <0x02>; + reg = <0x00 0x70038000 0x00 0x1000 0x00 0x33001000 0x00 0x1000>; + reg-names = "aon\0top"; + #gpio-cells = <0x02>; + + spi0_pinctrl { + phandle = <0x48>; + + mux { + pins = "spi0_miso\0spi0_mosi\0spi0_sclk"; + function = "spi0"; + }; + }; + + spi1_pinctrl { + phandle = <0x49>; + + mux { + pins = "spi1_miso\0spi1_mosi\0spi1_sclk"; + function = "spi1"; + }; + }; + + spi2_pinctrl { + phandle = <0x4b>; + + mux { + pins = "uart0_cts\0uart1_cts\0uart1_rts"; + function = "spi2"; + }; + }; + + spi2_cs_pinctrl { + phandle = <0x4c>; + + mux { + pins = "uart0_rts"; + function = "gpio"; + }; + }; + + spi3_pinctrl { + phandle = <0x4d>; + + mux { + pins = "uart2_cts\0uart3_cts\0uart3_rts"; + function = "spi3"; + }; + }; + + spi3_cs_pinctrl { + phandle = <0x4e>; + + mux { + pins = "uart2_rts"; + function = "gpio"; + }; + }; + + spi4_pinctrl { + phandle = <0x4f>; + + mux { + pins = "spi0_miso\0spi0_mosi\0spi0_sclk\0spi0_cs"; + function = "spi0_s"; + }; + }; + + spi5_pinctrl { + phandle = <0x50>; + + mux { + pins = "spi1_miso\0spi1_mosi\0spi1_sclk"; + function = "spi1_s"; + }; + }; + + i2c0_pinctrl { + phandle = <0x1c>; + + mux { + pins = "i2c0_scl\0i2c0_sda"; + function = "i2c0"; + }; + }; + + i2c1_pinctrl { + phandle = <0x1d>; + + mux { + pins = "i2c1_scl\0i2c1_sda"; + function = "i2c1"; + }; + }; + + i2c2_pinctrl { + phandle = <0x1e>; + + mux { + pins = "i2c2_scl\0i2c2_sda"; + function = "i2c2"; + }; + }; + + i2c3_pinctrl { + phandle = <0x37>; + + mux { + pins = "i2c3_scl\0i2c3_sda"; + function = "i2c3"; + }; + }; + + i2c4_pinctrl { + phandle = <0x38>; + + mux { + pins = "i2c4_scl\0i2c4_sda"; + function = "i2c4"; + }; + }; + + i2c5_pinctrl { + phandle = <0x39>; + + mux { + pins = "i2c5_scl\0i2c5_sda"; + function = "i2c5"; + }; + }; + + uart0_pinctrl { + phandle = <0x07>; + + mux { + pins = "uart0_txd\0uart0_rxd"; + function = "uart0"; + }; + }; + + uart1_pinctrl { + phandle = <0x08>; + + mux { + pins = "uart1_txd\0uart1_rxd"; + function = "uart1"; + }; + }; + + uart2_pinctrl { + phandle = <0x09>; + + mux { + pins = "uart2_txd\0uart2_rxd"; + function = "uart2"; + }; + }; + + uart3_pinctrl { + phandle = <0x0a>; + + mux { + pins = "uart3_txd\0uart3_rxd"; + function = "uart3"; + }; + }; + + gpio0_pinctrl { + + mux { + pins = "gpio_29"; + function = "gpio"; + }; + }; + + gpio_special_func_pinctrl { + + mux { + pins = "gpio_24\0gpio_29\0debug4\0debug5\0uart0_cts\0uart0_rts"; + function = "gpio"; + }; + }; + + qspi0_pinctrl { + phandle = <0x53>; + + mux { + pins = "qspi0_cs0"; + function = "gpio"; + }; + }; + + usb3_pinctrl { + phandle = <0x5d>; + + mux { + pins = "gpio_14"; + function = "gpio"; + }; + }; + + qspi1_pinctrl { + phandle = <0x55>; + + mux { + pins = "qspi1_cs1"; + function = "gpio"; + }; + }; + + des_960_1_pinctrl { + + mux { + pins = "qspi1_io1"; + function = "gpio"; + }; + }; + + des_960_2_pinctrl { + + mux { + pins = "qspi1_io3"; + function = "gpio"; + }; + }; + + des_960_3_pinctrl { + + mux { + pins = "qspi1_io5"; + function = "gpio"; + }; + }; + + bist_pinctrl { + + mux { + pins = "spi1_mosi"; + function = "bist"; + }; + }; + + + + + + i2s0_pinctrl { + phandle = <0x51>; + + mux { + pins = "i2s0_ck\0i2s0_mck\0i2s0_sd_out\0i2s0_ws\0qspi0_io4"; + function = "i2s0"; + }; + }; + + i2s1_pinctrl { + phandle = <0x52>; + + mux { + pins = "i2s1_ck\0i2s1_sd_in\0i2s1_ws"; + function = "i2s1"; + }; + }; + + isp_pinctrl { + phandle = <0x66>; + + mux { + pins = "isp_fsync0\0isp_fsync1\0isp_fsync2\0isp_fsync3"; + function = "isp"; + }; + }; + + ptp_pinctrl { + + mux { + pins = "ptp_pps0\0ptp_pps1\0ptp_clk"; + function = "ptp"; + }; + }; + + ptp_pinconfig { + + config { + pins = "ptp_clk"; + drive-strength = <0x02>; + input-enable; + }; + }; + + err_rpt_l0_pinctrl { + + mux { + pins = "err_rpt_l0_n\0err_rpt_l0_p"; + function = "err_rpt_l0"; + }; + }; + + err_rpt_gpio_l0_pinctrl { + + mux { + pins = "err_rpt_l0_n\0err_rpt_l0_p"; + function = "gpio"; + }; + }; + + err_rpt_l1_pinctrl { + + mux { + pins = "err_rpt_l1_n\0err_rpt_l1_p"; + function = "err_rpt_l1"; + }; + }; + + pwm_lsp0_pwm0_pinctrl { + phandle = <0x43>; + + mux { + pins = "pwm0"; + function = "pwm"; + }; + }; + + pwm_lsp0_pwm1_pinctrl { + phandle = <0x44>; + + mux { + pins = "pwm1"; + function = "pwm"; + }; + }; + + pwm_lsp1_pwm0_pinctrl { + phandle = <0x45>; + + mux { + pins = "pwm2"; + function = "pwm"; + }; + }; + + pwm_lsp1_pwm1_pinctrl { + phandle = <0x46>; + + mux { + pins = "pwm3"; + function = "pwm"; + }; + }; + + ts_pinctrl { + + mux { + pins = "ts_trig_in00\0ts_trig_in01\0ts_trig_in10\0ts_trig_in11"; + function = "ts"; + }; + }; + + sdemmc0_pinctrl { + phandle = <0x15>; + + mux { + pins = "sdemmc0_clk\0sdemmc0_cmd\0sdemmc0_dat0\0sdemmc0_dat1\0sdemmc0_dat2\0sdemmc0_dat3\0sdemmc0_dat4\0sdemmc0_dat5\0sdemmc0_dat6\0sdemmc0_dat7\0sdemmc0_rstb\0sdemmc0_cdn\0sdemmc0_wp"; + function = "sdemmc0"; + }; + }; + + sdemmc0_pinconfig { + phandle = <0x5f>; + + config { + pins = "sdemmc0_clk\0sdemmc0_cmd\0sdemmc0_dat0\0sdemmc0_dat1\0sdemmc0_dat2\0sdemmc0_dat3\0sdemmc0_dat4\0sdemmc0_dat5\0sdemmc0_dat6\0sdemmc0_dat7\0sdemmc0_rstb\0sdemmc0_cdn\0sdemmc0_wp"; + drive-strength = <0x02>; + input-enable; + }; + }; + + sdemmc1_pinctrl { + phandle = <0x16>; + + mux { + pins = "sdemmc1_clk\0sdemmc1_cmd\0sdemmc1_dat0\0sdemmc1_dat1\0sdemmc1_dat2\0sdemmc1_dat3\0sdemmc1_dat4\0sdemmc1_dat5\0sdemmc1_dat6\0sdemmc1_dat7\0sdemmc1_rstb\0sdemmc1_cdn\0sdemmc1_wp"; + function = "sdemmc1"; + }; + }; + + sdemmc1_pinconfig { + phandle = <0x60>; + + config { + pins = "sdemmc1_clk\0sdemmc1_cmd\0sdemmc1_dat0\0sdemmc1_dat1\0sdemmc1_dat2\0sdemmc1_dat3\0sdemmc1_dat4\0sdemmc1_dat5\0sdemmc1_dat6\0sdemmc1_dat7\0sdemmc1_rstb\0sdemmc1_cdn\0sdemmc1_wp"; + drive-strength = <0x0f>; + input-enable; + }; + }; + + debug_pinctrl { + phandle = <0x17>; + + mux { + pins = "debug0\0debug1\0debug2\0debug3\0debug4\0debug5\0debug6\0debug7"; + function = "debug"; + }; + }; + + strap_pinctrl { + + mux { + pins = "gpio_24\0gpio_25\0gpio_26\0gpio_27\0gpio_28\0gpio_29\0spi1_sclk\0i2s0_mck\0i2s0_ck\0gpio_107\0gpio_108"; + function = "strap"; + }; + }; + + vout_pinctrl { + phandle = <0x18>; + + mux { + pins = "vout_r0\0vout_r1\0vout_r2\0vout_r3\0vout_r4\0vout_r5\0vout_r6\0vout_r7\0vout_g0\0vout_g1\0vout_g2\0vout_g3\0vout_g4\0vout_g5\0vout_g6\0vout_g7\0vout_b0\0vout_b1\0vout_b2\0vout_b3\0vout_b4\0vout_b5\0vout_b6\0vout_b7\0vout_hs\0vout_vs\0vout_de\0vout_pclk\0vout_pdb"; + function = "vout"; + }; + }; + + vout_pinconfig { + + config { + pins = "vout_r0\0vout_r1\0vout_r2\0vout_r3\0vout_r4\0vout_r5\0vout_r6\0vout_r7\0vout_g0\0vout_g1\0vout_g2\0vout_g3\0vout_g4\0vout_g5\0vout_g6\0vout_g7\0vout_b0\0vout_b1\0vout_b2\0vout_b3\0vout_b4\0vout_b5\0vout_b6\0vout_b7\0vout_hs\0vout_vs\0vout_de\0vout_pclk\0vout_pdb"; + drive-strength = <0x02>; + input-enable; + }; + }; + + vin_pinctrl { + phandle = <0x19>; + + mux { + pins = "vin_b0\0vin_b1\0vin_b2\0vin_b3\0vin_b4\0vin_de\0vin_g0\0vin_g1\0vin_g2\0vin_g3\0vin_g4\0vin_g5\0vin_hs\0vin_llc\0vin_r0\0vin_r1\0vin_r2\0vin_r3\0vin_r4\0vin_vs"; + function = "vin"; + }; + }; + + vin_pinconfig { + + config { + pins = "vin_b0\0vin_b1\0vin_b2\0vin_b3\0vin_b4\0vin_de\0vin_g0\0vin_g1\0vin_g2\0vin_g3\0vin_g4\0vin_g5\0vin_hs\0vin_llc\0vin_r0\0vin_r1\0vin_r2\0vin_r3\0vin_r4\0vin_vs"; + drive-strength = <0x02>; + input-enable; + }; + }; + + rgmii0_pinctrl { + phandle = <0x59>; + + mux { + pins = "rgmii0_txd0\0rgmii0_txd1\0rgmii0_txd2\0rgmii0_txd3\0gmii0_txd4\0gmii0_txd5\0gmii0_txd6\0gmii0_txd7\0gmii0_txer\0rgmii0_txctrl\0mii0_txclk\0rgmii0_gtxclk\0rgmii0_rxd0\0rgmii0_rxd1\0rgmii0_rxd2\0rgmii0_rxd3\0gmii0_rxd4\0gmii0_rxd5\0gmii0_rxd6\0gmii0_rxd7\0gmii0_rxer\0rgmii0_rxctrl\0rgmii0_rxclk\0rgmii0_mdio\0rgmii0_mdc\0rgmii0_intr"; + function = "rgmii0"; + }; + }; + + rgmii0_pinconfig { + + config { + pins = "rgmii0_gtxclk\0rgmii0_mdc\0rgmii0_mdio\0rgmii0_rxclk\0rgmii0_rxctrl\0rgmii0_rxd0\0rgmii0_rxd1\0rgmii0_rxd2\0rgmii0_rxd3\0rgmii0_txctrl\0rgmii0_txd0\0rgmii0_txd1\0rgmii0_txd2\0rgmii0_txd3"; + drive-strength = <0x02>; + input-enable; + }; + }; + + rgmii1_pinctrl { + phandle = <0x5a>; + + mux { + pins = "rgmii1_txd0\0rgmii1_txd1\0rgmii1_txd2\0rgmii1_txd3\0mii1_rxer\0mii1_txclk\0rgmii1_txctrl\0rgmii1_gtxclk\0rgmii1_rxd0\0rgmii1_rxd1\0rgmii1_rxd2\0rgmii1_rxd3\0rgmii1_rxctrl\0rgmii1_rxclk\0rgmii1_mdc\0rgmii1_mdio\0rgmii1_intr"; + function = "rgmii1"; + }; + }; + + rgmii1_pinconfig { + + config { + pins = "rgmii1_gtxclk\0rgmii1_mdc\0rgmii1_mdio\0rgmii1_rxclk\0rgmii1_rxctrl\0rgmii1_rxd0\0rgmii1_rxd1\0rgmii1_rxd2\0rgmii1_rxd3\0rgmii1_txctrl\0rgmii1_txd0\0rgmii1_txd1\0rgmii1_txd2\0rgmii1_txd3"; + drive-strength = <0x02>; + input-enable; + }; + }; + + gmii0_pinconfig { + + config { + pins = "gmii0_rxd4\0gmii0_rxd5\0gmii0_rxd6\0gmii0_rxd7\0gmii0_rxer\0gmii0_txd4\0gmii0_txd5\0gmii0_txd6\0gmii0_txd7\0gmii0_txer"; + drive-strength = <0x02>; + input-enable; + }; + }; + + ssd_pinctrl { + + mux { + pins = "sdemmc0_led_ctl\0sdemmc1_led_ctl\0gpio_26\0gpio_27"; + function = "gpio"; + }; + }; + + gnss_pinctrl { + + mux { + pins = "gpio_31\0gpio_12\0pwm1"; + function = "gpio"; + }; + }; + + fan_pinctrl { + phandle = <0x1a>; + + mux { + pins = "gpio_27\0gpio_28"; + function = "gpio"; + }; + }; + + + + + board_special_func_pinctrl { + phandle = <0x1b>; + + mux { + pins = "vout_pdb\0gpio_31"; + function = "gpio"; + }; + }; + }; + + isp { + #address-cells = <0x02>; + #size-cells = <0x02>; + compatible = "bst,a1000b-isp"; + memory-region = <0x64 0x65>; + assigned-mem-size = <0x1000>; + mbox-names = "bstn-mbox"; + mboxes = <0xea 0x06>; + isp-fw-fbuf-addr = <0xa2000000>; + isp-fw-fbuf-size = <0x10000000>; + dma-coherent; + pinctrl-names = "default"; + pinctrl-0 = <0x66>; + + core@0 { + id = <0x00>; + + ports { + #address-cells = <0x01>; + #size-cells = <0x00>; + + port@0 { + reg = <0x00>; + + endpoint@0 { + remote-endpoint = <0x67>; + phandle = <0x72>; + }; + }; + + port@1 { + reg = <0x01>; + + endpoint@1 { + remote-endpoint = <0x68>; + phandle = <0x73>; + }; + }; + + port@2 { + reg = <0x02>; + + endpoint@2 { + remote-endpoint = <0x69>; + phandle = <0x74>; + }; + }; + + port@3 { + reg = <0x03>; + + endpoint@3 { + remote-endpoint = <0x6a>; + phandle = <0x75>; + }; + }; + }; + }; + + core@1 { + id = <0x01>; + + ports { + #address-cells = <0x01>; + #size-cells = <0x00>; + + port@0 { + reg = <0x00>; + + endpoint@4 { + remote-endpoint = <0x6b>; + phandle = <0x77>; + }; + }; + + port@1 { + reg = <0x01>; + + endpoint@5 { + remote-endpoint = <0x6c>; + phandle = <0x78>; + }; + }; + + port@2 { + reg = <0x02>; + + endpoint@6 { + remote-endpoint = <0x6d>; + phandle = <0x79>; + }; + }; + + port@3 { + reg = <0x03>; + + endpoint@7 { + remote-endpoint = <0x6e>; + phandle = <0x7a>; + }; + }; + }; + }; + + core@2 { + id = <0x02>; + + ports { + #address-cells = <0x01>; + #size-cells = <0x00>; + + port@0 { + reg = <0x00>; + + endpoint@8 { + remote-endpoint = <0x6f>; + phandle = <0x7c>; + }; + }; + + port@1 { + reg = <0x01>; + + endpoint@9 { + remote-endpoint = <0x70>; + phandle = <0x7d>; + }; + }; + }; + }; + }; + + csi@0 { + compatible = "bst,a1000b_csi2"; + #address-cells = <0x01>; + #size-cells = <0x00>; + clock-lanes = <0x00>; + data-lanes = <0x01 0x02>; + lane-speed = <0x960>; + id = <0x00>; + resets = <0x06 0x0d>; + reset-names = "csi0_reset"; + + csi-link { + + ports { + + port@0 { + + endpoint@0 { + remote-endpoint = <0x71>; + phandle = <0x20>; + }; + }; + }; + }; + + ports { + #address-cells = <0x01>; + #size-cells = <0x00>; + + port@0 { + reg = <0x00>; + + endpoint@0 { + remote-endpoint = <0x72>; + phandle = <0x67>; + }; + }; + + port@1 { + reg = <0x01>; + + endpoint@1 { + remote-endpoint = <0x73>; + phandle = <0x68>; + }; + }; + + port@2 { + reg = <0x02>; + + endpoint@2 { + remote-endpoint = <0x74>; + phandle = <0x69>; + }; + }; + + port@3 { + reg = <0x03>; + + endpoint@3 { + remote-endpoint = <0x75>; + phandle = <0x6a>; + }; + }; + }; + }; + + csi@1 { + compatible = "bst,a1000b_csi2"; + #address-cells = <0x01>; + #size-cells = <0x00>; + clock-lanes = <0x00>; + data-lanes = <0x01 0x02 0x03 0x04>; + lane-speed = <0x640>; + id = <0x01>; + resets = <0x06 0x0e>; + reset-names = "csi1_reset"; + + csi-link { + + ports { + + port@0 { + + endpoint@0 { + remote-endpoint = <0x76>; + phandle = <0x25>; + }; + }; + }; + }; + + ports { + #address-cells = <0x01>; + #size-cells = <0x00>; + + port@0 { + reg = <0x00>; + + endpoint@0 { + remote-endpoint = <0x77>; + phandle = <0x6b>; + }; + }; + + port@1 { + reg = <0x01>; + + endpoint@1 { + remote-endpoint = <0x78>; + phandle = <0x6c>; + }; + }; + + port@2 { + reg = <0x02>; + + endpoint@2 { + remote-endpoint = <0x79>; + phandle = <0x6d>; + }; + }; + + port@3 { + reg = <0x03>; + + endpoint@3 { + remote-endpoint = <0x7a>; + phandle = <0x6e>; + }; + }; + }; + }; + + csi@3 { + compatible = "bst,a1000b-csi2-2x2"; + #address-cells = <0x01>; + #size-cells = <0x00>; + clock-lanes = <0x00>; + data-lanes = <0x01 0x02>; + lane-speed = <0x960>; + resets = <0x06 0x10>; + reset-names = "csi2_reset"; + id = <0x03>; + + csi-link { + + ports { + + port@0 { + + endpoint@0 { + remote-endpoint = <0x7b>; + phandle = <0x2a>; + }; + }; + }; + }; + + ports { + #address-cells = <0x01>; + #size-cells = <0x00>; + + port@0 { + reg = <0x00>; + + endpoint@0 { + remote-endpoint = <0x7c>; + phandle = <0x6f>; + }; + }; + + port@1 { + reg = <0x01>; + + endpoint@1 { + remote-endpoint = <0x7d>; + phandle = <0x70>; + }; + }; + }; + }; + + chosen { + bootargs = "earlycon=uart8250,mmio32,0x20008000 console=ttyS0,115200n8 memreserve=64M@0xf8000000 rdinit=/sbin/init root=/dev/mmcblk0p7 rw rodata=n"; + stdout-path = "uart0"; + }; + + aliases { + uart0 = "/amba_apu/serial@20008000"; + }; + + memory@90000000 { + device_type = "memory"; + reg = <0x00 0x90000000 0x00 0x60000000>; + }; + + // memory@1b0000000 { + // device_type = "memory"; + // reg = <0x01 0xb0000000 0x00 0x40000000>; + // }; + + reserved-memory { + #address-cells = <0x02>; + #size-cells = <0x02>; + ranges; + + pcie_ctrl@8fd00000 { + compatible = "bst,pcie-ctrl"; + reg = <0x00 0x8fd00000 0x00 0x100000>; + no-map; + phandle = <0x0c>; + }; + + bst_atf@8b000000 { + compatible = "shared-dma-pool"; + reg = <0x00 0x8b000000 0x00 0x2000000>; + no-map; + }; + + bst_tee@8fec0000 { + compatible = "shared-dma-pool"; + reg = <0x00 0x8fec0000 0x00 0x40000>; + no-map; + phandle = <0x81>; + }; + + bstn_cma@8ff00000 { + compatible = "shared-dma-pool"; + reg = <0x00 0x8ff00000 0x00 0x100000>; + no-map; + phandle = <0x7e>; + }; + + bstn@90000000 { + compatible = "bst,bstn"; + reg = <0x00 0x90000000 0x00 0x2000000>; + no-map; + }; + + bst_lwnn@92000000 { + compatible = "bst,bst_lwnn"; + reg = <0x00 0x92000000 0x00 0x2000000>; + no-map; + }; + + bst_lwnn@94000000 { + compatible = "bst,bst_lwnn"; + reg = <0x00 0x94000000 0x00 0x2000000>; + no-map; + }; + + bst_cv@96000000 { + compatible = "bst,bst_cv"; + reg = <0x00 0x96000000 0x00 0x4000000>; + no-map; + }; + + bst_cv_cma@9a000000 { + compatible = "shared-dma-pool"; + reg = <0x00 0x9a000000 0x00 0x2000000>; + align-shift = <0x08>; + no-map; + phandle = <0x7f>; + }; + + vsp@0x9c000000 { + compatible = "shared-dma-pool"; + reg = <0x00 0x9c000000 0x00 0x1000000>; + no-map; + phandle = <0x80>; + }; + + vsp_fw@0x9d000000 { + reg = <0x00 0x9d000000 0x00 0x4000000>; + no-map; + }; + + bst_isp@0xa1000000 { + compatible = "shared-dma-pool"; + reg = <0x00 0xa1000000 0x00 0x1000000>; + no-map; + phandle = <0x64>; + }; + + bst_isp_fw@0xa2000000 { + reg = <0x00 0xa2000000 0x00 0x10000000>; + no-map; + }; + + coreip_pub_cma@0xb2000000 { + compatible = "shared-dma-pool"; + align-shift = <0x08>; + reg = <0x00 0xb2000000 0x00 0x36000000>; + reusable; + phandle = <0x65>; + }; + + noc_pmu@0xe8000000 { + compatible = "shared-dma-pool"; + reg = <0x00 0xe8000000 0x00 0x800000>; + reusable; + phandle = <0x42>; + }; + + + ddr0@0xf0000000 { + reg = <0x00 0xf0000000 0x00 0x10000000>; + no-map; + }; + + ddr1@0x1f0000000 { + reg = <0x01 0xf0000000 0x00 0x10000000>; + no-map; + }; + }; + + mbox-poll-clients { + compatible = "bst,ipc-mbox-client"; + reg = <0xfec00020 0x08 0x52030090 0x08 0x53090008 0x08 0xfec00028 0x08>; + #mbox-cells = <0x01>; + phandle = <0x0e>; + }; + + bstn-mbox { + compatible = "bstn,bstn-mbox"; + reg = <0x00 0x33102000 0x00 0x2000 0x00 0x33100000 0x00 0x2000 0x00 0x80000000 0x00 0x04 0x00 0x80002000 0x00 0x04>; + fpga-reset = <0x01>; + memory-region = <0x7e>; + assigned-mem-size = <0x1000>; + interrupt-parent = <0x01>; + interrupts = <0x00 0x71 0xff04 0x00 0x72 0xff04 0x00 0x73 0xff04 0x00 0x74 0xff04 0x00 0x75 0xff04 0x00 0x76 0xff04 0x00 0x77 0xff04 0x00 0x78 0xff04>; + #mbox-cells = <0x01>; + phandle = <0xea>; + }; + + bstn@0 { + #address-cells = <0x02>; + #size-cells = <0x02>; + compatible = "bst,bstn-a1000b,cma"; + reg = <0x00 0x50020000 0x00 0x100 0x00 0x90000000 0x00 0x2000000>; + memory-region = <0x65>; + rmem-base = <0x00 0xb2000000>; + rmem-size = <0x00 0x36000000>; + id = <0x00>; + assigned-mem-size = <0x1000>; + bus-offset = <0x00 0x00>; + mbox-names = "bstn-mbox"; + mboxes = <0xea 0x08>; + firmware = "bstn_dsp_rtos.rbf"; + }; + + bst_cv@0x51030000 { + #address-cells = <0x02>; + #size-cells = <0x02>; + compatible = "bst,bst_cv,cma"; + reg = <0x00 0x51030000 0x00 0x100 0x00 0x96000000 0x00 0x2000000 0x00 0x98000000 0x00 0x2000000 0x00 0x92000000 0x00 0x2000000 0x00 0x94000000 0x00 0x2000000>; + memory-region = <0x7f>; + assigned-mem-size = <0x4000>; + bus-offset = <0x00 0x00>; + mbox-names = "bstn-mbox"; + mboxes = <0xea 0x09>; + dsp-num = <0x04>; + ipc-register-addr = <0x8ff00000>; + + dsp@0x96000000 { + index = <0x00>; + firmware = "bst_cv_dsp_rt.rbf"; + assigned-mem-size = <0x1000>; + rt-init-addr = <0x967ff000>; + ipc-src-core = <0x03>; + }; + + dsp@0x98000000 { + index = <0x01>; + firmware = "bst_cv_dsp1_rt.rbf"; + assigned-mem-size = <0x1000>; + rt-init-addr = <0x987ff000>; + ipc-src-core = <0x03>; + }; + + dsp@0x92000000 { + index = <0x02>; + firmware = "bst_cv_dsp2_rt.rbf"; + assigned-mem-size = <0x1000>; + rt-init-addr = <0x927ff000>; + ipc-src-core = <0x03>; + }; + + dsp@0x94000000 { + index = <0x03>; + firmware = "bst_cv_dsp3_rt.rbf"; + assigned-mem-size = <0x1000>; + rt-init-addr = <0x947ff000>; + ipc-src-core = <0x03>; + }; + }; + + bst_gwarp_scaler@0x51060000 { + #address-cells = <0x02>; + #size-cells = <0x02>; + compatible = "bst,bst_gwarp_scaler,cma"; + reg = <0x00 0x51030000 0x00 0x100 0x00 0x51050000 0x00 0x100 0x00 0x51060000 0x00 0x100>; + memory-region = <0x65>; + id = <0x00>; + bus-offset = <0x00 0x00>; + assigned-mem-size = <0x1000>; + interrupt-parent = <0x01>; + interrupts = <0x00 0x9b 0x04>; + interrupt-names = "bst_cv_irq"; + }; + + bare_cv@51030000 { + #address-cells = <0x02>; + #size-cells = <0x02>; + compatible = "bst,bare_cv,cma"; + reg = <0x00 0x51030000 0x00 0x100 0x00 0x96000000 0x00 0x1000000 0x00 0x98000000 0x00 0x1000000 0x00 0x97000000 0x00 0x1000000 0x00 0x99000000 0x00 0x1000000>; + memory-region = <0x7f>; + id = <0x01>; + assigned-mem-size = <0x2000000 0x2000000 0x2000000 0x2000000>; + bus-offset = <0x00 0x00>; + mbox-names = "bstn-mbox"; + mboxes = <0xea 0x09>; + firmware = "bstcv0.rbf\0bstcv1.rbf\0bstcv2.rbf\0bstcv3.rbf"; + }; + + bst_lwnn@0x51030000 { + compatible = "bst,bst_lwnn-a1000b,cma"; + reg = <0x00 0x51030000 0x00 0x100 0x00 0x92000000 0x00 0x2000000 0x00 0x94000000 0x00 0x2000000>; + memory-region = <0x65>; + bus-offset = <0x00 0x00>; + mbox-names = "bst-lwnn-mbox"; + dsp-num = <0x02>; + ipc-register-addr = <0x8ff00000>; + + dsp@0x92000000 { + index = <0x02>; + firmware = "bst_lwnn_dsp2_rt.rbf"; + assigned-mem-size = <0x2000>; + rt-init-addr = <0x927ff000>; + ipc-src-core = <0x06>; + }; + + dsp@0x94000000 { + index = <0x03>; + firmware = "bst_lwnn_dsp3_rt.rbf"; + assigned-mem-size = <0x2000>; + rt-init-addr = <0x947ff000>; + ipc-src-core = <0x00>; + }; + }; + + ipc_vsp@0 { + #address-cells = <0x02>; + #size-cells = <0x02>; + compatible = "bst,bst-vsp-ipc"; + reg = <0x00 0x9c000000 0x00 0x100000 0x00 0x9c100000 0x00 0x80000 0x00 0x9c180000 0x00 0x80000 0x00 0x53090004 0x00 0x04 0x00 0x53090010 0x00 0x0c 0x00 0x33102fbc 0x00 0x04 0x00 0x9d000000 0x00 0x4000000>; + memory-region = <0x80>; + mbox-names = "bstn-mbox"; + mboxes = <0xea 0x07>; + }; + + vsp@1 { + #address-cells = <0x02>; + #size-cells = <0x02>; + compatible = "bst,bst-vsp"; + memory-region = <0x65>; + assigned-mem-size = <0x1000>; + clocks = <0x05 0x43>; + clock-names = "vout_display_clk"; + output-format = "HDMI_RGB"; + output-hsize = <0x780>; + output-vsize = <0x438>; + output-fresh = <0x3c>; + }; + + gmwarp@0 { + #address-cells = <0x02>; + #size-cells = <0x02>; + compatible = "bst,bst-gmwarp"; + memory-region = <0x65>; + }; + + encoder@0 { + #address-cells = <0x02>; + #size-cells = <0x02>; + compatible = "bst,bst-encoder"; + memory-region = <0x65>; + }; + + codec_dma_buf@0 { + compatible = "bst,dma_buf_te"; + memory-region = <0x65>; + }; + + firmware { + + optee { + compatible = "linaro,optee-tz"; + method = "smc"; + chip-number = <0x02>; + }; + }; + + tee { + #address-cells = <0x02>; + #size-cells = <0x02>; + reg = <0x00 0x18060000 0x00 0x20000>; + memory-region = <0x81>; + mbox-names = "bstn-mbox"; + chip-number = <0x01>; + }; + + ipc_arm0@0 { + #address-cells = <0x02>; + #size-cells = <0x02>; + compatible = "bst,arm0"; + reg = <0x04 0xfec00000 0x00 0x20 0x04 0x80000000 0x00 0x20000>; + memory-region = <0x7e>; + assigned-mem-size = <0x1000>; + mbox-names = "bstn-mbox"; + mboxes = <0xea 0x00>; + }; + + ipc_arm3@3 { + #address-cells = <0x02>; + #size-cells = <0x02>; + compatible = "bst,arm3"; + reg = <0x04 0xfec10000 0x00 0x20 0x04 0x80000000 0x00 0x20000>; + memory-region = <0x7e>; + assigned-mem-size = <0x1000>; + mbox-names = "bstn-mbox"; + mboxes = <0xea 0x03>; + }; + + ipc_arm2@2 { + #address-cells = <0x02>; + #size-cells = <0x02>; + compatible = "bst,arm2"; + reg = <0x04 0xfec10000 0x00 0x20 0x04 0x80000000 0x00 0x20000>; + memory-region = <0x7e>; + assigned-mem-size = <0x1000>; + mbox-names = "bstn-mbox"; + mboxes = <0xea 0x02>; + }; + + ipc_arm1@1 { + #address-cells = <0x02>; + #size-cells = <0x02>; + compatible = "bst,arm1"; + reg = <0x04 0xfec10000 0x00 0x20 0x04 0x80000000 0x00 0x20000>; + memory-region = <0x7e>; + assigned-mem-size = <0x1000>; + mbox-names = "bstn-mbox"; + mboxes = <0xea 0x01>; + }; + + ipc@0 { + #address-cells = <0x02>; + #size-cells = <0x02>; + compatible = "bst,ipc"; + reg = <0x04 0xfec00000 0x00 0x20 0x04 0x80000000 0x00 0x20000>; + memory-region = <0x7e>; + assigned-mem-size = <0x1000>; + mbox-names = "bstn-mbox"; + mboxes = <0xea 0x05>; + }; +}; diff --git a/configs/vms/linux-aarch64-a1000-smp8-fadb.dts b/configs/vms/linux-aarch64-a1000-smp8-fadb.dts new file mode 100644 index 00000000..287b9526 --- /dev/null +++ b/configs/vms/linux-aarch64-a1000-smp8-fadb.dts @@ -0,0 +1,3378 @@ +/dts-v1/; + +/memreserve/ 0x0000000018000000 0x0000000000100000; +/ { + compatible = "bst,a1000b"; + #address-cells = <0x02>; + #size-cells = <0x02>; + model = "BST A1000B FAD-B"; + + cpus { + #address-cells = <0x01>; + #size-cells = <0x00>; + + cpu@0 { + compatible = "arm,cortex-a55\0arm,armv8"; + device_type = "cpu"; + enable-method = "psci"; + next-level-cache = <0x03>; + reg = <0x00>; + cpu-idle-states = <0x04>; + phandle = <0x3b>; + }; + + cpu@1 { + compatible = "arm,cortex-a55\0arm,armv8"; + device_type = "cpu"; + enable-method = "psci"; + next-level-cache = <0x03>; + reg = <0x100>; + cpu-idle-states = <0x04>; + phandle = <0x3c>; + }; + + cpu@2 { + compatible = "arm,cortex-a55\0arm,armv8"; + device_type = "cpu"; + enable-method = "psci"; + next-level-cache = <0x03>; + reg = <0x200>; + cpu-idle-states = <0x04>; + phandle = <0x3d>; + }; + + cpu@3 { + compatible = "arm,cortex-a55\0arm,armv8"; + device_type = "cpu"; + enable-method = "psci"; + next-level-cache = <0x03>; + reg = <0x300>; + cpu-idle-states = <0x04>; + phandle = <0x3e>; + }; + + cpu@4 { + compatible = "arm,cortex-a55\0arm,armv8"; + device_type = "cpu"; + enable-method = "psci"; + next-level-cache = <0x03>; + reg = <0x400>; + cpu-idle-states = <0x04>; + phandle = <0x3f>; + }; + + cpu@5 { + compatible = "arm,cortex-a55\0arm,armv8"; + device_type = "cpu"; + enable-method = "psci"; + next-level-cache = <0x03>; + reg = <0x500>; + cpu-idle-states = <0x04>; + phandle = <0x40>; + }; + + cpu@6 { + compatible = "arm,cortex-a55\0arm,armv8"; + device_type = "cpu"; + enable-method = "psci"; + next-level-cache = <0x03>; + reg = <0x600>; + cpu-idle-states = <0x04>; + phandle = <0x41>; + }; + + cpu@7 { + compatible = "arm,cortex-a55\0arm,armv8"; + device_type = "cpu"; + enable-method = "psci"; + next-level-cache = <0x03>; + reg = <0x700>; + cpu-idle-states = <0x04>; + phandle = <0x42>; + }; + + l2-cache0 { + compatible = "cache"; + phandle = <0x03>; + }; + }; + + psci { + compatible = "arm,psci"; + method = "hvc"; + cpu_on = <0xc4000003>; + cpu_off = <0x84000002>; + cpu_suspend = <0xc4000001>; + }; + + misc_clk { + compatible = "fixed-clock"; + #clock-cells = <0x00>; + clock-frequency = <0x3d0900>; + phandle = <0x02>; + }; + + timer { + compatible = "arm,armv8-timer"; + interrupt-parent = <0x01>; + interrupts = <0x01 0x0d 0xff08 0x01 0x0e 0xff08 0x01 0x0b 0xff08 0x01 0x0a 0xff08>; + }; + + amba_apu@0 { + compatible = "simple-bus"; + #address-cells = <0x02>; + #size-cells = <0x01>; + ranges = <0x00 0x00 0x00 0x00 0xffffffff>; + + a1000bclkc@33002000 { + compatible = "bst,a1000b-clkc"; + osc-clk-frequency = <0x17d7840>; + rgmii0-rxclk-frequency = <0x7735940>; + rgmii1-rxclk-frequency = <0x7735940>; + ptp_clk-frequency = <0x7735940>; + #clock-cells = <0x01>; + reg = <0x00 0x33002000 0x1000 0x00 0x70035000 0x1000 0x00 0x20020000 0x1000 0x00 0x20021000 0x1000>; + phandle = <0x05>; + }; + + a1000rstc@0x3300217c { + compatible = "bst,a1000b-rstc"; + #reset-cells = <0x01>; + reg = <0x00 0x3300217c 0x04 0x00 0x33002180 0x04 0x00 0x70035008 0x04 0x00 0x20020000 0x04 0x00 0x20021000 0x04>; + phandle = <0x06>; + }; + + interrupt-controller@32000000 { + compatible = "arm,gic-400"; + #interrupt-cells = <0x03>; + interrupt-controller; + reg = <0x00 0x32001000 0x1000 0x00 0x32002000 0x2000 0x00 0x32004000 0x2000 0x00 0x32006000 0x2000>; + interrupt-parent = <0x01>; + interrupts = <0x01 0x09 0xff04>; + phandle = <0x01>; + }; + + a1000noc { + compatible = "bst,a1000-noc"; + echo-args = <0x01>; + noc-arg-num = <0x2a>; + noc-args = <0x3342000c 0x00 0x33420008 0x505 0x3342008c 0x00 0x33420088 0x505 0x3342010c 0x00 0x33420108 0x505 0x3342018c 0x00 0x33420188 0x505 0x3342020c 0x00 0x33420208 0x505 0x3342028c 0x00 0x33420288 0x505 0x3342030c 0x00 0x33420308 0x505 0x3342038c 0x00 0x33420388 0x303 0x3342040c 0x00 0x33420408 0x303 0x3342048c 0x00 0x33420488 0x303 0x3342050c 0x00 0x33420508 0x303 0x3342058c 0x00 0x33420588 0x303 0x3342060c 0x00 0x33420608 0x303 0x3342068c 0x00 0x33420688 0x303 0x3342070c 0x00 0x33420708 0x00 0x3342078c 0x00 0x33420788 0x707 0x3342080c 0x00 0x33420808 0x707 0x3342088c 0x00 0x33420888 0x707 0x3342090c 0x00 0x33420908 0x707 0x3340010c 0x00 0x33400108 0x505 0x3340018c 0x00 0x33400188 0x505>; + }; + + serial@20008000 { + status = "okay"; + compatible = "snps,dw-apb-uart"; + reg = <0x00 0x20008000 0x1000>; + interrupt-parent = <0x01>; + interrupts = <0x00 0xd5 0x04>; + clocks = <0x05 0x54 0x05 0x66>; + clock-names = "baudclk\0apb_pclk"; + resets = <0x06 0x1d>; + resets-names = "uart_reset"; + reg-shift = <0x02>; + reg-io-width = <0x04>; + pinctrl-names = "default"; + pinctrl-0 = <0x07>; + }; + + serial@2000a000 { + status = "okay"; + compatible = "snps,dw-apb-uart"; + reg = <0x00 0x2000a000 0x1000>; + interrupt-parent = <0x01>; + interrupts = <0x00 0xd6 0x04>; + clocks = <0x05 0x55 0x05 0x67>; + clock-names = "baudclk\0apb_pclk"; + resets = <0x06 0x17>; + resets-names = "uart_reset"; + reg-shift = <0x02>; + reg-io-width = <0x04>; + pinctrl-names = "default"; + pinctrl-0 = <0x08>; + }; + + serial@2000b000 { + status = "disable"; + compatible = "snps,dw-apb-uart"; + reg = <0x00 0x2000b000 0x1000>; + interrupt-parent = <0x01>; + interrupts = <0x00 0xd7 0x04>; + clocks = <0x05 0x70 0x05 0x7d>; + clock-names = "baudclk\0apb_pclk"; + resets = <0x06 0x29>; + resets-names = "uart_reset"; + reg-shift = <0x02>; + reg-io-width = <0x04>; + pinctrl-names = "default"; + pinctrl-0 = <0x09>; + }; + + serial@20009000 { + status = "okay"; + compatible = "snps,dw-apb-uart"; + reg = <0x00 0x20009000 0x1000>; + interrupt-parent = <0x01>; + interrupts = <0x00 0xd8 0x04>; + clocks = <0x05 0x6f 0x05 0x7e>; + clock-names = "baudclk\0apb_pclk"; + resets = <0x06 0x25>; + resets-names = "uart_reset"; + reg-shift = <0x02>; + reg-io-width = <0x04>; + pinctrl-names = "default"; + pinctrl-0 = <0x0a>; + }; + + dma-controller@33200000 { + status = "okay"; + compatible = "bst,dw-axi-gdma"; + reg = <0x00 0x33200000 0x1000>; + clocks = <0x05 0x2f 0x05 0x30>; + clock-names = "core-clk\0cfgr-clk"; + resets = <0x06 0x0c>; + reset-names = "gdma_reset"; + dma-channels = <0x08>; + snps,dma-masters = <0x01>; + snps,data-width = <0x04>; + snps,block-size = <0x1000 0x1000 0x1000 0x1000 0x1000 0x1000 0x1000 0x1000>; + snps,priority = <0x00 0x01 0x02 0x03 0x04 0x05 0x06 0x07>; + snps,axi-max-burst-len = <0x10>; + interrupt-parent = <0x01>; + interrupts = <0x00 0x90 0xff04 0x00 0x91 0xff04 0x00 0x92 0xff04 0x00 0x93 0xff04 0x00 0x94 0xff04 0x00 0x95 0xff04 0x00 0x96 0xff04 0x00 0x97 0xff04 0x00 0x98 0xff04>; + support-slave; + }; + + pcie-phy@30E02000 { + reg = <0x00 0x30e02000 0x1000>; + reg-names = "phy-base"; + dmc-lane = <0x01>; + dmc-mode = <0x02>; + pcie-ctl0 = <0x01>; + pcie-ctl1 = <0x01>; + phandle = <0x0b>; + }; + + pcie@30600000 { + status = "disable"; + compatible = "bst,dw-pcie-rc"; + device_type = "pci"; + controller-id = <0x00>; + bus-range = <0x00 0xff>; + linux,pci-domain = <0x00>; + reg = <0x00 0x30600000 0x10000 0x00 0x30700000 0x10000 0x00 0x30900000 0x40000 0x00 0x30980000 0x40000 0x00 0x40000000 0x40000>; + reg-names = "dbi\0dbi2\0atu\0dma\0config"; + num-iatu = <0x04>; + num-viewport = <0x04>; + #address-cells = <0x03>; + #size-cells = <0x02>; + ranges = <0x81000000 0x00 0x41000000 0x00 0x41000000 0x00 0x1000000 0x83000000 0x00 0x42000000 0x00 0x42000000 0x00 0x4000000>; + dma-ranges = <0x3000000 0x00 0x80000000 0x00 0x80000000 0x02 0x00>; + interrupt-parent = <0x01>; + interrupts = <0x00 0xc5 0x04 0x00 0xbf 0x04 0x00 0xc0 0x04 0x00 0xc1 0x04 0x00 0xc6 0x04>; + interrupt-names = "sys\0dma\0correctable\0uncorrectable\0other"; + #interrupt-cells = <0x01>; + interrupt-map-mask = <0x00 0x00 0x00 0x00>; + interrupt-map = <0x00 0x00 0x00 0x00 0x01 0x00 0xc5 0x04>; + pcie-phy = <0x0b>; + max-link-speed = <0x03>; + num-lanes = <0x02>; + }; + + pcie0_ep@30600000 { + status = "disable"; + compatible = "bst,dw-pcie-ep"; + device_type = "pci"; + controller-id = <0x00>; + bus-range = <0x00 0x04>; + reg = <0x00 0x30600000 0x40000 0x00 0x30700000 0x40000 0x00 0x30900000 0x40000 0x00 0x30980000 0x40000 0x00 0x40000000 0x100000>; + reg-names = "dbi\0dbi2\0atu\0dma\0addr_space"; + num-ib-windows = <0x06>; + num-ob-windows = <0x06>; + max-functions = [04]; + pcie-phy = <0x0b>; + interrupt-parent = <0x01>; + interrupts = <0x00 0xc5 0x04 0x00 0xbf 0x04 0x00 0xc0 0x04 0x00 0xc1 0x04 0x00 0xc6 0x04>; + interrupt-names = "sys\0dma\0correctable\0uncorrectable\0other"; + #interrupt-cells = <0x01>; + interrupt-map-mask = <0x00 0x00 0x00 0x00>; + interrupt-map = <0x00 0x00 0x00 0x00 0x01 0x00 0xc5 0x04>; + }; + + pcie@30a00000 { + status = "disable"; + compatible = "bst,dw-pcie-ep"; + device_type = "pci"; + controller-id = <0x01>; + bus-range = <0x00 0x04>; + reg = <0x00 0x30a00000 0x40000 0x00 0x30b00000 0x40000 0x00 0x30d00000 0x40000 0x00 0x30d80000 0x40000 0x00 0x48000000 0x1000000>; + reg-names = "dbi\0dbi2\0atu\0dma\0addr_space"; + num-ib-windows = <0x06>; + num-ob-windows = <0x06>; + max-functions = [04]; + pcie-phy = <0x0b>; + interrupt-parent = <0x01>; + interrupts = <0x00 0xc2 0x04 0x00 0xc3 0x04 0x00 0xc4 0x04 0x00 0xc7 0x04>; + interrupt-names = "dma\0correctable\0uncorrectable\0other"; + #interrupt-cells = <0x01>; + interrupt-map-mask = <0x00 0x00 0x00 0x00>; + interrupt-map = <0x00 0x00 0x00 0x00 0x01 0x00 0xc5 0x04>; + max-link-speed = <0x03>; + num-lanes = <0x02>; + picp-ctl = "dma"; + ob-memaddr-def = <0x0c>; + }; + + pcie_vnet@0 { + status = "disable"; + compatible = "bst,pcie-vnet"; + vnet-id = <0x00>; + dma-chan-num = <0x01>; + rx_queues = <0x01>; + tx_queues = <0x01>; + tx-fifo-depth = <0x100>; + rx-fifo-depth = <0x100>; + extend-op = <0x11>; + memory-region = <0x0c>; + }; + + pcie_vnet@1 { + status = "disable"; + compatible = "bst,pcie-vnet"; + vnet-id = <0x01>; + dma-chan-num = <0x01>; + rx_queues = <0x01>; + tx_queues = <0x01>; + tx-fifo-depth = <0x100>; + rx-fifo-depth = <0x100>; + }; + + + gpio@20010000 { + status = "okay"; + #address-cells = <0x01>; + #size-cells = <0x00>; + compatible = "snps,dw-apb-gpio"; + reg = <0x00 0x20010000 0x1000>; + clocks = <0x05 0x62>; + clock-names = "bus"; + resets = <0x06 0x1c>; + resets-names = "gpio0_reset"; + pinctrl-names = "default"; + pinctrl-0 = <0x15 0x16 0x17 0x18 0x19 0x1a 0x1b 0x1c>; + + gpio-controller@0 { + compatible = "snps,dw-apb-gpio-port"; + gpio-controller; + #gpio-cells = <0x02>; + snps,nr-gpios = <0x20>; + reg = <0x00>; + chipnum-base = <0x00>; + interrupt-controller; + #interrupt-cells = <0x03>; + interrupt-parent = <0x01>; + interrupts = <0x00 0xdf 0x04 0x00 0xe3 0x04 0x00 0xe4 0x04 0x00 0xe5 0x04 0x00 0xe6 0x04 0x00 0xe7 0x04 0x00 0xe8 0x04 0x00 0xe9 0x04 0x00 0xea 0x04>; + phandle = <0x20>; + }; + + gpio-controller@1 { + compatible = "snps,dw-apb-gpio-port"; + gpio-controller; + #gpio-cells = <0x02>; + snps,nr-gpios = <0x20>; + reg = <0x01>; + chipnum-base = <0x20>; + phandle = <0x4b>; + }; + + gpio-controller@2 { + compatible = "snps,dw-apb-gpio-port"; + gpio-controller; + #gpio-cells = <0x02>; + snps,nr-gpios = <0x20>; + reg = <0x02>; + chipnum-base = <0x40>; + phandle = <0x48>; + }; + + gpio-controller@3 { + compatible = "snps,dw-apb-gpio-port"; + gpio-controller; + #gpio-cells = <0x02>; + snps,nr-gpios = <0x20>; + reg = <0x03>; + chipnum-base = <0x60>; + phandle = <0x55>; + }; + }; + + gpio@20011000 { + status = "okay"; + #address-cells = <0x01>; + #size-cells = <0x00>; + compatible = "snps,dw-apb-gpio"; + reg = <0x00 0x20011000 0x1000>; + clocks = <0x05 0x82>; + clock-names = "bus"; + resets = <0x06 0x27>; + resets-names = "gpio1_reset"; + + gpio-controller@0 { + compatible = "snps,dw-apb-gpio-port"; + gpio-controller; + #gpio-cells = <0x02>; + snps,nr-gpios = <0x20>; + reg = <0x00>; + chipnum-base = <0x80>; + interrupt-controller; + #interrupt-cells = <0x03>; + interrupt-parent = <0x01>; + interrupts = <0x00 0xe0 0x04>; + }; + + gpio-controller@1 { + compatible = "snps,dw-apb-gpio-port"; + gpio-controller; + #gpio-cells = <0x02>; + snps,nr-gpios = <0x20>; + reg = <0x01>; + chipnum-base = <0xa0>; + }; + + gpio-controller@2 { + compatible = "snps,dw-apb-gpio-port"; + gpio-controller; + #gpio-cells = <0x02>; + snps,nr-gpios = <0x20>; + reg = <0x02>; + chipnum-base = <0xc0>; + }; + + gpio-controller@3 { + compatible = "snps,dw-apb-gpio-port"; + gpio-controller; + #gpio-cells = <0x02>; + snps,nr-gpios = <0x20>; + reg = <0x03>; + chipnum-base = <0xe0>; + phandle = <0x0d>; + }; + }; + + watchdog@2001a000 { + status = "disable"; + compatible = "snps,dw-wdt"; + reg = <0x00 0x2001a000 0x1000>; + interrupt-parent = <0x01>; + interrupts = <0x00 0x5d 0x04>; + clocks = <0x05 0x5a 0x05 0x64>; + clock-names = "wclk\0pclk"; + resets = <0x06 0x1f>; + resets-names = "wdt_reset"; + response-mode = <0x00>; + bst_wdt_name = "lsp_wdt0"; + }; + + watchdog@2001b000 { + status = "okay"; + compatible = "snps,dw-wdt"; + reg = <0x00 0x2001b000 0x1000>; + interrupt-parent = <0x01>; + interrupts = <0x00 0x5e 0x04>; + clocks = <0x05 0x5b 0x05 0x65>; + clock-names = "wclk\0pclk"; + resets = <0x06 0x20>; + resets-names = "wdt_reset"; + response-mode = <0x00>; + bst_wdt_name = "lsp_wdt1"; + }; + + watchdog@2001c000 { + status = "okay"; + compatible = "snps,dw-wdt"; + reg = <0x00 0x2001c000 0x1000>; + interrupt-parent = <0x01>; + interrupts = <0x00 0x5f 0x04>; + clocks = <0x05 0x74 0x05 0x7b>; + clock-names = "wclk\0pclk"; + resets = <0x06 0x2e>; + resets-names = "wdt_reset"; + response-mode = <0x00>; + bst_wdt_name = "lsp_wdt2"; + }; + + watchdog@2001d000 { + status = "okay"; + compatible = "snps,dw-wdt"; + reg = <0x00 0x2001d000 0x1000>; + interrupt-parent = <0x01>; + interrupts = <0x00 0x60 0x04>; + clocks = <0x05 0x75 0x05 0x7c>; + clock-names = "wclk\0pclk"; + resets = <0x06 0x2f>; + resets-names = "wdt_reset"; + response-mode = <0x00>; + bst_wdt_name = "lsp_wdt3"; + }; + + watchdog@32009000 { + status = "okay"; + compatible = "snps,dw-wdt"; + reg = <0x00 0x32009000 0x1000>; + interrupt-parent = <0x01>; + interrupts = <0x00 0x43 0x04>; + clocks = <0x05 0x01>; + clock-names = "wclk"; + response-mode = <0x01>; + bst_wdt_name = "a55_wdt0"; + }; + + watchdog@3200a000 { + status = "okay"; + compatible = "snps,dw-wdt"; + reg = <0x00 0x3200a000 0x1000>; + interrupt-parent = <0x01>; + interrupts = <0x00 0x44 0x04>; + clocks = <0x05 0x01>; + clock-names = "wclk"; + response-mode = <0x01>; + bst_wdt_name = "a55_wdt1"; + }; + + watchdog@3200b000 { + status = "okay"; + compatible = "snps,dw-wdt"; + reg = <0x00 0x3200b000 0x1000>; + interrupt-parent = <0x01>; + interrupts = <0x00 0x45 0x04>; + clocks = <0x05 0x01>; + clock-names = "wclk"; + response-mode = <0x01>; + bst_wdt_name = "a55_wdt2"; + }; + + watchdog@3200c000 { + status = "okay"; + compatible = "snps,dw-wdt"; + reg = <0x00 0x3200c000 0x1000>; + interrupt-parent = <0x01>; + interrupts = <0x00 0x46 0x04>; + clocks = <0x05 0x01>; + clock-names = "wclk"; + response-mode = <0x01>; + bst_wdt_name = "a55_wdt3"; + }; + + watchdog@3200d000 { + status = "okay"; + compatible = "snps,dw-wdt"; + reg = <0x00 0x3200d000 0x1000>; + interrupt-parent = <0x01>; + interrupts = <0x00 0x47 0x04>; + clocks = <0x05 0x01>; + clock-names = "wclk"; + response-mode = <0x01>; + bst_wdt_name = "a55_wdt4"; + }; + + watchdog@3200e000 { + status = "okay"; + compatible = "snps,dw-wdt"; + reg = <0x00 0x3200e000 0x1000>; + interrupt-parent = <0x01>; + interrupts = <0x00 0x48 0x04>; + clocks = <0x05 0x01>; + clock-names = "wclk"; + response-mode = <0x01>; + bst_wdt_name = "a55_wdt5"; + }; + + watchdog@3200f000 { + status = "okay"; + compatible = "snps,dw-wdt"; + reg = <0x00 0x3200f000 0x1000>; + interrupt-parent = <0x01>; + interrupts = <0x00 0x49 0x04>; + clocks = <0x05 0x01>; + clock-names = "wclk"; + response-mode = <0x01>; + bst_wdt_name = "a55_wdt6"; + }; + + watchdog@32010000 { + status = "okay"; + compatible = "snps,dw-wdt"; + reg = <0x00 0x32010000 0x1000>; + interrupt-parent = <0x01>; + interrupts = <0x00 0x4a 0x04>; + clocks = <0x05 0x01>; + clock-names = "wclk"; + response-mode = <0x01>; + bst_wdt_name = "a55_wdt7"; + }; + + i2c@20000000 { + status = "okay"; + #address-cells = <0x01>; + #size-cells = <0x01>; + compatible = "snps,designware-i2c"; + reg = <0x00 0x20000000 0x1000>; + interrupt-parent = <0x01>; + interrupts = <0x00 0xcf 0x04>; + clock-frequency = <0x186a0>; + i2c-sda-hold-time-ns = <0x12c>; + i2c-sda-falling-time-ns = <0x12c>; + i2c-scl-falling-time-ns = <0x12c>; + clocks = <0x05 0x4b 0x05 0x49>; + clock-names = "LSP0_PCLK\0LSP0_WCLK"; + resets = <0x06 0x18>; + reset-names = "i2c0_reset"; + pinctrl-names = "default"; + pinctrl-0 = <0x1d>; + }; + + i2c@20001000 { + status = "okay"; + #address-cells = <0x01>; + #size-cells = <0x01>; + compatible = "snps,designware-i2c"; + reg = <0x00 0x20001000 0x1000>; + interrupt-parent = <0x01>; + interrupts = <0x00 0xd0 0x04>; + clock-frequency = <0xf4240>; + i2c-sda-hold-time-ns = <0x12c>; + i2c-sda-falling-time-ns = <0x12c>; + i2c-scl-falling-time-ns = <0x12c>; + clocks = <0x05 0x4b 0x05 0x49>; + clock-names = "LSP0_PCLK\0LSP0_WCLK"; + resets = <0x06 0x19>; + reset-names = "i2c1_reset"; + pinctrl-names = "default"; + pinctrl-0 = <0x1e>; + }; + + i2c@20002000 { + status = "okay"; + #address-cells = <0x01>; + #size-cells = <0x00>; + compatible = "snps,designware-i2c"; + reg = <0x00 0x20002000 0x1000>; + interrupt-parent = <0x01>; + interrupts = <0x00 0xd1 0x04>; + clock-frequency = <0x186a0>; + i2c-sda-hold-time-ns = <0x12c>; + i2c-sda-falling-time-ns = <0x12c>; + i2c-scl-falling-time-ns = <0x12c>; + clocks = <0x05 0x4b 0x05 0x49>; + clock-names = "LSP0_PCLK\0LSP0_WCLK"; + resets = <0x06 0x1a>; + reset-names = "i2c2_reset"; + pinctrl-names = "default"; + pinctrl-0 = <0x1f>; + + max96712@2a { + compatible = "bst,maxim-deser-hub"; + type = "max96712"; + ctl-mode = "fad-lis"; + reg = <0x2a>; + i2c-port = <0x01>; + csi2-port = <0x01>; + lane-speed = <0x960>; + regs = <0x40>; + data-type = <0x2d>; + trigger-mode = <0x01>; + trigger-fps = <0x14>; + trigger-rx-gpio = <0x02>; + trigger-tx-gpio = <0x08>; + maxim,hsync-invert = <0x00>; + maxim,vsync-invert = <0x00>; + maxim,linkrx-rate = <0x06 0x06 0x06 0x06>; + maxim,link-mode = "GMSL2"; + pdb-gpio = <0x20 0x14 0x00>; + #address-cells = <0x01>; + #size-cells = <0x00>; + + csi-link { + + ports { + + port@0 { + clock-lanes = <0x00>; + data-lanes = <0x01 0x02 0x03 0x04>; + + endpoint { + remote-endpoint = <0x21>; + phandle = <0x72>; + }; + }; + }; + }; + + ports { + #address-cells = <0x01>; + #size-cells = <0x00>; + + port@0 { + reg = <0x00>; + + endpoint@0 { + remote-endpoint = <0x22>; + phandle = <0x2e>; + }; + }; + + port@1 { + reg = <0x01>; + + endpoint@1 { + remote-endpoint = <0x23>; + phandle = <0x2f>; + }; + }; + + port@2 { + reg = <0x02>; + + endpoint@2 { + remote-endpoint = <0x24>; + phandle = <0x30>; + }; + }; + + port@3 { + reg = <0x03>; + + endpoint@3 { + remote-endpoint = <0x25>; + phandle = <0x31>; + }; + }; + }; + }; + + max96712@6b { + compatible = "bst,maxim-deser-hub"; + type = "max96712"; + ctl-mode = "fad-ctl"; + reg = <0x6b>; + i2c-port = <0x00>; + csi2-port = <0x00>; + lane-speed = <0x640>; + regs = <0x44>; + data-type = <0x1e>; + trigger-mode = <0x01>; + trigger-fps = <0x1e>; + trigger-rx-gpio = <0x01>; + maxim,hsync-invert = <0x00>; + maxim,vsync-invert = <0x00>; + maxim,linkrx-rate = <0x03 0x03 0x03 0x03>; + maxim,link-mode = "GMSL2"; + pdb-gpio = <0x20 0x15 0x00>; + #address-cells = <0x01>; + #size-cells = <0x00>; + + csi-link { + + ports { + + port@0 { + clock-lanes = <0x00>; + data-lanes = <0x01 0x02 0x03 0x04>; + + endpoint { + remote-endpoint = <0x26>; + phandle = <0x77>; + }; + }; + }; + }; + + ports { + #address-cells = <0x01>; + #size-cells = <0x00>; + + port@0 { + reg = <0x00>; + + endpoint@0 { + remote-endpoint = <0x27>; + phandle = <0x32>; + }; + }; + + port@1 { + reg = <0x01>; + + endpoint@1 { + remote-endpoint = <0x28>; + phandle = <0x33>; + }; + }; + + port@2 { + reg = <0x02>; + + endpoint@2 { + remote-endpoint = <0x29>; + phandle = <0x34>; + }; + }; + + port@3 { + reg = <0x03>; + + endpoint@3 { + remote-endpoint = <0x2a>; + phandle = <0x35>; + }; + }; + }; + }; + + max96712@29 { + compatible = "bst,maxim-deser-hub"; + type = "max96712"; + ctl-mode = "fad-lis"; + reg = <0x29>; + i2c-port = <0x01>; + csi2-port = <0x01>; + lane-speed = <0x960>; + regs = <0x40>; + data-type = <0x2d>; + trigger-mode = <0x01>; + trigger-fps = <0x14>; + trigger-rx-gpio = <0x02>; + trigger-tx-gpio = <0x08>; + maxim,hsync-invert = <0x00>; + maxim,vsync-invert = <0x00>; + maxim,linkrx-rate = <0x06 0x06 0x06 0x06>; + maxim,link-mode = "GMSL2"; + pdb-gpio = <0x20 0x17 0x00>; + #address-cells = <0x01>; + #size-cells = <0x00>; + + csi-link { + + ports { + + port@0 { + clock-lanes = <0x00>; + data-lanes = <0x01 0x02>; + + endpoint { + remote-endpoint = <0x2b>; + phandle = <0x7c>; + }; + }; + }; + }; + + ports { + #address-cells = <0x01>; + #size-cells = <0x00>; + + port@0 { + reg = <0x00>; + + endpoint@0 { + remote-endpoint = <0x2c>; + phandle = <0x36>; + }; + }; + + port@1 { + reg = <0x01>; + + endpoint@1 { + remote-endpoint = <0x2d>; + phandle = <0x37>; + }; + }; + }; + }; + + camera@70 { + reg = <0x70>; + ser-alias-id = <0x60>; + sensor-alias-id = <0x70>; + compatible = "bst,jk_ox08b"; + sensor-id = <0x36>; + data-type = <0x2d>; + fv-polarity_low = <0x00>; + fpd3-mode = "csi-2"; + serializer = "max9295"; + algo-bin = "ox08b/Ox08B40_raw14_hk_h120_AlgoParam.bin"; + iq-bin = "ox08b/Ox08B40_raw14_hk_h120_IqParam.bin"; + hdr-stagger-en = <0x01>; + exp-num = <0x01>; + pwl-format = <0x0f>; + dvp-data-type = <0x2d>; + vin-data-type = <0x2d>; + size = <0xf00 0x876>; + dvp-dummy = <0xaaa0>; + view0-fmt = <0x01>; + view0-size = <0x500 0x2d0>; + view1-fmt = <0x01>; + view1-size = <0xf00 0x870>; + pdns-mode = <0x00>; + pdns-input-view = <0x00>; + hblank = <0x00>; + input-crop = <0x00 0xf00 0x02 0x872>; + clock-frequency = <0x18>; + sensor-fps = <0x1e>; + maxim,rx_rate = <0x06>; + trigger-gpio = <0x01>; + trigger-tx-gpio = <0x08>; + serializer-id = <0x42>; + maxim,link-mode = "GMSL2"; + + port { + + endpoint@0 { + remote-endpoint = <0x2e>; + phandle = <0x22>; + }; + }; + }; + + camera71 { + status = "disabled"; + reg = <0x71>; + ser-alias-id = <0x61>; + sensor-alias-id = <0x71>; + compatible = "bst,jk_ox08b"; + sensor-id = <0x36>; + data-type = <0x2d>; + fv-polarity_low = <0x00>; + fpd3-mode = "csi-2"; + serializer = "max9295"; + algo-bin = "ox08b/Ox08B40_raw14_hk_h120_AlgoParam.bin"; + iq-bin = "ox08b/Ox08B40_raw14_hk_h120_IqParam.bin"; + hdr-stagger-en = <0x01>; + exp-num = <0x01>; + pwl-format = <0x0f>; + dvp-data-type = <0x2d>; + vin-data-type = <0x2d>; + size = <0xf00 0x876>; + dvp-dummy = <0xaaa0>; + view0-fmt = <0x01>; + view0-size = <0x500 0x2d0>; + view1-fmt = <0x01>; + view1-size = <0xf00 0x870>; + pdns-mode = <0x00>; + pdns-input-view = <0x00>; + hblank = <0x00>; + input-crop = <0x00 0xf00 0x02 0x872>; + clock-frequency = <0x18>; + sensor-fps = <0x1e>; + maxim,rx_rate = <0x06>; + trigger-gpio = <0x01>; + trigger-tx-gpio = <0x08>; + serializer-id = <0x42>; + maxim,link-mode = "GMSL2"; + + port { + + endpoint@0 { + remote-endpoint = <0x2f>; + phandle = <0x23>; + }; + }; + }; + + camera@72 { + status = "disabled"; + reg = <0x72>; + ser-alias-id = <0x62>; + sensor-alias-id = <0x72>; + compatible = "bst,jk_ox08b"; + sensor-id = <0x36>; + data-type = <0x2d>; + fv-polarity_low = <0x00>; + fpd3-mode = "csi-2"; + serializer = "max9295"; + algo-bin = "ox08b/Ox08B40_raw14_hk_h120_AlgoParam.bin"; + iq-bin = "ox08b/Ox08B40_raw14_hk_h120_IqParam.bin"; + hdr-stagger-en = <0x01>; + exp-num = <0x01>; + pwl-format = <0x0f>; + dvp-data-type = <0x2d>; + vin-data-type = <0x2d>; + size = <0xf00 0x876>; + dvp-dummy = <0xaaa0>; + view0-fmt = <0x01>; + view0-size = <0x500 0x2d0>; + view1-fmt = <0x01>; + view1-size = <0xf00 0x870>; + pdns-mode = <0x00>; + pdns-input-view = <0x00>; + hblank = <0x00>; + input-crop = <0x00 0xf00 0x02 0x872>; + clock-frequency = <0x18>; + sensor-fps = <0x1e>; + maxim,rx_rate = <0x06>; + trigger-gpio = <0x01>; + trigger-tx-gpio = <0x08>; + serializer-id = <0x42>; + maxim,link-mode = "GMSL2"; + + port { + + endpoint@0 { + remote-endpoint = <0x30>; + phandle = <0x24>; + }; + }; + }; + + camera@73 { + status = "disabled"; + reg = <0x73>; + ser-alias-id = <0x63>; + sensor-alias-id = <0x73>; + compatible = "bst,jk_ox08b"; + sensor-id = <0x36>; + data-type = <0x2d>; + fv-polarity_low = <0x00>; + fpd3-mode = "csi-2"; + serializer = "max9295"; + algo-bin = "ox08b/Ox08B40_raw14_hk_h120_AlgoParam.bin"; + iq-bin = "ox08b/Ox08B40_raw14_hk_h120_IqParam.bin"; + hdr-stagger-en = <0x01>; + exp-num = <0x01>; + pwl-format = <0x0f>; + dvp-data-type = <0x2d>; + vin-data-type = <0x2d>; + size = <0xf00 0x876>; + dvp-dummy = <0xaaa0>; + view0-fmt = <0x01>; + view0-size = <0x500 0x2d0>; + view1-fmt = <0x01>; + view1-size = <0xf00 0x870>; + pdns-mode = <0x00>; + pdns-input-view = <0x00>; + hblank = <0x00>; + input-crop = <0x00 0xf00 0x02 0x872>; + clock-frequency = <0x18>; + sensor-fps = <0x1e>; + maxim,rx_rate = <0x06>; + trigger-gpio = <0x01>; + trigger-tx-gpio = <0x08>; + serializer-id = <0x42>; + maxim,link-mode = "GMSL2"; + + port { + + endpoint@0 { + remote-endpoint = <0x31>; + phandle = <0x25>; + }; + }; + }; + + camera@54 { + reg = <0x54>; + ser-alias-id = <0x64>; + sensor-alias-id = <0x54>; + compatible = "bst,ofilm_ox3c"; + sensor-id = <0x36>; + data-type = <0x2d>; + fv-polarity-low = <0x00>; + fpd3-mode = "csi-2"; + serializer = "max96717f"; + algo-bin = "ox3c/0X03C10_raw14_OF_h100_AlgoParam.bin"; + iq-bin = "ox3c/0X03C10_raw14_OF_h100_IqParam.bin"; + hdr-stagger-en = <0x01>; + exp-num = <0x01>; + pwl-format = <0x0f>; + dvp-data-type = <0x2d>; + vin-data-type = <0x2d>; + size = <0x780 0x506>; + dvp-dummy = <0xabcd>; + view0-fmt = <0x01>; + view0-size = <0x500 0x2d0>; + view1-fmt = <0x01>; + view1-size = <0x780 0x438>; + pdns-mode = <0x00>; + pdns-input-view = <0x00>; + hblank = <0x00>; + input-crop = <0x00 0x780 0x64 0x49c>; + sensor-fps = <0x1e>; + trigger-gpio = <0x00>; + trigger-tx-gpio = <0x00>; + maxim,rx_rate = <0x03>; + serializer-id = <0x42>; + maxim,link-mode = "GMSL2"; + + port { + + endpoint@0 { + remote-endpoint = <0x32>; + phandle = <0x27>; + }; + }; + }; + + camera@55 { + reg = <0x55>; + ser-alias-id = <0x65>; + sensor-alias-id = <0x55>; + compatible = "bst,ofilm_ox3c"; + sensor-id = <0x36>; + data-type = <0x2d>; + fv-polarity-low = <0x00>; + fpd3-mode = "csi-2"; + serializer = "max96717f"; + algo-bin = "ox3c/0X03C10_raw14_OF_h100_AlgoParam.bin"; + iq-bin = "ox3c/0X03C10_raw14_OF_h100_IqParam.bin"; + hdr-stagger-en = <0x01>; + exp-num = <0x01>; + pwl-format = <0x0f>; + dvp-data-type = <0x2d>; + vin-data-type = <0x2d>; + size = <0x780 0x506>; + dvp-dummy = <0xabcd>; + view0-fmt = <0x01>; + view0-size = <0x500 0x2d0>; + view1-fmt = <0x01>; + view1-size = <0x780 0x438>; + pdns-mode = <0x00>; + pdns-input-view = <0x00>; + hblank = <0x00>; + input-crop = <0x00 0x780 0x64 0x49c>; + sensor-fps = <0x1e>; + trigger-gpio = <0x00>; + trigger-tx-gpio = <0x00>; + maxim,rx_rate = <0x03>; + serializer-id = <0x42>; + maxim,link-mode = "GMSL2"; + + port { + + endpoint@0 { + remote-endpoint = <0x33>; + phandle = <0x28>; + }; + }; + }; + + camera@56 { + reg = <0x56>; + ser-alias-id = <0x66>; + sensor-alias-id = <0x56>; + compatible = "bst,ofilm_ox3c"; + sensor-id = <0x36>; + data-type = <0x2d>; + fv-polarity-low = <0x00>; + fpd3-mode = "csi-2"; + serializer = "max96717f"; + algo-bin = "ox3c/0X03C10_raw14_OF_h100_AlgoParam.bin"; + iq-bin = "ox3c/0X03C10_raw14_OF_h100_IqParam.bin"; + hdr-stagger-en = <0x01>; + exp-num = <0x01>; + pwl-format = <0x0f>; + dvp-data-type = <0x2d>; + vin-data-type = <0x2d>; + size = <0x780 0x506>; + dvp-dummy = <0xabcd>; + view0-fmt = <0x01>; + view0-size = <0x500 0x2d0>; + view1-fmt = <0x01>; + view1-size = <0x780 0x438>; + pdns-mode = <0x00>; + pdns-input-view = <0x00>; + hblank = <0x00>; + input-crop = <0x00 0x780 0x64 0x49c>; + sensor-fps = <0x1e>; + trigger-gpio = <0x00>; + trigger-tx-gpio = <0x00>; + maxim,rx_rate = <0x03>; + serializer-id = <0x42>; + maxim,link-mode = "GMSL2"; + + port { + + endpoint@0 { + remote-endpoint = <0x34>; + phandle = <0x29>; + }; + }; + }; + + camera@57 { + reg = <0x57>; + ser-alias-id = <0x67>; + sensor-alias-id = <0x57>; + compatible = "bst,ofilm_ox3c"; + sensor-id = <0x36>; + data-type = <0x2d>; + fv-polarity-low = <0x00>; + fpd3-mode = "csi-2"; + serializer = "max96717f"; + algo-bin = "ox3c/0X03C10_raw14_OF_h100_AlgoParam.bin"; + iq-bin = "ox3c/0X03C10_raw14_OF_h100_IqParam.bin"; + hdr-stagger-en = <0x01>; + exp-num = <0x01>; + pwl-format = <0x0f>; + dvp-data-type = <0x2d>; + vin-data-type = <0x2d>; + size = <0x780 0x506>; + dvp-dummy = <0xabcd>; + view0-fmt = <0x01>; + view0-size = <0x500 0x2d0>; + view1-fmt = <0x01>; + view1-size = <0x780 0x438>; + pdns-mode = <0x00>; + pdns-input-view = <0x00>; + hblank = <0x00>; + input-crop = <0x00 0x780 0x64 0x49c>; + sensor-fps = <0x1e>; + trigger-gpio = <0x00>; + trigger-tx-gpio = <0x00>; + maxim,rx_rate = <0x03>; + serializer-id = <0x42>; + maxim,link-mode = "GMSL2"; + + port { + + endpoint@0 { + remote-endpoint = <0x35>; + phandle = <0x2a>; + }; + }; + }; + + camera@58 { + reg = <0x58>; + ser-alias-id = <0x48>; + sensor-alias-id = <0x58>; + compatible = "bst,jk_ox08b"; + sensor-id = <0x36>; + data-type = <0x2d>; + fv-polarity_low = <0x00>; + fpd3-mode = "csi-2"; + serializer = "max9295"; + algo-bin = "ox08b/Ox08B40_raw14_hk_h120_AlgoParam.bin"; + iq-bin = "ox08b/Ox08B40_raw14_hk_h120_IqParam.bin"; + hdr-stagger-en = <0x01>; + exp-num = <0x01>; + pwl-format = <0x0f>; + dvp-data-type = <0x2d>; + vin-data-type = <0x2d>; + size = <0xf00 0x876>; + dvp-dummy = <0xaaa0>; + view0-fmt = <0x01>; + view0-size = <0x500 0x2d0>; + view1-fmt = <0x01>; + view1-size = <0xf00 0x870>; + pdns-mode = <0x00>; + pdns-input-view = <0x00>; + hblank = <0x00>; + input-crop = <0x00 0xf00 0x02 0x872>; + clock-frequency = <0x18>; + sensor-fps = <0x1e>; + maxim,rx_rate = <0x06>; + trigger-gpio = <0x01>; + trigger-tx-gpio = <0x08>; + serializer-id = <0x42>; + maxim,link-mode = "GMSL2"; + + port { + + endpoint@0 { + remote-endpoint = <0x36>; + phandle = <0x2c>; + }; + }; + }; + + camera@59 { + status = "disabled"; + reg = <0x59>; + ser-alias-id = <0x49>; + sensor-alias-id = <0x59>; + compatible = "bst,jk_ox08b"; + sensor-id = <0x36>; + data-type = <0x2d>; + fv-polarity_low = <0x00>; + fpd3-mode = "csi-2"; + serializer = "max9295"; + algo-bin = "ox08b/Ox08B40_raw14_hk_h120_AlgoParam.bin"; + iq-bin = "ox08b/Ox08B40_raw14_hk_h120_IqParam.bin"; + hdr-stagger-en = <0x01>; + exp-num = <0x01>; + pwl-format = <0x0f>; + dvp-data-type = <0x2d>; + vin-data-type = <0x2d>; + size = <0xf00 0x876>; + dvp-dummy = <0xaaa0>; + view0-fmt = <0x01>; + view0-size = <0x500 0x2d0>; + view1-fmt = <0x01>; + view1-size = <0xf00 0x870>; + pdns-mode = <0x00>; + pdns-input-view = <0x00>; + hblank = <0x00>; + input-crop = <0x00 0xf00 0x02 0x872>; + clock-frequency = <0x18>; + sensor-fps = <0x1e>; + maxim,rx_rate = <0x06>; + trigger-gpio = <0x01>; + trigger-tx-gpio = <0x08>; + serializer-id = <0x42>; + maxim,link-mode = "GMSL2"; + + port { + + endpoint@0 { + remote-endpoint = <0x37>; + phandle = <0x2d>; + }; + }; + }; + }; + + i2c@20003000 { + status = "okay"; + #address-cells = <0x01>; + #size-cells = <0x01>; + compatible = "snps,designware-i2c"; + reg = <0x00 0x20003000 0x1000>; + interrupt-parent = <0x01>; + interrupts = <0x00 0xd2 0x04>; + clock-frequency = <0x186a0>; + i2c-sda-hold-time-ns = <0x12c>; + i2c-sda-falling-time-ns = <0x12c>; + i2c-scl-falling-time-ns = <0x12c>; + clocks = <0x05 0x4c 0x05 0x4a>; + clock-names = "LSP1_PCLK\0LSP1_WCLK"; + resets = <0x06 0x2c>; + reset-names = "i2c3_reset"; + pinctrl-names = "default"; + pinctrl-0 = <0x38>; + }; + + i2c@20004000 { + status = "okay"; + #address-cells = <0x01>; + #size-cells = <0x00>; + compatible = "snps,designware-i2c"; + reg = <0x00 0x20004000 0x1000>; + interrupt-parent = <0x01>; + interrupts = <0x00 0xd3 0x04>; + clock-frequency = <0x186a0>; + i2c-sda-hold-time-ns = <0x12c>; + i2c-sda-falling-time-ns = <0x12c>; + i2c-scl-falling-time-ns = <0x12c>; + clocks = <0x05 0x4c 0x05 0x4a>; + clock-names = "LSP1_PCLK\0LSP1_WCLK"; + resets = <0x06 0x2d>; + reset-names = "i2c4_reset"; + pinctrl-names = "default"; + pinctrl-0 = <0x39>; + + eeprom@56 { + compatible = "atmel,24c02"; + reg = <0x56>; + pagesize = <0x10>; + }; + + lt9211@2d { + compatible = "bst,lt9211"; + reg = <0x2d>; + }; + }; + + i2c@20005000 { + status = "okay"; + #address-cells = <0x01>; + #size-cells = <0x01>; + compatible = "snps,designware-i2c"; + reg = <0x00 0x20005000 0x1000>; + interrupt-parent = <0x01>; + interrupts = <0x00 0xd4 0x04>; + clock-frequency = <0x186a0>; + i2c-sda-hold-time-ns = <0x12c>; + i2c-sda-falling-time-ns = <0x12c>; + i2c-scl-falling-time-ns = <0x12c>; + clocks = <0x05 0x4c 0x05 0x4a>; + clock-names = "LSP1_PCLK\0LSP1_WCLK"; + resets = <0x06 0x26>; + reset-names = "i2c5_reset"; + pinctrl-names = "default"; + pinctrl-0 = <0x3a>; + }; + + ddr_ecc { + status = "okay"; + compatible = "bst,a1000_ddr_ecc"; + reg = <0x00 0x38000000 0x1400 0x00 0x3c000000 0x1400 0x00 0x33000000 0x140>; + reg-names = "ddr0\0ddr1\0a55_ctrl"; + interrupt-parent = <0x01>; + interrupts = <0x00 0x8b 0x04 0x00 0x8d 0x04>; + interrupt-names = "ddr0_ecc_irq\0ddr1_ecc_irq"; + mbox-names = "bstn-mbox"; + }; + + arm_pmu { + status = "okay"; + compatible = "arm,armv8-pmuv3"; + interrupt-parent = <0x01>; + interrupts = <0x00 0x38 0xff04 0x00 0x39 0xff04 0x00 0x3a 0xff04 0x00 0x3b 0xff04 0x00 0x3c 0xff04 0x00 0x3d 0xff04 0x00 0x3e 0xff04 0x00 0x3f 0xff04>; + interrupt-affinity = <0x3b 0x3c 0x3d 0x3e 0x3f 0x40 0x41 0x42>; + }; + + noc_pmu@0x32702000 { + status = "okay"; + compatible = "bst,bst_noc_pmu"; + reg = <0x00 0x32702000 0x1000 0x00 0x32703000 0x1000 0x00 0x32704000 0x2000 0x00 0x32708000 0x1000 0x00 0x33402000 0x2400 0x00 0x33422000 0x4400 0x00 0x33401100 0x10 0x00 0x33421480 0x10>; + reg-names = "coresight_cpunoc_etf\0coresight_etr\0coresight_funnel\0coresight_corenoc_etf\0cpu_port_set\0core_port_set\0cpunoc_atb\0corenoc_atb"; + memory-region = <0x43>; + }; + + lsp0_pwm0@20012000 { + status = "disable"; + compatible = "snps,bst-pwm"; + clocks = <0x05 0x56 0x05 0x6b>; + clock-names = "wclk\0pclk"; + clock-frequency = <0x17d7840>; + reg = <0x00 0x20012000 0x14 0x00 0x200120b0 0x04>; + reg-names = "base\0top"; + pwm-ch = <0x01>; + pinctrl-names = "default"; + pinctrl-0 = <0x44>; + }; + + lsp0_pwm1@20012014 { + status = "disable"; + compatible = "snps,bst-pwm"; + clocks = <0x05 0x57 0x05 0x6b>; + clock-names = "wclk\0pclk"; + clock-frequency = <0x17d7840>; + reg = <0x00 0x20012014 0x14 0x00 0x200120b4 0x04>; + reg-names = "base\0top"; + pwm-ch = <0x01>; + pinctrl-names = "default"; + pinctrl-0 = <0x45>; + }; + + lsp1_pwm0@20013000 { + status = "disable"; + compatible = "snps,bst-pwm"; + clocks = <0x05 0x71 0x05 0x7a>; + clock-names = "wclk\0pclk"; + clock-frequency = <0x17d7840>; + reg = <0x00 0x20013000 0x14 0x00 0x200130b0 0x04>; + reg-names = "base\0top"; + pwm-ch = <0x01>; + pinctrl-names = "default"; + pinctrl-0 = <0x46>; + }; + + lsp1_pwm1@20013014 { + status = "disable"; + compatible = "snps,bst-pwm"; + clocks = <0x05 0x72 0x05 0x7a>; + clock-names = "wclk\0pclk"; + clock-frequency = <0x17d7840>; + reg = <0x00 0x20013014 0x14 0x00 0x200130b4 0x04>; + reg-names = "base\0top"; + pwm-ch = <0x01>; + pinctrl-names = "default"; + pinctrl-0 = <0x47>; + }; + + a55_timer0@32008000 { + status = "disable"; + compatible = "snps,dw-apb-timer"; + clock-frequency = <0x14dc9380>; + interrupt-parent = <0x01>; + interrupts = <0x00 0x4b 0x04>; + reg = <0x00 0x32008000 0x14>; + }; + + a55_timer1@32008014 { + status = "disable"; + compatible = "snps,dw-apb-timer"; + clock-frequency = <0x14dc9380>; + interrupt-parent = <0x01>; + interrupts = <0x00 0x4c 0x04>; + reg = <0x00 0x32008014 0x14>; + }; + + a55_timer2@32008028 { + status = "disable"; + compatible = "snps,dw-apb-timer"; + clock-frequency = <0x14dc9380>; + interrupt-parent = <0x01>; + interrupts = <0x00 0x4d 0x04>; + reg = <0x00 0x32008028 0x14>; + }; + + a55_timer3@3200803c { + status = "disable"; + compatible = "snps,dw-apb-timer"; + clock-frequency = <0x14dc9380>; + interrupt-parent = <0x01>; + interrupts = <0x00 0x4e 0x04>; + reg = <0x00 0x3200803c 0x14>; + }; + + a55_timer4@32008050 { + status = "disable"; + compatible = "snps,dw-apb-timer"; + clock-frequency = <0x14dc9380>; + interrupt-parent = <0x01>; + interrupts = <0x00 0x4f 0x04>; + reg = <0x00 0x32008050 0x14>; + }; + + a55_timer5@32008064 { + status = "disable"; + compatible = "snps,dw-apb-timer"; + clock-frequency = <0x14dc9380>; + interrupt-parent = <0x01>; + interrupts = <0x00 0x50 0x04>; + reg = <0x00 0x32008064 0x14>; + }; + + a55_timer6@32008078 { + status = "disable"; + compatible = "snps,dw-apb-timer"; + clock-frequency = <0x14dc9380>; + interrupt-parent = <0x01>; + interrupts = <0x00 0x51 0x04>; + reg = <0x00 0x32008078 0x14>; + }; + + a55_timer7@3200808c { + status = "disable"; + compatible = "snps,dw-apb-timer"; + clock-frequency = <0x14dc9380>; + interrupt-parent = <0x01>; + interrupts = <0x00 0x52 0x04>; + reg = <0x00 0x3200808c 0x14>; + }; + + spi@2000c000 { + status = "disable"; + compatible = "snps,dw-apb-ssi"; + #address-cells = <0x01>; + #size-cells = <0x00>; + reg = <0x00 0x2000c000 0x800>; + interrupt-parent = <0x01>; + interrupts = <0x00 0xdb 0x04>; + clocks = <0x05 0x58 0x05 0x68>; + clock-names = "spi_wclk\0spi_pclk"; + num-cs = <0x01>; + bus-num = <0x00>; + cs-gpios = <0x48 0x02 0x00>; + pinctrl-names = "default"; + pinctrl-0 = <0x49>; + }; + + spi@2000d000 { + status = "disable"; + compatible = "snps,dw-apb-ssi"; + #address-cells = <0x01>; + #size-cells = <0x00>; + reg = <0x00 0x2000d000 0x800>; + interrupt-parent = <0x01>; + interrupts = <0x00 0xdc 0x04>; + clocks = <0x05 0x73 0x05 0x80>; + clock-names = "spi_wclk\0spi_pclk"; + num-cs = <0x01>; + bus-num = <0x01>; + cs-gpios = <0x48 0x06 0x00>; + pinctrl-names = "default"; + pinctrl-0 = <0x4a>; + }; + + spi@2000c800 { + status = "disable"; + compatible = "snps,dw-apb-ssi"; + #address-cells = <0x01>; + #size-cells = <0x00>; + reg = <0x00 0x2000c800 0x800>; + interrupt-parent = <0x01>; + interrupts = <0x00 0xf4 0x04>; + clocks = <0x05 0x58 0x05 0x68>; + clock-names = "spi_wclk\0spi_pclk"; + num-cs = <0x01>; + bus-num = <0x02>; + cs-gpios = <0x4b 0x08 0x00>; + pinctrl-names = "default"; + pinctrl-0 = <0x4c 0x4d>; + }; + + spi@2000d800 { + status = "disable"; + compatible = "snps,dw-apb-ssi"; + #address-cells = <0x01>; + #size-cells = <0x00>; + reg = <0x00 0x2000d800 0x800>; + interrupt-parent = <0x01>; + interrupts = <0x00 0xf5 0x04>; + clocks = <0x05 0x73 0x05 0x80>; + clock-names = "spi_wclk\0spi_pclk"; + num-cs = <0x01>; + bus-num = <0x03>; + cs-gpios = <0x4b 0x10 0x00>; + pinctrl-names = "default"; + pinctrl-0 = <0x4e 0x4f>; + }; + + spi@20022000 { + status = "okay"; + compatible = "snps,dw-apb-ssi"; + #address-cells = <0x01>; + #size-cells = <0x00>; + reg = <0x00 0x20022000 0x800>; + interrupt-parent = <0x01>; + interrupts = <0x00 0xe2 0x04>; + clocks = <0x05 0x58 0x05 0x68>; + clock-names = "spi_wclk\0spi_pclk"; + num-cs = <0x01>; + bus-num = <0x04>; + cs-gpios = <0x48 0x02 0x00>; + pinctrl-names = "default"; + pinctrl-0 = <0x50>; + spi-slave; + + slave@0 { + compatible = "rohm,dh2228fv"; + reg = <0x00>; + spi-max-frequency = <0x989680>; + }; + }; + + spi@20023000 { + status = "disable"; + compatible = "snps,dw-apb-ssi"; + #address-cells = <0x01>; + #size-cells = <0x00>; + reg = <0x00 0x20023000 0x800>; + interrupt-parent = <0x01>; + interrupts = <0x00 0xe1 0x04>; + clocks = <0x05 0x73 0x05 0x80>; + clock-names = "spi_wclk\0spi_pclk"; + num-cs = <0x01>; + bus-num = <0x05>; + cs-gpios = <0x48 0x06 0x00>; + pinctrl-names = "default"; + pinctrl-0 = <0x51>; + }; + + i2s-play@2000e000 { + status = "disable"; + compatible = "snps,designware-i2s"; + reg = <0x00 0x2000e000 0x1000>; + interrupt-names = "play_irq"; + interrupt-parent = <0x01>; + interrupts = <0x00 0xdd 0x04>; + clocks = <0x05 0x61 0x05 0x59>; + clock-names = "i2spclk\0i2sclk"; + play; + channel = <0x02>; + #sound-dai-cells = <0x00>; + pinctrl-names = "default"; + pinctrl-0 = <0x52>; + }; + + i2s-rec@2000f000 { + status = "disable"; + compatible = "snps,designware-i2s"; + reg = <0x00 0x2000f000 0x1000>; + interrupt-names = "record_irq"; + interrupt-parent = <0x01>; + interrupts = <0x00 0xde 0x04>; + clocks = <0x02>; + record; + channel = <0x02>; + #sound-dai-cells = <0x00>; + pinctrl-names = "default"; + pinctrl-0 = <0x53>; + }; + + qspi@00000000 { + status = "okay"; + compatible = "snps,dwc-ssi-1.01a"; + #address-cells = <0x01>; + #size-cells = <0x00>; + reg = <0x00 0x00 0x4000000>; + interrupt-parent = <0x01>; + interrupts = <0x00 0xd9 0x04>; + clocks = <0x05 0x4d 0x05 0x4e>; + clock-names = "hclk\0wclk"; + work-mode = <0x01>; + reg-io-width = <0x04>; + bst,use-gpio-cs; + spi-rx-bus-width = <0x04>; + spi-tx-bus-width = <0x04>; + cs-gpios = <0x48 0x15 0x00>; + num-cs = <0x01>; + bus-num = <0x06>; + pinctrl-names = "default"; + pinctrl-0 = <0x54>; + + qspi0-nor0@0 { + #address-cells = <0x01>; + #size-cells = <0x01>; + spi-rx-bus-width = <0x01>; + spi-tx-bus-width = <0x01>; + compatible = "jedec,spi-nor"; + status = "okay"; + spi-max-frequency = <0xf4240>; + reg = <0x00>; + mode = <0x00>; + powerctl-fad-gpios = <0x20 0x1c 0x00>; + + partition@0 { + reg = <0x00 0x1e00000>; + label = "nor0_part0"; + }; + + partition@1e00000 { + reg = <0x1e00000 0x200000>; + label = "nor0_part1"; + }; + }; + }; + + qspi@14000000 { + status = "disable"; + compatible = "snps,dwc-ssi-1.01a"; + #address-cells = <0x01>; + #size-cells = <0x00>; + reg = <0x00 0x14000000 0x4000000>; + interrupt-parent = <0x01>; + interrupts = <0x00 0xda 0x04>; + clocks = <0x05 0x4f 0x05 0x50>; + clock-names = "hclk\0wclk"; + work-mode = <0x01>; + reg-io-width = <0x04>; + bst,use-gpio-cs; + spi-rx-bus-width = <0x04>; + spi-tx-bus-width = <0x04>; + cs-gpios = <0x55 0x01 0x00>; + num-cs = <0x01>; + bus-num = <0x07>; + pinctrl-names = "default"; + pinctrl-0 = <0x56>; + }; + + stmmac-axi-config { + snps,wr_osr_lmt = <0x0f>; + snps,rd_osr_lmt = <0x0f>; + snps,axi_fb; + snps,blen = <0x04 0x08 0x10 0x00 0x00 0x00 0x00>; + phandle = <0x57>; + }; + + rx-queues-config { + snps,rx-queues-to-use = <0x04>; + snps,rx-sched-sp; + phandle = <0x58>; + + queue0 { + snps,dcb-algorithm; + snps,map-to-dma-channel = <0x00>; + snps,priority = <0x00>; + }; + + queue1 { + snps,dcb-algorithm; + snps,map-to-dma-channel = <0x01>; + snps,priority = <0x01>; + }; + + queue2 { + snps,dcb-algorithm; + snps,map-to-dma-channel = <0x02>; + snps,priority = <0x02>; + }; + + queue3 { + snps,dcb-algorithm; + snps,map-to-dma-channel = <0x03>; + snps,priority = <0x03>; + }; + }; + + tx-queues-config { + snps,tx-queues-to-use = <0x04>; + snps,tx-sched-wrr; + phandle = <0x59>; + + queue0 { + snps,weight = <0x10>; + snps,dcb-algorithm; + snps,priority = <0x00>; + }; + + queue1 { + snps,weight = <0x10>; + snps,dcb-algorithm; + snps,priority = <0x01>; + }; + + queue2 { + snps,weight = <0x10>; + snps,dcb-algorithm; + snps,priority = <0x02>; + }; + + queue3 { + snps,weight = <0x10>; + snps,dcb-algorithm; + snps,priority = <0x03>; + }; + }; + + thermal@70039000 { + status = "okay"; + compatible = "bst,bst-thermal"; + reg = <0x00 0x70039000 0x1000>; + #thermal-sensor-cells = <0x00>; + phandle = <0x62>; + }; + + ethernet@30000000 { + status = "okay"; + compatible = "bst,dw-eqos-eth"; + reg = <0x00 0x30000000 0x100000>; + interrupt-parent = <0x01>; + interrupts = <0x00 0x9f 0xff04 0x00 0xa0 0xff04 0x00 0xa1 0xff04 0x00 0xa2 0xff04 0x00 0xa3 0xff04 0x00 0xa4 0xff04 0x00 0xa5 0xff04 0x00 0xa6 0xff04 0x00 0xa7 0xff04 0x00 0xa8 0xff04 0x00 0xa9 0xff04 0x00 0xaa 0xff04>; + interrupt-names = "sbd_irq\0sfty_ce_irq\0sfty_ue_irq\0tx_chan0_irq\0tx_chan1_irq\0tx_chan2_irq\0tx_chan3_irq\0rx_chan0_irq\0rx_chan1_irq\0rx_chan2_irq\0rx_chan3_irq\0eth_lpi"; + ethernet-id = <0x00>; + mac-address = [00 00 00 00 00 00]; + max-frame-size = <0xed8>; + phy-mode = "rgmii"; + snps,multicast-filter-bins = <0x100>; + snps,perfect-filter-entries = <0x80>; + rx-fifo-depth = <0x4000>; + tx-fifo-depth = <0x4000>; + clocks = <0x05 0x0f 0x05 0x13 0x05 0x15 0x05 0x11>; + clock-names = "wclk\0axim_aclk\0pclk\0ptp_ref"; + bst,fix-safety = <0x00>; + bst,dma_int_mode = <0x01>; + snps,fixed-burst; + snps,force_sf_dma_mode; + snps,ps-speed = <0x3e8>; + snps,axi-config = <0x57>; + snps,mtl-rx-config = <0x58>; + snps,mtl-tx-config = <0x59>; + label = "gmac0"; + resets = <0x06 0x11>; + reset-names = "bstgmaceth"; + eth-name = "gmac0"; + eth-number = <0x00>; + mac-mode = "rgmii"; + extend-op = <0x03>; + pinctrl-names = "default"; + pinctrl-0 = <0x5a>; + + fixed-link { + speed = <0x3e8>; + full-duplex; + }; + }; + + ethernet@30100000 { + status = "disable"; + compatible = "bst,dw-eqos-eth"; + reg = <0x00 0x30100000 0x100000>; + interrupt-parent = <0x01>; + interrupts = <0x00 0xab 0xff04 0x00 0xac 0xff04 0x00 0xad 0xff04 0x00 0xae 0xff04 0x00 0xaf 0xff04 0x00 0xb0 0xff04 0x00 0xb1 0xff04 0x00 0xb2 0xff04 0x00 0xb3 0xff04 0x00 0xb4 0xff04 0x00 0xb5 0xff04 0x00 0xb6 0xff04>; + interrupt-names = "sbd_irq\0sfty_ce_irq\0sfty_ue_irq\0tx_chan0_irq\0tx_chan1_irq\0tx_chan2_irq\0tx_chan3_irq\0rx_chan0_irq\0rx_chan1_irq\0rx_chan2_irq\0rx_chan3_irq\0eth_lpi"; + ethernet-id = <0x01>; + mac-address = [00 00 00 00 00 00]; + max-frame-size = <0xed8>; + phy-mode = "rgmii"; + snps,multicast-filter-bins = <0x100>; + snps,perfect-filter-entries = <0x80>; + rx-fifo-depth = <0x4000>; + tx-fifo-depth = <0x4000>; + clocks = <0x05 0x10 0x05 0x14 0x05 0x16 0x05 0x12>; + clock-names = "wclk\0axim_aclk\0pclk\0ptp_ref"; + bst,fix-safety = <0x00>; + bst,dma_int_mode = <0x01>; + snps,fixed-burst; + snps,force_sf_dma_mode; + snps,ps-speed = <0x3e8>; + snps,axi-config = <0x57>; + snps,mtl-rx-config = <0x58>; + snps,mtl-tx-config = <0x59>; + label = "gmac1"; + resets = <0x06 0x12>; + reset-names = "bstgmaceth"; + pinctrl-names = "default"; + pinctrl-0 = <0x5b>; + extend-op = <0x03>; + eth-name = "gmac1"; + eth-number = <0x01>; + mac-mode = "rgmii"; + phy-handle = <0x5c>; + + mdio { + compatible = "snps,dwmac-mdio"; + #address-cells = <0x01>; + #size-cells = <0x00>; + + eth_phy1@1 { + compatible = "marvell,88Q2122\0ethernet-phy-id002B.0983\0ethernet-phy-ieee802.3-c45"; + device_type = "ethernet-phy"; + max-speed = <0x3e8>; + reg = <0x01>; + reset-gpios = <0x20 0x09 0x01>; + reset-active-low; + reset-assert-us = <0x4e20>; + reset-deassert-us = <0x4e20>; + phandle = <0x5c>; + }; + }; + }; + + phy@30E01000 { + compatible = "bst,dwc-usb-phy"; + #phy-cells = <0x00>; + reg = <0x00 0x30e01000 0x1000>; + usb_mode = "usb20"; + phandle = <0x5f>; + }; + + phy@30E00000 { + compatible = "bst,dwc-usb-phy"; + reg = <0x00 0x30e00000 0x1000>; + #phy-cells = <0x00>; + usb_mode = "usb30"; + pll_type = "internal"; + phandle = <0x5d>; + }; + + usb3 { + compatible = "bst,dwc3usb"; + status = "okay"; + ranges; + #address-cells = <0x02>; + #size-cells = <0x01>; + clock-names = "suspend\0ref\0axi\0apb"; + clocks = <0x05 0x17 0x05 0x18 0x05 0x19 0x05 0x1a>; + resets = <0x06 0x04>; + reset-names = "usb3_reset"; + phys = <0x5d>; + phy-names = "usb-phy"; + pll_type = "internal"; + powerctl-gpios = <0x20 0x0e 0x00>; + pinctrl-names = "default"; + pinctrl-0 = <0x5e>; + + dwc3@30200000 { + compatible = "snps,dwc3"; + reg-shift = <0x02>; + reg-io-width = <0x04>; + reg = <0x00 0x30200000 0x100000>; + interrupts = <0x00 0xc8 0x04>; + interrupt-parent = <0x01>; + dr_mode = "host"; + snps,dis_u3_susphy_quirk; + }; + }; + + usb2 { + compatible = "bst,dwc3usb"; + status = "okay"; + ranges; + #address-cells = <0x02>; + #size-cells = <0x01>; + clock-names = "ahb\0ref\0apb"; + clocks = <0x05 0x1b 0x05 0x1d 0x05 0x1c>; + reset-names = "usb2_reset"; + resets = <0x06 0x05>; + phys = <0x5f>; + phy-names = "usb-phy"; + pll_type = "internal"; + + dwc3@30300000 { + status = "okay"; + compatible = "snps,dwc3"; + reg = <0x00 0x30300000 0x100000>; + interrupts = <0x00 0xc9 0x04>; + interrupt-parent = <0x01>; + dr_mode = "peripheral"; + snps,incr-burst-type-adjustment = <0x01 0x04 0x08 0x10>; + snps,reqinfo-for-data-read = <0x08>; + snps,reqinfo-for-descriptor-read = <0x08>; + }; + }; + + dwmmc0@30400000 { + status = "okay"; + compatible = "bst,dwcmshc-sdhci"; + clocks = <0x05 0x1f 0x05 0x1e>; + clock-names = "core\0bus"; + reg = <0x00 0x30400000 0x1000>; + interrupt-parent = <0x01>; + interrupts = <0x00 0xb9 0x04>; + interrupt-names = "IRQDWMMC0"; + #address-cells = <0x01>; + #size-cells = <0x00>; + data-addr = <0x200>; + fifo-watermark-aligned; + clock-frequency = <0x2faf080>; + max-frequency = <0xbebc200>; + min-frequency = <0x61a80>; + broken-64bit-dma; + clear-tarns-mode; + fifo-depth = <0x400>; + card-detect-delay = <0xc8>; + bus-width = <0x08>; + cap-mmc-highspeed; + non-removable; + no-sdio; + no-sd; + keep-power-in-suspend; + no-3-3-v; + sdhci,auto-cmd12; + pinctrl-names = "default"; + pinctrl-0 = <0x60>; + }; + + dwmmc1@30500000 { + status = "okay"; + compatible = "bst,dwcmshc-sdhci"; + clocks = <0x05 0x21 0x05 0x20>; + clock-names = "core\0bus"; + reg = <0x00 0x30500000 0x1000>; + interrupt-parent = <0x01>; + interrupts = <0x00 0xbd 0x04>; + interrupt-names = "IRQDWMMC1"; + #address-cells = <0x01>; + #size-cells = <0x00>; + data-addr = <0x200>; + fifo-watermark-aligned; + clock-frequency = <0x5f5e100>; + max-frequency = <0xbebc200>; + min-frequency = <0x61a80>; + broken-64bit-dma; + clear-tarns-mode; + fifo-depth = <0x400>; + card-detect-delay = <0xc8>; + bus-width = <0x04>; + cap-sd-highspeed; + sd-uhs-sdr12; + sd-uhs-sdr25; + sd-uhs-sdr50; + no-sdio; + no-mmc; + sdhci,auto-cmd12; + keep-power-in-suspend; + pinctrl-names = "default"; + pinctrl-0 = <0x61>; + }; + + gpu@33300000 { + status = "okay"; + compatible = "arm,mali-450\0arm,mali-utgard"; + reg = <0x00 0x33300000 0x30000>; + interrupt-parent = <0x01>; + interrupts = <0x00 0x81 0x04 0x00 0x82 0x04 0x00 0x83 0x04 0x00 0x84 0x04 0x00 0x85 0x04 0x00 0x86 0x04 0x00 0x87 0x04 0x00 0x88 0x04>; + interrupt-names = "IRQPP0\0IRQPPMMU0\0IRQPP1\0IRQPPMMU1\0IRQGP\0IRQGPMMU\0IRQPMU\0IRQPP"; + clocks = <0x05 0x31 0x05 0x32>; + clock-names = "clk_mali\0clk_mali_apb"; + resets = <0x06 0x0b>; + reset-names = "gpu_reset"; + ppcores = <0x02>; + dedicated_mem_start = <0x00>; + dedicated_mem_size = <0x00>; + }; + + mali-v500@0x55000000 { + status = "okay"; + compatible = "arm,mali-v500"; + reg = <0x00 0x55000000 0xffff>; + interrupt-parent = <0x01>; + interrupts = <0x00 0x9a 0x04>; + interrupt-names = "IRQV500"; + resets = <0x06 0x00>; + reset-names = "codec_reset"; + clocks = <0x05 0x3d>; + clock-names = "clk_v500"; + }; + }; + + cooling_dev { + + pwm { + cpumask = <0x0f>; + capacitance = <0x5dc>; + #cooling-cells = <0x02>; + phandle = <0x64>; + }; + }; + + thermal-zones { + + cpu-thermal { + polling-delay-passive = <0x1f4>; + polling-delay = <0x3e8>; + thermal-sensors = <0x62>; + + trips { + + switch_trip { + temperature = <0x15f90>; + hysteresis = <0x7d0>; + type = "passive"; + phandle = <0x63>; + }; + + critical_trip { + temperature = <0x1e848>; + hysteresis = <0x00>; + type = "critical"; + }; + }; + + cooling-maps { + + map0 { + trip = <0x63>; + cooling-device = <0x64 0x00 0x01>; + }; + }; + }; + }; + + pinctrl@70038000 { + status = "okay"; + compatible = "bst,pinctrl-a1000b"; + #address-cells = <0x02>; + #size-cells = <0x02>; + reg = <0x00 0x70038000 0x00 0x1000 0x00 0x33001000 0x00 0x1000>; + reg-names = "aon\0top"; + #gpio-cells = <0x02>; + + spi0_pinctrl { + phandle = <0x49>; + + mux { + pins = "spi0_miso\0spi0_mosi\0spi0_sclk"; + function = "spi0"; + }; + }; + + spi1_pinctrl { + phandle = <0x4a>; + + mux { + pins = "spi1_miso\0spi1_mosi\0spi1_sclk"; + function = "spi1"; + }; + }; + + spi2_pinctrl { + phandle = <0x4c>; + + mux { + pins = "uart0_cts\0uart1_cts\0uart1_rts"; + function = "spi2"; + }; + }; + + spi2_cs_pinctrl { + phandle = <0x4d>; + + mux { + pins = "uart0_rts"; + function = "gpio"; + }; + }; + + spi3_pinctrl { + phandle = <0x4e>; + + mux { + pins = "uart2_cts\0uart3_cts\0uart3_rts"; + function = "spi3"; + }; + }; + + spi3_cs_pinctrl { + phandle = <0x4f>; + + mux { + pins = "uart2_rts"; + function = "gpio"; + }; + }; + + spi4_pinctrl { + phandle = <0x50>; + + mux { + pins = "spi0_miso\0spi0_mosi\0spi0_sclk\0spi0_cs"; + function = "spi0_s"; + }; + }; + + spi5_pinctrl { + phandle = <0x51>; + + mux { + pins = "spi1_miso\0spi1_mosi\0spi1_sclk"; + function = "spi1_s"; + }; + }; + + i2c0_pinctrl { + phandle = <0x1d>; + + mux { + pins = "i2c0_scl\0i2c0_sda"; + function = "i2c0"; + }; + }; + + i2c1_pinctrl { + phandle = <0x1e>; + + mux { + pins = "i2c1_scl\0i2c1_sda"; + function = "i2c1"; + }; + }; + + i2c2_pinctrl { + phandle = <0x1f>; + + mux { + pins = "i2c2_scl\0i2c2_sda"; + function = "i2c2"; + }; + }; + + i2c3_pinctrl { + phandle = <0x38>; + + mux { + pins = "i2c3_scl\0i2c3_sda"; + function = "i2c3"; + }; + }; + + i2c4_pinctrl { + phandle = <0x39>; + + mux { + pins = "i2c4_scl\0i2c4_sda"; + function = "i2c4"; + }; + }; + + i2c5_pinctrl { + phandle = <0x3a>; + + mux { + pins = "i2c5_scl\0i2c5_sda"; + function = "i2c5"; + }; + }; + + uart0_pinctrl { + phandle = <0x07>; + + mux { + pins = "uart0_txd\0uart0_rxd"; + function = "uart0"; + }; + }; + + uart1_pinctrl { + phandle = <0x08>; + + mux { + pins = "uart1_txd\0uart1_rxd"; + function = "uart1"; + }; + }; + + uart2_pinctrl { + phandle = <0x09>; + + mux { + pins = "uart2_txd\0uart2_rxd"; + function = "uart2"; + }; + }; + + uart3_pinctrl { + phandle = <0x0a>; + + mux { + pins = "uart3_txd\0uart3_rxd"; + function = "uart3"; + }; + }; + + gpio0_pinctrl { + + mux { + pins = "gpio_29"; + function = "gpio"; + }; + }; + + gpio_special_func_pinctrl { + + mux { + pins = "gpio_24\0gpio_29\0debug4\0debug5\0uart0_cts\0uart0_rts"; + function = "gpio"; + }; + }; + + qspi0_pinctrl { + phandle = <0x54>; + + mux { + pins = "qspi0_cs0"; + function = "gpio"; + }; + }; + + usb3_pinctrl { + phandle = <0x5e>; + + mux { + pins = "gpio_14"; + function = "gpio"; + }; + }; + + qspi1_pinctrl { + phandle = <0x56>; + + mux { + pins = "qspi1_cs1"; + function = "gpio"; + }; + }; + + des_960_1_pinctrl { + + mux { + pins = "qspi1_io1"; + function = "gpio"; + }; + }; + + des_960_2_pinctrl { + + mux { + pins = "qspi1_io3"; + function = "gpio"; + }; + }; + + des_960_3_pinctrl { + + mux { + pins = "qspi1_io5"; + function = "gpio"; + }; + }; + + bist_pinctrl { + + mux { + pins = "spi1_mosi"; + function = "bist"; + }; + }; + + + + i2s0_pinctrl { + phandle = <0x52>; + + mux { + pins = "i2s0_ck\0i2s0_mck\0i2s0_sd_out\0i2s0_ws\0qspi0_io4"; + function = "i2s0"; + }; + }; + + i2s1_pinctrl { + phandle = <0x53>; + + mux { + pins = "i2s1_ck\0i2s1_sd_in\0i2s1_ws"; + function = "i2s1"; + }; + }; + + isp_pinctrl { + phandle = <0x67>; + + mux { + pins = "isp_fsync0\0isp_fsync1\0isp_fsync2\0isp_fsync3"; + function = "isp"; + }; + }; + + ptp_pinctrl { + + mux { + pins = "ptp_pps0\0ptp_pps1\0ptp_clk"; + function = "ptp"; + }; + }; + + ptp_pinconfig { + + config { + pins = "ptp_clk"; + drive-strength = <0x02>; + input-enable; + }; + }; + + err_rpt_l0_pinctrl { + + mux { + pins = "err_rpt_l0_n\0err_rpt_l0_p"; + function = "err_rpt_l0"; + }; + }; + + err_rpt_gpio_l0_pinctrl { + + mux { + pins = "err_rpt_l0_n\0err_rpt_l0_p"; + function = "gpio"; + }; + }; + + err_rpt_l1_pinctrl { + + mux { + pins = "err_rpt_l1_n\0err_rpt_l1_p"; + function = "err_rpt_l1"; + }; + }; + + pwm_lsp0_pwm0_pinctrl { + phandle = <0x44>; + + mux { + pins = "pwm0"; + function = "pwm"; + }; + }; + + pwm_lsp0_pwm1_pinctrl { + phandle = <0x45>; + + mux { + pins = "pwm1"; + function = "pwm"; + }; + }; + + pwm_lsp1_pwm0_pinctrl { + phandle = <0x46>; + + mux { + pins = "pwm2"; + function = "pwm"; + }; + }; + + pwm_lsp1_pwm1_pinctrl { + phandle = <0x47>; + + mux { + pins = "pwm3"; + function = "pwm"; + }; + }; + + ts_pinctrl { + + mux { + pins = "ts_trig_in00\0ts_trig_in01\0ts_trig_in10\0ts_trig_in11"; + function = "ts"; + }; + }; + + sdemmc0_pinctrl { + phandle = <0x15>; + + mux { + pins = "sdemmc0_clk\0sdemmc0_cmd\0sdemmc0_dat0\0sdemmc0_dat1\0sdemmc0_dat2\0sdemmc0_dat3\0sdemmc0_dat4\0sdemmc0_dat5\0sdemmc0_dat6\0sdemmc0_dat7\0sdemmc0_rstb\0sdemmc0_cdn\0sdemmc0_wp"; + function = "sdemmc0"; + }; + }; + + sdemmc0_pinconfig { + phandle = <0x60>; + + config { + pins = "sdemmc0_clk\0sdemmc0_cmd\0sdemmc0_dat0\0sdemmc0_dat1\0sdemmc0_dat2\0sdemmc0_dat3\0sdemmc0_dat4\0sdemmc0_dat5\0sdemmc0_dat6\0sdemmc0_dat7\0sdemmc0_rstb\0sdemmc0_cdn\0sdemmc0_wp"; + drive-strength = <0x02>; + input-enable; + }; + }; + + sdemmc1_pinctrl { + phandle = <0x16>; + + mux { + pins = "sdemmc1_clk\0sdemmc1_cmd\0sdemmc1_dat0\0sdemmc1_dat1\0sdemmc1_dat2\0sdemmc1_dat3\0sdemmc1_dat4\0sdemmc1_dat5\0sdemmc1_dat6\0sdemmc1_dat7\0sdemmc1_rstb\0sdemmc1_cdn\0sdemmc1_wp"; + function = "sdemmc1"; + }; + }; + + sdemmc1_pinconfig { + phandle = <0x61>; + + config { + pins = "sdemmc1_clk\0sdemmc1_cmd\0sdemmc1_dat0\0sdemmc1_dat1\0sdemmc1_dat2\0sdemmc1_dat3\0sdemmc1_dat4\0sdemmc1_dat5\0sdemmc1_dat6\0sdemmc1_dat7\0sdemmc1_rstb\0sdemmc1_cdn\0sdemmc1_wp"; + drive-strength = <0x0f>; + input-enable; + }; + }; + + debug_pinctrl { + phandle = <0x17>; + + mux { + pins = "debug0\0debug1\0debug2\0debug3\0debug4\0debug5\0debug6\0debug7"; + function = "debug"; + }; + }; + + strap_pinctrl { + + mux { + pins = "gpio_24\0gpio_25\0gpio_26\0gpio_27\0gpio_28\0gpio_29\0spi1_sclk\0i2s0_mck\0i2s0_ck\0gpio_107\0gpio_108"; + function = "strap"; + }; + }; + + vout_pinctrl { + phandle = <0x18>; + + mux { + pins = "vout_r0\0vout_r1\0vout_r2\0vout_r3\0vout_r4\0vout_r5\0vout_r6\0vout_r7\0vout_g0\0vout_g1\0vout_g2\0vout_g3\0vout_g4\0vout_g5\0vout_g6\0vout_g7\0vout_b0\0vout_b1\0vout_b2\0vout_b3\0vout_b4\0vout_b5\0vout_b6\0vout_b7\0vout_hs\0vout_vs\0vout_de\0vout_pclk\0vout_pdb"; + function = "vout"; + }; + }; + + vout_pinconfig { + + config { + pins = "vout_r0\0vout_r1\0vout_r2\0vout_r3\0vout_r4\0vout_r5\0vout_r6\0vout_r7\0vout_g0\0vout_g1\0vout_g2\0vout_g3\0vout_g4\0vout_g5\0vout_g6\0vout_g7\0vout_b0\0vout_b1\0vout_b2\0vout_b3\0vout_b4\0vout_b5\0vout_b6\0vout_b7\0vout_hs\0vout_vs\0vout_de\0vout_pclk\0vout_pdb"; + drive-strength = <0x02>; + input-enable; + }; + }; + + vin_pinctrl { + phandle = <0x19>; + + mux { + pins = "vin_b0\0vin_b1\0vin_b2\0vin_b3\0vin_b4\0vin_de\0vin_g0\0vin_g1\0vin_g2\0vin_g3\0vin_g4\0vin_g5\0vin_hs\0vin_llc\0vin_r0\0vin_r1\0vin_r2\0vin_r3\0vin_r4\0vin_vs"; + function = "vin"; + }; + }; + + vin_pinconfig { + + config { + pins = "vin_b0\0vin_b1\0vin_b2\0vin_b3\0vin_b4\0vin_de\0vin_g0\0vin_g1\0vin_g2\0vin_g3\0vin_g4\0vin_g5\0vin_hs\0vin_llc\0vin_r0\0vin_r1\0vin_r2\0vin_r3\0vin_r4\0vin_vs"; + drive-strength = <0x02>; + input-enable; + }; + }; + + rgmii0_pinctrl { + phandle = <0x5a>; + + mux { + pins = "rgmii0_txd0\0rgmii0_txd1\0rgmii0_txd2\0rgmii0_txd3\0gmii0_txd4\0gmii0_txd5\0gmii0_txd6\0gmii0_txd7\0gmii0_txer\0rgmii0_txctrl\0mii0_txclk\0rgmii0_gtxclk\0rgmii0_rxd0\0rgmii0_rxd1\0rgmii0_rxd2\0rgmii0_rxd3\0gmii0_rxd4\0gmii0_rxd5\0gmii0_rxd6\0gmii0_rxd7\0gmii0_rxer\0rgmii0_rxctrl\0rgmii0_rxclk\0rgmii0_mdio\0rgmii0_mdc\0rgmii0_intr"; + function = "rgmii0"; + }; + }; + + rgmii0_pinconfig { + + config { + pins = "rgmii0_gtxclk\0rgmii0_mdc\0rgmii0_mdio\0rgmii0_rxclk\0rgmii0_rxctrl\0rgmii0_rxd0\0rgmii0_rxd1\0rgmii0_rxd2\0rgmii0_rxd3\0rgmii0_txctrl\0rgmii0_txd0\0rgmii0_txd1\0rgmii0_txd2\0rgmii0_txd3"; + drive-strength = <0x02>; + input-enable; + }; + }; + + rgmii1_pinctrl { + phandle = <0x5b>; + + mux { + pins = "rgmii1_txd0\0rgmii1_txd1\0rgmii1_txd2\0rgmii1_txd3\0mii1_rxer\0mii1_txclk\0rgmii1_txctrl\0rgmii1_gtxclk\0rgmii1_rxd0\0rgmii1_rxd1\0rgmii1_rxd2\0rgmii1_rxd3\0rgmii1_rxctrl\0rgmii1_rxclk\0rgmii1_mdc\0rgmii1_mdio\0rgmii1_intr"; + function = "rgmii1"; + }; + }; + + rgmii1_pinconfig { + + config { + pins = "rgmii1_gtxclk\0rgmii1_mdc\0rgmii1_mdio\0rgmii1_rxclk\0rgmii1_rxctrl\0rgmii1_rxd0\0rgmii1_rxd1\0rgmii1_rxd2\0rgmii1_rxd3\0rgmii1_txctrl\0rgmii1_txd0\0rgmii1_txd1\0rgmii1_txd2\0rgmii1_txd3"; + drive-strength = <0x02>; + input-enable; + }; + }; + + gmii0_pinconfig { + + config { + pins = "gmii0_rxd4\0gmii0_rxd5\0gmii0_rxd6\0gmii0_rxd7\0gmii0_rxer\0gmii0_txd4\0gmii0_txd5\0gmii0_txd6\0gmii0_txd7\0gmii0_txer"; + drive-strength = <0x02>; + input-enable; + }; + }; + + ssd_pinctrl { + phandle = <0x1a>; + + mux { + pins = "sdemmc0_led_ctl\0sdemmc1_led_ctl\0gpio_26\0gpio_27"; + function = "gpio"; + }; + }; + + gnss_pinctrl { + phandle = <0x1b>; + + mux { + pins = "gpio_31\0gpio_12\0pwm1"; + function = "gpio"; + }; + }; + + fan_pinctrl { + phandle = <0x1c>; + + mux { + pins = "gpio_27\0gpio_28"; + function = "gpio"; + }; + }; + + + }; + + isp { + #address-cells = <0x02>; + #size-cells = <0x02>; + compatible = "bst,a1000b-isp"; + memory-region = <0x65 0x66>; + assigned-mem-size = <0x1000>; + mbox-names = "bstn-mbox"; + mboxes = <0xea 0x06>; + isp-fw-fbuf-addr = <0xa2000000>; + isp-fw-fbuf-size = <0x10000000>; + dma-coherent; + pinctrl-names = "default"; + pinctrl-0 = <0x67>; + + core@0 { + id = <0x00>; + + ports { + #address-cells = <0x01>; + #size-cells = <0x00>; + + port@0 { + reg = <0x00>; + + endpoint@0 { + remote-endpoint = <0x68>; + phandle = <0x73>; + }; + }; + + port@1 { + reg = <0x01>; + + endpoint@1 { + remote-endpoint = <0x69>; + phandle = <0x74>; + }; + }; + + port@2 { + reg = <0x02>; + + endpoint@2 { + remote-endpoint = <0x6a>; + phandle = <0x75>; + }; + }; + + port@3 { + reg = <0x03>; + + endpoint@3 { + remote-endpoint = <0x6b>; + phandle = <0x76>; + }; + }; + }; + }; + + core@1 { + id = <0x01>; + + ports { + #address-cells = <0x01>; + #size-cells = <0x00>; + + port@0 { + reg = <0x00>; + + endpoint@4 { + remote-endpoint = <0x6c>; + phandle = <0x78>; + }; + }; + + port@1 { + reg = <0x01>; + + endpoint@5 { + remote-endpoint = <0x6d>; + phandle = <0x79>; + }; + }; + + port@2 { + reg = <0x02>; + + endpoint@6 { + remote-endpoint = <0x6e>; + phandle = <0x7a>; + }; + }; + + port@3 { + reg = <0x03>; + + endpoint@7 { + remote-endpoint = <0x6f>; + phandle = <0x7b>; + }; + }; + }; + }; + + core@2 { + id = <0x02>; + + ports { + #address-cells = <0x01>; + #size-cells = <0x00>; + + port@0 { + reg = <0x00>; + + endpoint@8 { + remote-endpoint = <0x70>; + phandle = <0x7d>; + }; + }; + + port@1 { + reg = <0x01>; + + endpoint@9 { + remote-endpoint = <0x71>; + phandle = <0x7e>; + }; + }; + }; + }; + }; + + csi@0 { + compatible = "bst,a1000b_csi2"; + #address-cells = <0x01>; + #size-cells = <0x00>; + clock-lanes = <0x00>; + data-lanes = <0x01 0x02>; + lane-speed = <0x960>; + id = <0x00>; + resets = <0x06 0x0d>; + reset-names = "csi0_reset"; + + csi-link { + + ports { + + port@0 { + + endpoint@0 { + remote-endpoint = <0x72>; + phandle = <0x21>; + }; + }; + }; + }; + + ports { + #address-cells = <0x01>; + #size-cells = <0x00>; + + port@0 { + reg = <0x00>; + + endpoint@0 { + remote-endpoint = <0x73>; + phandle = <0x68>; + }; + }; + + port@1 { + reg = <0x01>; + + endpoint@1 { + remote-endpoint = <0x74>; + phandle = <0x69>; + }; + }; + + port@2 { + reg = <0x02>; + + endpoint@2 { + remote-endpoint = <0x75>; + phandle = <0x6a>; + }; + }; + + port@3 { + reg = <0x03>; + + endpoint@3 { + remote-endpoint = <0x76>; + phandle = <0x6b>; + }; + }; + }; + }; + + csi@1 { + compatible = "bst,a1000b_csi2"; + #address-cells = <0x01>; + #size-cells = <0x00>; + clock-lanes = <0x00>; + data-lanes = <0x01 0x02 0x03 0x04>; + lane-speed = <0x640>; + id = <0x01>; + resets = <0x06 0x0e>; + reset-names = "csi1_reset"; + + csi-link { + + ports { + + port@0 { + + endpoint@0 { + remote-endpoint = <0x77>; + phandle = <0x26>; + }; + }; + }; + }; + + ports { + #address-cells = <0x01>; + #size-cells = <0x00>; + + port@0 { + reg = <0x00>; + + endpoint@0 { + remote-endpoint = <0x78>; + phandle = <0x6c>; + }; + }; + + port@1 { + reg = <0x01>; + + endpoint@1 { + remote-endpoint = <0x79>; + phandle = <0x6d>; + }; + }; + + port@2 { + reg = <0x02>; + + endpoint@2 { + remote-endpoint = <0x7a>; + phandle = <0x6e>; + }; + }; + + port@3 { + reg = <0x03>; + + endpoint@3 { + remote-endpoint = <0x7b>; + phandle = <0x6f>; + }; + }; + }; + }; + + csi@3 { + compatible = "bst,a1000b-csi2-2x2"; + #address-cells = <0x01>; + #size-cells = <0x00>; + clock-lanes = <0x00>; + data-lanes = <0x01 0x02>; + lane-speed = <0x960>; + resets = <0x06 0x10>; + reset-names = "csi2_reset"; + id = <0x03>; + + csi-link { + + ports { + + port@0 { + + endpoint@0 { + remote-endpoint = <0x7c>; + phandle = <0x2b>; + }; + }; + }; + }; + + ports { + #address-cells = <0x01>; + #size-cells = <0x00>; + + port@0 { + reg = <0x00>; + + endpoint@0 { + remote-endpoint = <0x7d>; + phandle = <0x70>; + }; + }; + + port@1 { + reg = <0x01>; + + endpoint@1 { + remote-endpoint = <0x7e>; + phandle = <0x71>; + }; + }; + }; + }; + + chosen { + bootargs = "earlycon=uart8250,mmio32,0x20008000 console=ttyS0,115200n8 memreserve=64M@0xf8000000 rdinit=/sbin/init root=/dev/mmcblk0p7 rw"; + stdout-path = "uart0"; + }; + + aliases { + // uart0 = "/amba_apu/serial@20008000"; + }; + + memory@80000000 { + device_type = "memory"; + reg = <0x00 0x80000000 0x00 0x70000000>; + }; + + // memory@1b0000000 { + // device_type = "memory"; + // reg = <0x01 0xb0000000 0x00 0x40000000>; + // }; + + reserved-memory { + #address-cells = <0x02>; + #size-cells = <0x02>; + ranges; + + // linux,cma@88000000 { + // compatible = "shared-dma-pool"; + // reusable; + // reg = <0x0 0x84000000 0x0 0x07000000>; + // linux,cma-default; + // }; + + pcie_ctrl@8fd00000 { + compatible = "bst,pcie-ctrl"; + reg = <0x00 0x8fd00000 0x00 0x100000>; + no-map; + phandle = <0x0c>; + }; + + bst_atf@8b000000 { + compatible = "shared-dma-pool"; + reg = <0x00 0x8b000000 0x00 0x2000000>; + no-map; + }; + + bst_tee@8fec0000 { + compatible = "shared-dma-pool"; + reg = <0x00 0x8fec0000 0x00 0x40000>; + no-map; + phandle = <0x82>; + }; + + bstn_cma@8ff00000 { + compatible = "shared-dma-pool"; + reg = <0x00 0x8ff00000 0x00 0x100000>; + no-map; + phandle = <0x7f>; + }; + + bstn@90000000 { + compatible = "bst,bstn"; + reg = <0x00 0x90000000 0x00 0x2000000>; + no-map; + }; + + bst_lwnn@92000000 { + compatible = "bst,bst_lwnn"; + reg = <0x00 0x92000000 0x00 0x2000000>; + no-map; + }; + + bst_lwnn@94000000 { + compatible = "bst,bst_lwnn"; + reg = <0x00 0x94000000 0x00 0x2000000>; + no-map; + }; + + bst_cv@96000000 { + compatible = "bst,bst_cv"; + reg = <0x00 0x96000000 0x00 0x4000000>; + no-map; + }; + + bst_cv_cma@9a000000 { + compatible = "shared-dma-pool"; + reg = <0x00 0x9a000000 0x00 0x2000000>; + align-shift = <0x08>; + no-map; + phandle = <0x80>; + }; + + vsp@0x9c000000 { + compatible = "shared-dma-pool"; + reg = <0x00 0x9c000000 0x00 0x1000000>; + no-map; + phandle = <0x81>; + }; + + vsp_fw@0x9d000000 { + reg = <0x00 0x9d000000 0x00 0x4000000>; + no-map; + }; + + bst_isp@0xa1000000 { + compatible = "shared-dma-pool"; + reg = <0x00 0xa1000000 0x00 0x1000000>; + no-map; + phandle = <0x65>; + }; + + bst_isp_fw@0xa2000000 { + reg = <0x00 0xa2000000 0x00 0x10000000>; + no-map; + }; + + coreip_pub_cma@0xb2000000 { + compatible = "shared-dma-pool"; + align-shift = <0x08>; + reg = <0x00 0xb2000000 0x00 0x36000000>; + reusable; + phandle = <0x66>; + }; + + noc_pmu@0xe8000000 { + compatible = "shared-dma-pool"; + reg = <0x00 0xe8000000 0x00 0x800000>; + reusable; + phandle = <0x43>; + }; + + + ddr0@0xf0000000 { + reg = <0x00 0xf0000000 0x00 0x10000000>; + no-map; + }; + + ddr1@0x1f0000000 { + reg = <0x01 0xf0000000 0x00 0x10000000>; + no-map; + }; + }; + + mbox-poll-clients { + compatible = "bst,ipc-mbox-client"; + reg = <0xfec00020 0x08 0x52030090 0x08 0x53090008 0x08 0xfec00028 0x08>; + #mbox-cells = <0x01>; + phandle = <0x0e>; + }; + + bstn-mbox { + compatible = "bstn,bstn-mbox"; + reg = <0x00 0x33102000 0x00 0x2000 0x00 0x33100000 0x00 0x2000 0x00 0x80000000 0x00 0x04 0x00 0x80002000 0x00 0x04>; + fpga-reset = <0x01>; + memory-region = <0x7f>; + assigned-mem-size = <0x1000>; + interrupt-parent = <0x01>; + interrupts = <0x00 0x71 0xff04 0x00 0x72 0xff04 0x00 0x73 0xff04 0x00 0x74 0xff04 0x00 0x75 0xff04 0x00 0x76 0xff04 0x00 0x77 0xff04 0x00 0x78 0xff04>; + #mbox-cells = <0x01>; + phandle = <0xea>; + }; + + bstn@0 { + #address-cells = <0x02>; + #size-cells = <0x02>; + compatible = "bst,bstn-a1000b,cma"; + reg = <0x00 0x50020000 0x00 0x100 0x00 0x90000000 0x00 0x2000000>; + memory-region = <0x66>; + rmem-base = <0x00 0xb2000000>; + rmem-size = <0x00 0x36000000>; + id = <0x00>; + assigned-mem-size = <0x1000>; + bus-offset = <0x00 0x00>; + mbox-names = "bstn-mbox"; + mboxes = <0xea 0x08>; + firmware = "bstn_dsp_rtos.rbf"; + }; + + bst_cv@0x51030000 { + #address-cells = <0x02>; + #size-cells = <0x02>; + compatible = "bst,bst_cv,cma"; + reg = <0x00 0x51030000 0x00 0x100 0x00 0x96000000 0x00 0x2000000 0x00 0x98000000 0x00 0x2000000 0x00 0x92000000 0x00 0x2000000 0x00 0x94000000 0x00 0x2000000>; + memory-region = <0x80>; + assigned-mem-size = <0x4000>; + bus-offset = <0x00 0x00>; + mbox-names = "bstn-mbox"; + mboxes = <0xea 0x09>; + dsp-num = <0x04>; + ipc-register-addr = <0x8ff00000>; + + dsp@0x96000000 { + index = <0x00>; + firmware = "bst_cv_dsp_rt.rbf"; + assigned-mem-size = <0x1000>; + rt-init-addr = <0x967ff000>; + ipc-src-core = <0x03>; + }; + + dsp@0x98000000 { + index = <0x01>; + firmware = "bst_cv_dsp1_rt.rbf"; + assigned-mem-size = <0x1000>; + rt-init-addr = <0x987ff000>; + ipc-src-core = <0x03>; + }; + + dsp@0x92000000 { + index = <0x02>; + firmware = "bst_cv_dsp2_rt.rbf"; + assigned-mem-size = <0x1000>; + rt-init-addr = <0x927ff000>; + ipc-src-core = <0x03>; + }; + + dsp@0x94000000 { + index = <0x03>; + firmware = "bst_cv_dsp3_rt.rbf"; + assigned-mem-size = <0x1000>; + rt-init-addr = <0x947ff000>; + ipc-src-core = <0x03>; + }; + }; + + bst_gwarp_scaler@0x51060000 { + #address-cells = <0x02>; + #size-cells = <0x02>; + compatible = "bst,bst_gwarp_scaler,cma"; + reg = <0x00 0x51030000 0x00 0x100 0x00 0x51050000 0x00 0x100 0x00 0x51060000 0x00 0x100>; + memory-region = <0x66>; + id = <0x00>; + bus-offset = <0x00 0x00>; + assigned-mem-size = <0x1000>; + interrupt-parent = <0x01>; + interrupts = <0x00 0x9b 0x04>; + interrupt-names = "bst_cv_irq"; + }; + + bare_cv@51030000 { + #address-cells = <0x02>; + #size-cells = <0x02>; + compatible = "bst,bare_cv,cma"; + reg = <0x00 0x51030000 0x00 0x100 0x00 0x96000000 0x00 0x1000000 0x00 0x98000000 0x00 0x1000000 0x00 0x97000000 0x00 0x1000000 0x00 0x99000000 0x00 0x1000000>; + memory-region = <0x80>; + id = <0x01>; + assigned-mem-size = <0x2000000 0x2000000 0x2000000 0x2000000>; + bus-offset = <0x00 0x00>; + mbox-names = "bstn-mbox"; + mboxes = <0xea 0x09>; + firmware = "bstcv0.rbf\0bstcv1.rbf\0bstcv2.rbf\0bstcv3.rbf"; + }; + + bst_lwnn@0x51030000 { + compatible = "bst,bst_lwnn-a1000b,cma"; + reg = <0x00 0x51030000 0x00 0x100 0x00 0x92000000 0x00 0x2000000 0x00 0x94000000 0x00 0x2000000>; + memory-region = <0x66>; + bus-offset = <0x00 0x00>; + mbox-names = "bst-lwnn-mbox"; + dsp-num = <0x02>; + ipc-register-addr = <0x8ff00000>; + + dsp@0x92000000 { + index = <0x02>; + firmware = "bst_lwnn_dsp2_rt.rbf"; + assigned-mem-size = <0x2000>; + rt-init-addr = <0x927ff000>; + ipc-src-core = <0x06>; + }; + + dsp@0x94000000 { + index = <0x03>; + firmware = "bst_lwnn_dsp3_rt.rbf"; + assigned-mem-size = <0x2000>; + rt-init-addr = <0x947ff000>; + ipc-src-core = <0x00>; + }; + }; + + ipc_vsp@0 { + #address-cells = <0x02>; + #size-cells = <0x02>; + compatible = "bst,bst-vsp-ipc"; + reg = <0x00 0x9c000000 0x00 0x100000 0x00 0x9c100000 0x00 0x80000 0x00 0x9c180000 0x00 0x80000 0x00 0x53090004 0x00 0x04 0x00 0x53090010 0x00 0x0c 0x00 0x33102fbc 0x00 0x04 0x00 0x9d000000 0x00 0x4000000>; + memory-region = <0x81>; + mbox-names = "bstn-mbox"; + mboxes = <0xea 0x07>; + }; + + vsp@1 { + #address-cells = <0x02>; + #size-cells = <0x02>; + compatible = "bst,bst-vsp"; + memory-region = <0x66>; + assigned-mem-size = <0x1000>; + clocks = <0x05 0x43>; + clock-names = "vout_display_clk"; + output-format = "HDMI_RGB"; + output-hsize = <0x780>; + output-vsize = <0x438>; + output-fresh = <0x3c>; + }; + + gmwarp@0 { + #address-cells = <0x02>; + #size-cells = <0x02>; + compatible = "bst,bst-gmwarp"; + memory-region = <0x66>; + }; + + encoder@0 { + #address-cells = <0x02>; + #size-cells = <0x02>; + compatible = "bst,bst-encoder"; + memory-region = <0x66>; + }; + + codec_dma_buf@0 { + compatible = "bst,dma_buf_te"; + memory-region = <0x66>; + }; + + firmware { + + optee { + compatible = "linaro,optee-tz"; + method = "smc"; + chip-number = <0x02>; + }; + }; + + tee { + #address-cells = <0x02>; + #size-cells = <0x02>; + reg = <0x00 0x18060000 0x00 0x20000>; + memory-region = <0x82>; + mbox-names = "bstn-mbox"; + chip-number = <0x01>; + }; + + ipc_arm0@0 { + #address-cells = <0x02>; + #size-cells = <0x02>; + compatible = "bst,arm0"; + reg = <0x04 0xfec00000 0x00 0x20 0x04 0x80000000 0x00 0x20000>; + memory-region = <0x7f>; + assigned-mem-size = <0x1000>; + mbox-names = "bstn-mbox"; + mboxes = <0xea 0x00>; + }; + + ipc_arm3@3 { + #address-cells = <0x02>; + #size-cells = <0x02>; + compatible = "bst,arm3"; + reg = <0x04 0xfec10000 0x00 0x20 0x04 0x80000000 0x00 0x20000>; + memory-region = <0x7f>; + assigned-mem-size = <0x1000>; + mbox-names = "bstn-mbox"; + mboxes = <0xea 0x03>; + }; + + ipc_arm2@2 { + #address-cells = <0x02>; + #size-cells = <0x02>; + compatible = "bst,arm2"; + reg = <0x04 0xfec10000 0x00 0x20 0x04 0x80000000 0x00 0x20000>; + memory-region = <0x7f>; + assigned-mem-size = <0x1000>; + mbox-names = "bstn-mbox"; + mboxes = <0xea 0x02>; + }; + + ipc_arm1@1 { + #address-cells = <0x02>; + #size-cells = <0x02>; + compatible = "bst,arm1"; + reg = <0x04 0xfec10000 0x00 0x20 0x04 0x80000000 0x00 0x20000>; + memory-region = <0x7f>; + assigned-mem-size = <0x1000>; + mbox-names = "bstn-mbox"; + mboxes = <0xea 0x01>; + }; + + ipc@0 { + #address-cells = <0x02>; + #size-cells = <0x02>; + compatible = "bst,ipc"; + reg = <0x04 0xfec00000 0x00 0x20 0x04 0x80000000 0x00 0x20000>; + memory-region = <0x7f>; + assigned-mem-size = <0x1000>; + mbox-names = "bstn-mbox"; + mboxes = <0xea 0x05>; + }; +}; diff --git a/configs/vms/linux-aarch64-a1000-smp8.toml b/configs/vms/linux-aarch64-a1000-smp8.toml new file mode 100644 index 00000000..f9767d4a --- /dev/null +++ b/configs/vms/linux-aarch64-a1000-smp8.toml @@ -0,0 +1,57 @@ +# Vm base info configs +# +[base] +# Guest vm id. +id = 1 +# Guest vm name. +name = "linux" +# Virtualization type. +vm_type = 1 +# The number of virtual CPUs. +cpu_num = 8 +# The physical CPU ids. +phys_cpu_ids = [0x00, 0x100, 0x200, 0x300, 0x400, 0x500, 0x600, 0x700] +# Guest vm physical cpu sets. +phys_cpu_sets = [1, 2, 4, 8, 16, 32, 64, 128] + + +# +# Vm kernel configs +# +[kernel] +# The entry point of the kernel image. +entry_point = 0x1_ce80_0000 +# The location of image: "memory" | "fs". +# Load from memory. +image_location = "memory" +# The load address of the kernel image. +kernel_load_addr = 0x1_ce80_0000 +## The file path of the kernel image. +kernel_path = "/path/to/kernel" +## The file path of the device tree blob (DTB). +dtb_load_addr = 0x1_cef0_0000 +dtb_path = "/path/to/dtb" +# Memory regions with format (`base_paddr`, `size`, `flags`, `map_type`). +# For `map_type`, 0 means `MAP_ALLOC`, 1 means `MAP_IDENTICAL`. +memory_regions = [ + [0x8000_0000, 0x2000_0000, 0x7, 1], # System RAM 1G MAP_IDENTICAL +] +# +# Device specifications +# +[devices] +# The interrupt mode. +interrupt_mode = "passthrough" +# Emu_devices. +# Name Base-Ipa Ipa_len Alloc-Irq Emu-Type EmuConfig. +emu_devices = [] + +# Pass-through devices. +# Name Base-Ipa Base-Pa Length Alloc-Irq. +passthrough_devices = [ +["most-devices", 0x0, 0x0, 0x8000_0000, 0x1], +["memory", 0x8000_0000, 0x8000_0000, 0x7000_0000, 0x1] +] +excluded_devices = [ + # ["/gic-v3"], +] \ No newline at end of file diff --git a/configs/vms/linux-aarch64-rk3588-smp8.dts b/configs/vms/linux-aarch64-rk3588-smp8.dts new file mode 100644 index 00000000..20bc1c3d --- /dev/null +++ b/configs/vms/linux-aarch64-rk3588-smp8.dts @@ -0,0 +1,8099 @@ +/dts-v1/; + +/ { + compatible = "rockchip,rk3588-firefly-itx-3588j\0rockchip,rk3588"; + interrupt-parent = <0x01>; + #address-cells = <0x02>; + #size-cells = <0x02>; + model = "Firefly ITX-3588J HDMI(Linux)"; + + aliases { + csi2dcphy0 = "/csi2-dcphy0"; + csi2dcphy1 = "/csi2-dcphy1"; + csi2dphy0 = "/csi2-dphy0"; + csi2dphy1 = "/csi2-dphy1"; + csi2dphy2 = "/csi2-dphy2"; + dsi0 = "/dsi@fde20000"; + dsi1 = "/dsi@fde30000"; + ethernet0 = "/ethernet@fe1b0000"; + ethernet1 = "/ethernet@fe1c0000"; + gpio0 = "/pinctrl/gpio@fd8a0000"; + gpio1 = "/pinctrl/gpio@fec20000"; + gpio2 = "/pinctrl/gpio@fec30000"; + gpio3 = "/pinctrl/gpio@fec40000"; + gpio4 = "/pinctrl/gpio@fec50000"; + i2c0 = "/i2c@fd880000"; + i2c1 = "/i2c@fea90000"; + i2c2 = "/i2c@feaa0000"; + i2c3 = "/i2c@feab0000"; + i2c4 = "/i2c@feac0000"; + i2c5 = "/i2c@fead0000"; + i2c6 = "/i2c@fec80000"; + i2c7 = "/i2c@fec90000"; + i2c8 = "/i2c@feca0000"; + rkcif_mipi_lvds0 = "/rkcif-mipi-lvds"; + rkcif_mipi_lvds1 = "/rkcif-mipi-lvds1"; + rkcif_mipi_lvds2 = "/rkcif-mipi-lvds2"; + rkcif_mipi_lvds3 = "/rkcif-mipi-lvds3"; + rkvenc0 = "/rkvenc-core@fdbd0000"; + rkvenc1 = "/rkvenc-core@fdbe0000"; + jpege0 = "/jpege-core@fdba0000"; + jpege1 = "/jpege-core@fdba4000"; + jpege2 = "/jpege-core@fdba8000"; + jpege3 = "/jpege-core@fdbac000"; + serial0 = "/serial@fd890000"; + serial1 = "/serial@feb40000"; + serial2 = "/serial@feb50000"; + serial3 = "/serial@feb60000"; + serial4 = "/serial@feb70000"; + serial5 = "/serial@feb80000"; + serial6 = "/serial@feb90000"; + serial7 = "/serial@feba0000"; + serial8 = "/serial@febb0000"; + serial9 = "/serial@febc0000"; + spi0 = "/spi@feb00000"; + spi1 = "/spi@feb10000"; + spi2 = "/spi@feb20000"; + spi3 = "/spi@feb30000"; + spi4 = "/spi@fecb0000"; + spi5 = "/spi@fe2b0000"; + hdcp0 = "/hdcp@fde40000"; + hdcp1 = "/hdcp@fde70000"; + pwm0 = "/pwm@fd8b0000"; + pwm1 = "/pwm@fd8b0010"; + pwm2 = "/pwm@fd8b0020"; + pwm3 = "/pwm@fd8b0030"; + pwm4 = "/pwm@febd0000"; + pwm5 = "/pwm@febd0010"; + pwm6 = "/pwm@febd0020"; + pwm7 = "/pwm@febd0030"; + pwm8 = "/pwm@febe0000"; + pwm9 = "/pwm@febe0010"; + pwm10 = "/pwm@febe0020"; + pwm11 = "/pwm@febe0030"; + pwm12 = "/pwm@febf0000"; + pwm13 = "/pwm@febf0010"; + pwm14 = "/pwm@febf0020"; + pwm15 = "/pwm@febf0030"; + csi2dphy3 = "/csi2-dphy3"; + csi2dphy4 = "/csi2-dphy4"; + csi2dphy5 = "/csi2-dphy5"; + dp0 = "/dp@fde50000"; + dp1 = "/dp@fde60000"; + edp0 = "/edp@fdec0000"; + edp1 = "/edp@fded0000"; + hdptx0 = "/phy@fed60000"; + hdptx1 = "/phy@fed70000"; + hdptxhdmi0 = "/hdmiphy@fed60000"; + hdptxhdmi1 = "/hdmiphy@fed70000"; + hdmi0 = "/hdmi@fde80000"; + hdmi1 = "/hdmi@fdea0000"; + hdmirx0 = "/hdmirx-controller@fdee0000"; + rkcif_mipi_lvds4 = "/rkcif-mipi-lvds4"; + rkcif_mipi_lvds5 = "/rkcif-mipi-lvds5"; + usbdp0 = "/phy@fed80000"; + usbdp1 = "/phy@fed90000"; + mmc0 = "/mmc@fe2e0000"; + mmc1 = "/mmc@fe2c0000"; + mmc2 = "/mmc@fe2d0000"; + }; + + clocks { + compatible = "simple-bus"; + #address-cells = <0x02>; + #size-cells = <0x02>; + ranges; + + spll { + compatible = "fixed-clock"; + #clock-cells = <0x00>; + clock-frequency = <0x29d7ab80>; + clock-output-names = "spll"; + }; + + xin32k { + compatible = "fixed-clock"; + #clock-cells = <0x00>; + clock-frequency = <0x8000>; + clock-output-names = "xin32k"; + }; + + xin24m { + compatible = "fixed-clock"; + #clock-cells = <0x00>; + clock-frequency = <0x16e3600>; + clock-output-names = "xin24m"; + }; + + hclk_vo1@fd7c08ec { + compatible = "rockchip,rk3588-clock-gate-link"; + reg = <0x00 0xfd7c08ec 0x00 0x10>; + clock-names = "link"; + clocks = <0x02 0x264>; + #power-domain-cells = <0x01>; + #clock-cells = <0x00>; + phandle = <0x05>; + }; + + aclk_vdpu_low_pre@fd7c08b0 { + compatible = "rockchip,rk3588-clock-gate-link"; + reg = <0x00 0xfd7c08b0 0x00 0x10>; + clock-names = "link"; + clocks = <0x02 0x1bc>; + #power-domain-cells = <0x01>; + #clock-cells = <0x00>; + }; + + hclk_vo0@fd7c08dc { + compatible = "rockchip,rk3588-clock-gate-link"; + reg = <0x00 0xfd7c08dc 0x00 0x10>; + clock-names = "link"; + clocks = <0x02 0x26d>; + #power-domain-cells = <0x01>; + #clock-cells = <0x00>; + phandle = <0x04>; + }; + + hclk_usb@fd7c08a8 { + compatible = "rockchip,rk3588-clock-gate-link"; + reg = <0x00 0xfd7c08a8 0x00 0x10>; + clock-names = "link"; + clocks = <0x02 0x264>; + #power-domain-cells = <0x01>; + #clock-cells = <0x00>; + }; + + hclk_nvm@fd7c087c { + compatible = "rockchip,rk3588-clock-gate-link"; + reg = <0x00 0xfd7c087c 0x00 0x10>; + clock-names = "link"; + clocks = <0x02 0x141>; + #power-domain-cells = <0x01>; + #clock-cells = <0x00>; + phandle = <0x03>; + }; + + aclk_usb@fd7c08a8 { + compatible = "rockchip,rk3588-clock-gate-link"; + reg = <0x00 0xfd7c08a8 0x00 0x10>; + clock-names = "link"; + clocks = <0x02 0x263>; + #power-domain-cells = <0x01>; + #clock-cells = <0x00>; + }; + + hclk_isp1_pre@fd7c0868 { + compatible = "rockchip,rk3588-clock-gate-link"; + reg = <0x00 0xfd7c0868 0x00 0x10>; + clock-names = "link"; + clocks = <0x02 0x1e1>; + #power-domain-cells = <0x01>; + #clock-cells = <0x00>; + }; + + aclk_isp1_pre@fd7c0868 { + compatible = "rockchip,rk3588-clock-gate-link"; + reg = <0x00 0xfd7c0868 0x00 0x10>; + clock-names = "link"; + clocks = <0x02 0x1e0>; + #power-domain-cells = <0x01>; + #clock-cells = <0x00>; + }; + + aclk_rkvdec0_pre@fd7c08a0 { + compatible = "rockchip,rk3588-clock-gate-link"; + reg = <0x00 0xfd7c08a0 0x00 0x10>; + clock-names = "link"; + clocks = <0x02 0x1bc>; + #power-domain-cells = <0x01>; + #clock-cells = <0x00>; + }; + + hclk_rkvdec0_pre@fd7c08a0 { + compatible = "rockchip,rk3588-clock-gate-link"; + reg = <0x00 0xfd7c08a0 0x00 0x10>; + clock-names = "link"; + clocks = <0x02 0x1be>; + #power-domain-cells = <0x01>; + #clock-cells = <0x00>; + }; + + aclk_rkvdec1_pre@fd7c08a4 { + compatible = "rockchip,rk3588-clock-gate-link"; + reg = <0x00 0xfd7c08a4 0x00 0x10>; + clock-names = "link"; + clocks = <0x02 0x1bc>; + #power-domain-cells = <0x01>; + #clock-cells = <0x00>; + }; + + hclk_rkvdec1_pre@fd7c08a4 { + compatible = "rockchip,rk3588-clock-gate-link"; + reg = <0x00 0xfd7c08a4 0x00 0x10>; + clock-names = "link"; + clocks = <0x02 0x1be>; + #power-domain-cells = <0x01>; + #clock-cells = <0x00>; + }; + + aclk_jpeg_decoder_pre@fd7c08b0 { + compatible = "rockchip,rk3588-clock-gate-link"; + reg = <0x00 0xfd7c08b0 0x00 0x10>; + clock-names = "link"; + clocks = <0x02 0x1bc>; + #power-domain-cells = <0x01>; + #clock-cells = <0x00>; + }; + + aclk_rkvenc1_pre@fd7c08c0 { + compatible = "rockchip,rk3588-clock-gate-link"; + reg = <0x00 0xfd7c08c0 0x00 0x10>; + clock-names = "link"; + clocks = <0x02 0x1c5>; + #power-domain-cells = <0x01>; + #clock-cells = <0x00>; + }; + + hclk_rkvenc1_pre@fd7c08c0 { + compatible = "rockchip,rk3588-clock-gate-link"; + reg = <0x00 0xfd7c08c0 0x00 0x10>; + clock-names = "link"; + clocks = <0x02 0x1c4>; + #power-domain-cells = <0x01>; + #clock-cells = <0x00>; + }; + + aclk_hdcp0_pre@fd7c08dc { + compatible = "rockchip,rk3588-clock-gate-link"; + reg = <0x00 0xfd7c08dc 0x00 0x10>; + clock-names = "link"; + clocks = <0x02 0x26c>; + #power-domain-cells = <0x01>; + #clock-cells = <0x00>; + }; + + aclk_hdcp1_pre@fd7c08ec { + compatible = "rockchip,rk3588-clock-gate-link"; + reg = <0x00 0xfd7c08ec 0x00 0x10>; + clock-names = "link"; + clocks = <0x02 0x263>; + #power-domain-cells = <0x01>; + #clock-cells = <0x00>; + }; + + pclk_av1_pre@fd7c0910 { + compatible = "rockchip,rk3588-clock-gate-link"; + reg = <0x00 0xfd7c0910 0x00 0x10>; + clock-names = "link"; + clocks = <0x02 0x1be>; + #power-domain-cells = <0x01>; + #clock-cells = <0x00>; + }; + + aclk_av1_pre@fd7c0910 { + compatible = "rockchip,rk3588-clock-gate-link"; + reg = <0x00 0xfd7c0910 0x00 0x10>; + clock-names = "link"; + clocks = <0x02 0x1bc>; + #power-domain-cells = <0x01>; + #clock-cells = <0x00>; + }; + + hclk_sdio_pre@fd7c092c { + compatible = "rockchip,rk3588-clock-gate-link"; + reg = <0x00 0xfd7c092c 0x00 0x10>; + clock-names = "link"; + clocks = <0x03>; + #power-domain-cells = <0x01>; + #clock-cells = <0x00>; + }; + + pclk_vo0_grf@fd7c08dc { + compatible = "rockchip,rk3588-clock-gate-link"; + reg = <0x00 0xfd7c08dc 0x00 0x04>; + clocks = <0x04>; + clock-names = "link"; + #clock-cells = <0x00>; + phandle = <0x5d>; + }; + + pclk_vo1_grf@fd7c08ec { + compatible = "rockchip,rk3588-clock-gate-link"; + reg = <0x00 0xfd7c08ec 0x00 0x04>; + clocks = <0x05>; + clock-names = "link"; + #clock-cells = <0x00>; + phandle = <0x5e>; + }; + }; + + cpus { + #address-cells = <0x01>; + #size-cells = <0x00>; + + cpu-map { + + cluster0 { + + core0 { + cpu = <0x06>; + }; + + core1 { + cpu = <0x07>; + }; + + core2 { + cpu = <0x08>; + }; + + core3 { + cpu = <0x09>; + }; + }; + + cluster1 { + + core0 { + cpu = <0x0a>; + }; + + core1 { + cpu = <0x0b>; + }; + }; + + cluster2 { + + core0 { + cpu = <0x0c>; + }; + + core1 { + cpu = <0x0d>; + }; + }; + }; + + cpu@0 { + device_type = "cpu"; + compatible = "arm,cortex-a55"; + reg = <0x00>; + enable-method = "psci"; + capacity-dmips-mhz = <0x212>; + clocks = <0x0e 0x00>; + operating-points-v2 = <0x0f>; + cpu-idle-states = <0x10>; + i-cache-size = <0x8000>; + i-cache-line-size = <0x40>; + i-cache-sets = <0x80>; + d-cache-size = <0x8000>; + d-cache-line-size = <0x40>; + d-cache-sets = <0x80>; + next-level-cache = <0x11>; + #cooling-cells = <0x02>; + dynamic-power-coefficient = <0x64>; + cpu-supply = <0x12>; + mem-supply = <0x12>; + phandle = <0x06>; + }; + + // cpu@100 { + // device_type = "cpu"; + // compatible = "arm,cortex-a55"; + // reg = <0x100>; + // enable-method = "psci"; + // capacity-dmips-mhz = <0x212>; + // clocks = <0x0e 0x00>; + // operating-points-v2 = <0x0f>; + // cpu-idle-states = <0x10>; + // i-cache-size = <0x8000>; + // i-cache-line-size = <0x40>; + // i-cache-sets = <0x80>; + // d-cache-size = <0x8000>; + // d-cache-line-size = <0x40>; + // d-cache-sets = <0x80>; + // next-level-cache = <0x13>; + // phandle = <0x07>; + // }; + + // cpu@200 { + // device_type = "cpu"; + // compatible = "arm,cortex-a55"; + // reg = <0x200>; + // enable-method = "psci"; + // capacity-dmips-mhz = <0x212>; + // clocks = <0x0e 0x00>; + // operating-points-v2 = <0x0f>; + // cpu-idle-states = <0x10>; + // i-cache-size = <0x8000>; + // i-cache-line-size = <0x40>; + // i-cache-sets = <0x80>; + // d-cache-size = <0x8000>; + // d-cache-line-size = <0x40>; + // d-cache-sets = <0x80>; + // next-level-cache = <0x14>; + // phandle = <0x08>; + // }; + + // cpu@300 { + // device_type = "cpu"; + // compatible = "arm,cortex-a55"; + // reg = <0x300>; + // enable-method = "psci"; + // capacity-dmips-mhz = <0x212>; + // clocks = <0x0e 0x00>; + // operating-points-v2 = <0x0f>; + // cpu-idle-states = <0x10>; + // i-cache-size = <0x8000>; + // i-cache-line-size = <0x40>; + // i-cache-sets = <0x80>; + // d-cache-size = <0x8000>; + // d-cache-line-size = <0x40>; + // d-cache-sets = <0x80>; + // next-level-cache = <0x15>; + // phandle = <0x09>; + // }; + + // cpu@400 { + // device_type = "cpu"; + // compatible = "arm,cortex-a76"; + // reg = <0x400>; + // enable-method = "psci"; + // capacity-dmips-mhz = <0x400>; + // clocks = <0x0e 0x02>; + // operating-points-v2 = <0x16>; + // cpu-idle-states = <0x10>; + // i-cache-size = <0x10000>; + // i-cache-line-size = <0x40>; + // i-cache-sets = <0x100>; + // d-cache-size = <0x10000>; + // d-cache-line-size = <0x40>; + // d-cache-sets = <0x100>; + // next-level-cache = <0x17>; + // #cooling-cells = <0x02>; + // dynamic-power-coefficient = <0x12c>; + // cpu-supply = <0x18>; + // mem-supply = <0x18>; + // phandle = <0x0a>; + // }; + + // cpu@500 { + // device_type = "cpu"; + // compatible = "arm,cortex-a76"; + // reg = <0x500>; + // enable-method = "psci"; + // capacity-dmips-mhz = <0x400>; + // clocks = <0x0e 0x02>; + // operating-points-v2 = <0x16>; + // cpu-idle-states = <0x10>; + // i-cache-size = <0x10000>; + // i-cache-line-size = <0x40>; + // i-cache-sets = <0x100>; + // d-cache-size = <0x10000>; + // d-cache-line-size = <0x40>; + // d-cache-sets = <0x100>; + // next-level-cache = <0x19>; + // phandle = <0x0b>; + // }; + + // cpu@600 { + // device_type = "cpu"; + // compatible = "arm,cortex-a76"; + // reg = <0x600>; + // enable-method = "psci"; + // capacity-dmips-mhz = <0x400>; + // clocks = <0x0e 0x03>; + // operating-points-v2 = <0x1a>; + // cpu-idle-states = <0x10>; + // i-cache-size = <0x10000>; + // i-cache-line-size = <0x40>; + // i-cache-sets = <0x100>; + // d-cache-size = <0x10000>; + // d-cache-line-size = <0x40>; + // d-cache-sets = <0x100>; + // next-level-cache = <0x1b>; + // #cooling-cells = <0x02>; + // dynamic-power-coefficient = <0x12c>; + // cpu-supply = <0x1c>; + // mem-supply = <0x1c>; + // phandle = <0x0c>; + // }; + + // cpu@700 { + // device_type = "cpu"; + // compatible = "arm,cortex-a76"; + // reg = <0x700>; + // enable-method = "psci"; + // capacity-dmips-mhz = <0x400>; + // clocks = <0x0e 0x03>; + // operating-points-v2 = <0x1a>; + // cpu-idle-states = <0x10>; + // i-cache-size = <0x10000>; + // i-cache-line-size = <0x40>; + // i-cache-sets = <0x100>; + // d-cache-size = <0x10000>; + // d-cache-line-size = <0x40>; + // d-cache-sets = <0x100>; + // next-level-cache = <0x1d>; + // phandle = <0x0d>; + // }; + + l2-cache-l0 { + compatible = "cache"; + cache-size = <0x20000>; + cache-line-size = <0x40>; + cache-sets = <0x200>; + next-level-cache = <0x1e>; + phandle = <0x11>; + }; + + l2-cache-l1 { + compatible = "cache"; + cache-size = <0x20000>; + cache-line-size = <0x40>; + cache-sets = <0x200>; + next-level-cache = <0x1e>; + phandle = <0x13>; + }; + + l2-cache-l2 { + compatible = "cache"; + cache-size = <0x20000>; + cache-line-size = <0x40>; + cache-sets = <0x200>; + next-level-cache = <0x1e>; + phandle = <0x14>; + }; + + l2-cache-l3 { + compatible = "cache"; + cache-size = <0x20000>; + cache-line-size = <0x40>; + cache-sets = <0x200>; + next-level-cache = <0x1e>; + phandle = <0x15>; + }; + + l2-cache-b0 { + compatible = "cache"; + cache-size = <0x80000>; + cache-line-size = <0x40>; + cache-sets = <0x400>; + next-level-cache = <0x1e>; + phandle = <0x17>; + }; + + l2-cache-b1 { + compatible = "cache"; + cache-size = <0x80000>; + cache-line-size = <0x40>; + cache-sets = <0x400>; + next-level-cache = <0x1e>; + phandle = <0x19>; + }; + + l2-cache-b2 { + compatible = "cache"; + cache-size = <0x80000>; + cache-line-size = <0x40>; + cache-sets = <0x400>; + next-level-cache = <0x1e>; + phandle = <0x1b>; + }; + + l2-cache-b3 { + compatible = "cache"; + cache-size = <0x80000>; + cache-line-size = <0x40>; + cache-sets = <0x400>; + next-level-cache = <0x1e>; + phandle = <0x1d>; + }; + + l3-cache { + compatible = "cache"; + cache-size = <0x300000>; + cache-line-size = <0x40>; + cache-sets = <0x1000>; + phandle = <0x1e>; + }; + }; + + cluster0-opp-table { + compatible = "operating-points-v2"; + opp-shared; + nvmem-cells = <0x1f 0x20>; + nvmem-cell-names = "leakage\0specification_serial_number"; + rockchip,supported-hw; + rockchip,opp-shared-dsu; + rockchip,pvtm-voltage-sel = <0x00 0x582 0x00 0x583 0x59a 0x01 0x59b 0x5b2 0x02 0x5b3 0x5ca 0x03 0x5cb 0x5e2 0x04 0x5e3 0x5fa 0x05 0x5fb 0x270f 0x06>; + rockchip,pvtm-pvtpll; + rockchip,pvtm-offset = <0x64>; + rockchip,pvtm-sample-time = <0x44c>; + rockchip,pvtm-freq = <0x159b40>; + rockchip,pvtm-volt = <0xb71b0>; + rockchip,pvtm-ref-temp = <0x19>; + rockchip,pvtm-temp-prop = <0xf4 0xf4>; + rockchip,pvtm-thermal-zone = "soc-thermal"; + rockchip,grf = <0x21>; + rockchip,dsu-grf = <0x22>; + volt-mem-read-margin = <0xd0bd8 0x01 0xbac48 0x02 0xa4cb8 0x03 0x78d98 0x04>; + low-volt-mem-read-margin = <0x04>; + intermediate-threshold-freq = <0xf6180>; + rockchip,reboot-freq = <0x159b40>; + rockchip,temp-hysteresis = <0x1388>; + rockchip,low-temp = <0x2710>; + rockchip,low-temp-min-volt = <0xb71b0>; + rockchip,high-temp = <0x14c08>; + rockchip,high-temp-max-freq = <0x188940>; + phandle = <0x0f>; + + opp-408000000 { + opp-supported-hw = <0xff 0xffff>; + opp-hz = <0x00 0x18519600>; + opp-microvolt = <0xa4cb8 0xa4cb8 0xe7ef0 0xa4cb8 0xa4cb8 0xe7ef0>; + clock-latency-ns = <0x9c40>; + }; + + opp-600000000 { + opp-supported-hw = <0xff 0xffff>; + opp-hz = <0x00 0x23c34600>; + opp-microvolt = <0xa4cb8 0xa4cb8 0xe7ef0 0xa4cb8 0xa4cb8 0xe7ef0>; + clock-latency-ns = <0x9c40>; + }; + + opp-816000000 { + opp-supported-hw = <0xff 0xffff>; + opp-hz = <0x00 0x30a32c00>; + opp-microvolt = <0xa4cb8 0xa4cb8 0xe7ef0 0xa4cb8 0xa4cb8 0xe7ef0>; + clock-latency-ns = <0x9c40>; + }; + + opp-1008000000 { + opp-supported-hw = <0xff 0xffff>; + opp-hz = <0x00 0x3c14dc00>; + opp-microvolt = <0xa4cb8 0xa4cb8 0xe7ef0 0xa4cb8 0xa4cb8 0xe7ef0>; + clock-latency-ns = <0x9c40>; + }; + + opp-1200000000 { + opp-supported-hw = <0xff 0xffff>; + opp-hz = <0x00 0x47868c00>; + opp-microvolt = <0xadf34 0xadf34 0xe7ef0 0xadf34 0xadf34 0xe7ef0>; + opp-microvolt-L1 = <0xaae60 0xaae60 0xe7ef0 0xaae60 0xaae60 0xe7ef0>; + opp-microvolt-L2 = <0xaae60 0xaae60 0xe7ef0 0xaae60 0xaae60 0xe7ef0>; + opp-microvolt-L3 = <0xa7d8c 0xa7d8c 0xe7ef0 0xa7d8c 0xa7d8c 0xe7ef0>; + opp-microvolt-L4 = <0xa4cb8 0xa4cb8 0xe7ef0 0xa4cb8 0xa4cb8 0xe7ef0>; + opp-microvolt-L5 = <0xa4cb8 0xa4cb8 0xe7ef0 0xa4cb8 0xa4cb8 0xe7ef0>; + opp-microvolt-L6 = <0xa4cb8 0xa4cb8 0xe7ef0 0xa4cb8 0xa4cb8 0xe7ef0>; + clock-latency-ns = <0x9c40>; + }; + + opp-1416000000 { + opp-supported-hw = <0xff 0xffff>; + opp-hz = <0x00 0x54667200>; + opp-microvolt = <0xba284 0xba284 0xe7ef0 0xba284 0xba284 0xe7ef0>; + opp-microvolt-L1 = <0xb71b0 0xb71b0 0xe7ef0 0xb71b0 0xb71b0 0xe7ef0>; + opp-microvolt-L2 = <0xb40dc 0xb40dc 0xe7ef0 0xb40dc 0xb40dc 0xe7ef0>; + opp-microvolt-L3 = <0xb1008 0xb1008 0xe7ef0 0xb1008 0xb1008 0xe7ef0>; + opp-microvolt-L4 = <0xb1008 0xb1008 0xe7ef0 0xb1008 0xb1008 0xe7ef0>; + opp-microvolt-L5 = <0xadf34 0xadf34 0xe7ef0 0xadf34 0xadf34 0xe7ef0>; + opp-microvolt-L6 = <0xadf34 0xadf34 0xe7ef0 0xadf34 0xadf34 0xe7ef0>; + clock-latency-ns = <0x9c40>; + opp-suspend; + }; + + opp-1608000000 { + opp-supported-hw = <0xfb 0xffff>; + opp-hz = <0x00 0x5fd82200>; + opp-microvolt = <0xcf850 0xcf850 0xe7ef0 0xcf850 0xcf850 0xe7ef0>; + opp-microvolt-L1 = <0xcc77c 0xcc77c 0xe7ef0 0xcc77c 0xcc77c 0xe7ef0>; + opp-microvolt-L2 = <0xc96a8 0xc96a8 0xe7ef0 0xc96a8 0xc96a8 0xe7ef0>; + opp-microvolt-L3 = <0xc65d4 0xc65d4 0xe7ef0 0xc65d4 0xc65d4 0xe7ef0>; + opp-microvolt-L4 = <0xc3500 0xc3500 0xe7ef0 0xc3500 0xc3500 0xe7ef0>; + opp-microvolt-L5 = <0xc3500 0xc3500 0xe7ef0 0xc3500 0xc3500 0xe7ef0>; + opp-microvolt-L6 = <0xc042c 0xc042c 0xe7ef0 0xc042c 0xc042c 0xe7ef0>; + clock-latency-ns = <0x9c40>; + }; + + opp-1704000000 { + opp-supported-hw = <0x02 0xffff>; + opp-hz = <0x00 0x6590fa00>; + opp-microvolt = <0xdbba0 0xdbba0 0xe7ef0 0xdbba0 0xdbba0 0xe7ef0>; + opp-microvolt-L1 = <0xd8acc 0xd8acc 0xe7ef0 0xd8acc 0xd8acc 0xe7ef0>; + opp-microvolt-L2 = <0xd59f8 0xd59f8 0xe7ef0 0xd59f8 0xd59f8 0xe7ef0>; + opp-microvolt-L3 = <0xd2924 0xd2924 0xe7ef0 0xd2924 0xd2924 0xe7ef0>; + opp-microvolt-L4 = <0xcf850 0xcf850 0xe7ef0 0xcf850 0xcf850 0xe7ef0>; + opp-microvolt-L5 = <0xcc77c 0xcc77c 0xe7ef0 0xcc77c 0xcc77c 0xe7ef0>; + opp-microvolt-L6 = <0xc96a8 0xc96a8 0xe7ef0 0xc96a8 0xc96a8 0xe7ef0>; + clock-latency-ns = <0x9c40>; + }; + + opp-1800000000 { + opp-supported-hw = <0xf9 0xffff>; + opp-hz = <0x00 0x6b49d200>; + opp-microvolt = <0xe7ef0 0xe7ef0 0xe7ef0 0xe7ef0 0xe7ef0 0xe7ef0>; + opp-microvolt-L1 = <0xe4e1c 0xe4e1c 0xe7ef0 0xe4e1c 0xe4e1c 0xe7ef0>; + opp-microvolt-L2 = <0xe1d48 0xe1d48 0xe7ef0 0xe1d48 0xe1d48 0xe7ef0>; + opp-microvolt-L3 = <0xdec74 0xdec74 0xe7ef0 0xdec74 0xdec74 0xe7ef0>; + opp-microvolt-L4 = <0xdbba0 0xdbba0 0xe7ef0 0xdbba0 0xdbba0 0xe7ef0>; + opp-microvolt-L5 = <0xd8acc 0xd8acc 0xe7ef0 0xd8acc 0xd8acc 0xe7ef0>; + opp-microvolt-L6 = <0xd59f8 0xd59f8 0xe7ef0 0xd59f8 0xd59f8 0xe7ef0>; + clock-latency-ns = <0x9c40>; + }; + }; + + arm-pmu { + compatible = "arm,armv8-pmuv3"; + interrupts = <0x01 0x07 0x08>; + interrupt-affinity = <0x06 0x07 0x08 0x09 0x0a 0x0b 0x0c 0x0d>; + }; + + cpuinfo { + compatible = "rockchip,cpuinfo"; + nvmem-cells = <0x27 0x28 0x29>; + nvmem-cell-names = "id\0cpu-version\0cpu-code"; + }; + + csi2-dcphy0 { + compatible = "rockchip,rk3588-csi2-dcphy"; + phys = <0x2a>; + phy-names = "dcphy"; + status = "disabled"; + }; + + csi2-dcphy1 { + compatible = "rockchip,rk3588-csi2-dcphy"; + phys = <0x2b>; + phy-names = "dcphy"; + status = "disabled"; + }; + + csi2-dphy0 { + compatible = "rockchip,rk3568-csi2-dphy"; + rockchip,hw = <0x2c>; + status = "disabled"; + }; + + csi2-dphy1 { + compatible = "rockchip,rk3568-csi2-dphy"; + rockchip,hw = <0x2c>; + status = "disabled"; + }; + + csi2-dphy2 { + compatible = "rockchip,rk3568-csi2-dphy"; + rockchip,hw = <0x2c>; + status = "disabled"; + }; + + display-subsystem { + compatible = "rockchip,display-subsystem"; + ports = <0x2d>; + clocks = <0x2e 0x2f>; + clock-names = "hdmi0_phy_pll\0hdmi1_phy_pll"; + memory-region = <0x30>; + memory-region-names = "drm-logo"; + + route { + + route-dp0 { + status = "disabled"; + logo,uboot = "logo.bmp"; + logo,kernel = "logo_kernel.bmp"; + logo,mode = "center"; + charge_logo,mode = "center"; + connect = <0x31>; + }; + + route-dsi0 { + status = "disabled"; + logo,uboot = "logo.bmp"; + logo,kernel = "logo_kernel.bmp"; + logo,mode = "center"; + charge_logo,mode = "center"; + connect = <0x32>; + }; + + route-dsi1 { + status = "disabled"; + logo,uboot = "logo.bmp"; + logo,kernel = "logo_kernel.bmp"; + logo,mode = "center"; + charge_logo,mode = "center"; + connect = <0x33>; + }; + + route-edp0 { + status = "disabled"; + logo,uboot = "logo.bmp"; + logo,kernel = "logo_kernel.bmp"; + logo,mode = "center"; + charge_logo,mode = "center"; + connect = <0x34>; + }; + + route-edp1 { + status = "disabled"; + logo,uboot = "logo.bmp"; + logo,kernel = "logo_kernel.bmp"; + logo,mode = "center"; + charge_logo,mode = "center"; + }; + + route-hdmi0 { + status = "okay"; + logo,uboot = "logo.bmp"; + logo,kernel = "logo_kernel.bmp"; + logo,mode = "center"; + charge_logo,mode = "center"; + connect = <0x35>; + }; + + route-rgb { + status = "disabled"; + logo,uboot = "logo.bmp"; + logo,kernel = "logo_kernel.bmp"; + logo,mode = "center"; + charge_logo,mode = "center"; + connect = <0x36>; + }; + + route-dp1 { + status = "disabled"; + logo,uboot = "logo.bmp"; + logo,kernel = "logo_kernel.bmp"; + logo,mode = "center"; + charge_logo,mode = "center"; + connect = <0x37>; + }; + + route-hdmi1 { + status = "disabled"; + logo,uboot = "logo.bmp"; + logo,kernel = "logo_kernel.bmp"; + logo,mode = "center"; + charge_logo,mode = "center"; + connect = <0x38>; + }; + }; + }; + + dmc { + compatible = "rockchip,rk3588-dmc"; + interrupts = <0x00 0x49 0x04>; + interrupt-names = "complete"; + devfreq-events = <0x39>; + clocks = <0x0e 0x04>; + clock-names = "dmc_clk"; + operating-points-v2 = <0x3a>; + upthreshold = <0x28>; + downdifferential = <0x14>; + system-status-level = <0x01 0x04 0x08 0x08 0x02 0x01 0x10 0x04 0x10000 0x04 0x80000 0x04 0x1000 0x08 0x4000 0x08 0x2000 0x08 0xc00 0x08 0x40000 0x08>; + auto-freq-en = <0x01>; + status = "okay"; + center-supply = <0x3b>; + mem-supply = <0x3c>; + }; + + dmc-opp-table { + compatible = "operating-points-v2"; + nvmem-cells = <0x3d>; + nvmem-cell-names = "leakage"; + rockchip,leakage-voltage-sel = <0x01 0x1f 0x00 0x20 0x2c 0x01 0x2d 0x39 0x02 0x3a 0xfe 0x03>; + rockchip,temp-hysteresis = <0x1388>; + rockchip,low-temp = <0x2710>; + rockchip,low-temp-min-volt = <0xb71b0>; + phandle = <0x3a>; + + opp-528000000 { + opp-hz = <0x00 0x1f78a400>; + opp-microvolt = <0xa4cb8 0xa4cb8 0xd59f8 0xb1008 0xb1008 0xb71b0>; + opp-microvolt-L1 = <0xa4cb8 0xa4cb8 0xd59f8 0xaae60 0xaae60 0xb71b0>; + opp-microvolt-L2 = <0xa4cb8 0xa4cb8 0xd59f8 0xa7d8c 0xa7d8c 0xb71b0>; + opp-microvolt-L3 = <0xa4cb8 0xa4cb8 0xd59f8 0xa4cb8 0xa4cb8 0xb71b0>; + }; + + opp-1068000000 { + opp-hz = <0x00 0x3fa86300>; + opp-microvolt = <0xb1008 0xb1008 0xd59f8 0xb40dc 0xb40dc 0xb71b0>; + opp-microvolt-L1 = <0xaae60 0xaae60 0xd59f8 0xadf34 0xadf34 0xb71b0>; + opp-microvolt-L2 = <0xa4cb8 0xa4cb8 0xd59f8 0xaae60 0xaae60 0xb71b0>; + opp-microvolt-L3 = <0xa4cb8 0xa4cb8 0xd59f8 0xa7d8c 0xa7d8c 0xb71b0>; + }; + + opp-1560000000 { + opp-hz = <0x00 0x5cfbb600>; + opp-microvolt = <0xc3500 0xc3500 0xd59f8 0xb71b0 0xb71b0 0xb71b0>; + opp-microvolt-L1 = <0xbd358 0xbd358 0xd59f8 0xb1008 0xb1008 0xb71b0>; + opp-microvolt-L2 = <0xb71b0 0xb71b0 0xd59f8 0xadf34 0xadf34 0xb71b0>; + opp-microvolt-L3 = <0xb1008 0xb1008 0xd59f8 0xaae60 0xaae60 0xb71b0>; + }; + + opp-2750000000 { + opp-hz = <0x00 0xa3e9ab80>; + opp-microvolt = <0xd59f8 0xd59f8 0xd59f8 0xb71b0 0xb71b0 0xb71b0>; + opp-microvolt-L1 = <0xcf850 0xcf850 0xd59f8 0xb71b0 0xb71b0 0xb71b0>; + opp-microvolt-L2 = <0xcc77c 0xcc77c 0xd59f8 0xb1008 0xb1008 0xb71b0>; + opp-microvolt-L3 = <0xc96a8 0xc8320 0xd59f8 0xaae60 0xaae60 0xb71b0>; + }; + }; + + firmware { + + scmi { + compatible = "arm,scmi-smc"; + shmem = <0x3e>; + arm,smc-id = <0x82000010>; + #address-cells = <0x01>; + #size-cells = <0x00>; + + protocol@14 { + reg = <0x14>; + #clock-cells = <0x01>; + assigned-clocks = <0x0e 0x00 0x0e 0x02 0x0e 0x03>; + assigned-clock-rates = <0x30a32c00 0x30a32c00 0x30a32c00>; + phandle = <0x0e>; + }; + + protocol@16 { + reg = <0x16>; + #reset-cells = <0x01>; + phandle = <0x104>; + }; + }; + + sdei { + compatible = "arm,sdei-1.0"; + method = "smc"; + }; + + optee { + compatible = "linaro,optee-tz"; + method = "smc"; + }; + }; + + jpege-ccu { + compatible = "rockchip,vpu-jpege-ccu"; + status = "okay"; + phandle = <0xa4>; + }; + + mpp-srv { + compatible = "rockchip,mpp-service"; + rockchip,taskqueue-count = <0x0c>; + rockchip,resetgroup-count = <0x01>; + status = "okay"; + phandle = <0x9f>; + }; + + psci { + compatible = "arm,psci-1.0"; + method = "smc"; + }; + + rkcif-dvp { + compatible = "rockchip,rkcif-dvp"; + rockchip,hw = <0x3f>; + iommus = <0x40>; + status = "disabled"; + phandle = <0x41>; + }; + + rkcif-dvp-sditf { + compatible = "rockchip,rkcif-sditf"; + rockchip,cif = <0x41>; + status = "disabled"; + }; + + rkcif-mipi-lvds { + compatible = "rockchip,rkcif-mipi-lvds"; + rockchip,hw = <0x3f>; + iommus = <0x40>; + status = "disabled"; + phandle = <0x42>; + }; + + rkcif-mipi-lvds-sditf { + compatible = "rockchip,rkcif-sditf"; + rockchip,cif = <0x42>; + status = "disabled"; + }; + + rkcif-mipi-lvds-sditf-vir1 { + compatible = "rockchip,rkcif-sditf"; + rockchip,cif = <0x42>; + status = "disabled"; + }; + + rkcif-mipi-lvds-sditf-vir2 { + compatible = "rockchip,rkcif-sditf"; + rockchip,cif = <0x42>; + status = "disabled"; + }; + + rkcif-mipi-lvds-sditf-vir3 { + compatible = "rockchip,rkcif-sditf"; + rockchip,cif = <0x42>; + status = "disabled"; + }; + + rkcif-mipi-lvds1 { + compatible = "rockchip,rkcif-mipi-lvds"; + rockchip,hw = <0x3f>; + iommus = <0x40>; + status = "disabled"; + phandle = <0x43>; + }; + + rkcif-mipi-lvds1-sditf { + compatible = "rockchip,rkcif-sditf"; + rockchip,cif = <0x43>; + status = "disabled"; + }; + + rkcif-mipi-lvds1-sditf-vir1 { + compatible = "rockchip,rkcif-sditf"; + rockchip,cif = <0x43>; + status = "disabled"; + }; + + rkcif-mipi-lvds1-sditf-vir2 { + compatible = "rockchip,rkcif-sditf"; + rockchip,cif = <0x43>; + status = "disabled"; + }; + + rkcif-mipi-lvds1-sditf-vir3 { + compatible = "rockchip,rkcif-sditf"; + rockchip,cif = <0x43>; + status = "disabled"; + }; + + rkcif-mipi-lvds2 { + compatible = "rockchip,rkcif-mipi-lvds"; + rockchip,hw = <0x3f>; + iommus = <0x40>; + status = "disabled"; + phandle = <0x44>; + }; + + rkcif-mipi-lvds2-sditf { + compatible = "rockchip,rkcif-sditf"; + rockchip,cif = <0x44>; + status = "disabled"; + }; + + rkcif-mipi-lvds2-sditf-vir1 { + compatible = "rockchip,rkcif-sditf"; + rockchip,cif = <0x44>; + status = "disabled"; + }; + + rkcif-mipi-lvds2-sditf-vir2 { + compatible = "rockchip,rkcif-sditf"; + rockchip,cif = <0x44>; + status = "disabled"; + }; + + rkcif-mipi-lvds2-sditf-vir3 { + compatible = "rockchip,rkcif-sditf"; + rockchip,cif = <0x44>; + status = "disabled"; + }; + + rkcif-mipi-lvds3 { + compatible = "rockchip,rkcif-mipi-lvds"; + rockchip,hw = <0x3f>; + iommus = <0x40>; + status = "disabled"; + phandle = <0x45>; + }; + + rkcif-mipi-lvds3-sditf { + compatible = "rockchip,rkcif-sditf"; + rockchip,cif = <0x45>; + status = "disabled"; + }; + + rkcif-mipi-lvds3-sditf-vir1 { + compatible = "rockchip,rkcif-sditf"; + rockchip,cif = <0x45>; + status = "disabled"; + }; + + rkcif-mipi-lvds3-sditf-vir2 { + compatible = "rockchip,rkcif-sditf"; + rockchip,cif = <0x45>; + status = "disabled"; + }; + + rkcif-mipi-lvds3-sditf-vir3 { + compatible = "rockchip,rkcif-sditf"; + rockchip,cif = <0x45>; + status = "disabled"; + }; + + rkisp0-vir0 { + compatible = "rockchip,rkisp-vir"; + rockchip,hw = <0x46>; + status = "disabled"; + }; + + rkisp0-vir1 { + compatible = "rockchip,rkisp-vir"; + rockchip,hw = <0x46>; + status = "disabled"; + }; + + rkisp0-vir2 { + compatible = "rockchip,rkisp-vir"; + rockchip,hw = <0x46>; + status = "disabled"; + }; + + rkisp0-vir3 { + compatible = "rockchip,rkisp-vir"; + rockchip,hw = <0x46>; + status = "disabled"; + }; + + rkisp1-vir0 { + compatible = "rockchip,rkisp-vir"; + rockchip,hw = <0x47>; + status = "disabled"; + }; + + rkisp1-vir1 { + compatible = "rockchip,rkisp-vir"; + rockchip,hw = <0x47>; + status = "disabled"; + }; + + rkisp1-vir2 { + compatible = "rockchip,rkisp-vir"; + rockchip,hw = <0x47>; + status = "disabled"; + }; + + rkisp1-vir3 { + compatible = "rockchip,rkisp-vir"; + rockchip,hw = <0x47>; + status = "disabled"; + }; + + rkispp0-vir0 { + compatible = "rockchip,rk3588-rkispp-vir"; + rockchip,hw = <0x48>; + status = "disabled"; + }; + + rkispp1-vir0 { + compatible = "rockchip,rk3588-rkispp-vir"; + rockchip,hw = <0x49>; + status = "disabled"; + }; + + rkvenc-ccu { + compatible = "rockchip,rkv-encoder-v2-ccu"; + status = "okay"; + phandle = <0xaa>; + }; + + rockchip-suspend { + compatible = "rockchip,pm-rk3588"; + status = "okay"; + rockchip,sleep-debug-en = <0x01>; + rockchip,sleep-mode-config = <0x04>; + rockchip,wakeup-config = <0x900>; + }; + + rockchip-system-monitor { + compatible = "rockchip,system-monitor"; + rockchip,thermal-zone = "soc-thermal"; + }; + + thermal-zones { + + soc-thermal { + polling-delay-passive = <0x14>; + polling-delay = <0x3e8>; + sustainable-power = <0x834>; + thermal-sensors = <0x4a 0x00>; + + trips { + + trip-point-0 { + temperature = <0x124f8>; + hysteresis = <0x7d0>; + type = "passive"; + }; + + trip-point-1 { + temperature = <0x14c08>; + hysteresis = <0x7d0>; + type = "passive"; + phandle = <0x4b>; + }; + + soc-crit { + temperature = <0x1c138>; + hysteresis = <0x7d0>; + type = "critical"; + }; + }; + + cooling-maps { + + map0 { + trip = <0x4b>; + cooling-device = <0x06 0xffffffff 0xffffffff>; + contribution = <0x400>; + }; + + map3 { + trip = <0x4b>; + cooling-device = <0x4c 0xffffffff 0xffffffff>; + contribution = <0x400>; + }; + }; + }; + + bigcore0-thermal { + polling-delay-passive = <0x14>; + polling-delay = <0x3e8>; + thermal-sensors = <0x4a 0x01>; + }; + + bigcore1-thermal { + polling-delay-passive = <0x14>; + polling-delay = <0x3e8>; + thermal-sensors = <0x4a 0x02>; + }; + + littlecore-thermal { + polling-delay-passive = <0x14>; + polling-delay = <0x3e8>; + thermal-sensors = <0x4a 0x03>; + }; + + center-thermal { + polling-delay-passive = <0x14>; + polling-delay = <0x3e8>; + thermal-sensors = <0x4a 0x04>; + }; + + gpu-thermal { + polling-delay-passive = <0x14>; + polling-delay = <0x3e8>; + thermal-sensors = <0x4a 0x05>; + }; + + npu-thermal { + polling-delay-passive = <0x14>; + polling-delay = <0x3e8>; + thermal-sensors = <0x4a 0x06>; + }; + }; + + timer { + compatible = "arm,armv8-timer"; + interrupts = <0x01 0x0d 0xf04 0x01 0x0e 0xf04 0x01 0x0b 0xf04 0x01 0x0a 0xf04>; + }; + + sram@10f000 { + compatible = "mmio-sram"; + reg = <0x00 0x10f000 0x00 0x100>; + #address-cells = <0x01>; + #size-cells = <0x01>; + ranges = <0x00 0x00 0x10f000 0x100>; + + sram@0 { + compatible = "arm,scmi-shmem"; + reg = <0x00 0x100>; + phandle = <0x3e>; + }; + }; + + gpu@fb000000 { + compatible = "arm,mali-bifrost"; + reg = <0x00 0xfb000000 0x00 0x200000>; + interrupts = <0x00 0x5e 0x04 0x00 0x5d 0x04 0x00 0x5c 0x04>; + interrupt-names = "GPU\0MMU\0JOB"; + clocks = <0x0e 0x05 0x02 0x115 0x02 0x116 0x02 0x114>; + clock-names = "clk_mali\0clk_gpu_coregroup\0clk_gpu_stacks\0clk_gpu"; + assigned-clocks = <0x0e 0x05>; + assigned-clock-rates = <0xbebc200>; + power-domains = <0x4d 0x0c>; + operating-points-v2 = <0x4e>; + #cooling-cells = <0x02>; + dynamic-power-coefficient = <0xba6>; + upthreshold = <0x1e>; + downdifferential = <0x0a>; + status = "okay"; + mali-supply = <0x4f>; + mem-supply = <0x4f>; + phandle = <0x4c>; + }; + + gpu-opp-table { + compatible = "operating-points-v2"; + nvmem-cells = <0x50 0x20>; + nvmem-cell-names = "leakage\0specification_serial_number"; + rockchip,supported-hw; + rockchip,pvtm-voltage-sel = <0x00 0x32f 0x00 0x330 0x343 0x01 0x344 0x35c 0x02 0x35d 0x375 0x03 0x376 0x38e 0x04 0x38f 0x270f 0x05>; + rockchip,pvtm-pvtpll; + rockchip,pvtm-offset = <0x1c>; + rockchip,pvtm-freq = <0xc3500>; + rockchip,pvtm-sample-time = <0x44c>; + rockchip,pvtm-volt = <0xb71b0>; + rockchip,pvtm-ref-temp = <0x19>; + rockchip,pvtm-temp-prop = <0xffffff79 0xffffff79>; + rockchip,pvtm-thermal-zone = "gpu-thermal"; + clocks = <0x02 0x114>; + clock-names = "clk"; + rockchip,grf = <0x51>; + volt-mem-read-margin = <0xd0bd8 0x01 0xbac48 0x02 0xa4cb8 0x03 0x78d98 0x04>; + low-volt-mem-read-margin = <0x04>; + intermediate-threshold-freq = <0x61a80>; + rockchip,temp-hysteresis = <0x1388>; + rockchip,low-temp = <0x2710>; + rockchip,low-temp-min-volt = <0xb71b0>; + rockchip,high-temp = <0x14c08>; + rockchip,high-temp-max-freq = <0xc3500>; + phandle = <0x4e>; + + opp-300000000 { + opp-supported-hw = <0xff 0xffff>; + opp-hz = <0x00 0x11e1a300>; + opp-microvolt = <0xa4cb8 0xa4cb8 0xcf850 0xa4cb8 0xa4cb8 0xcf850>; + }; + + opp-400000000 { + opp-supported-hw = <0xff 0xffff>; + opp-hz = <0x00 0x17d78400>; + opp-microvolt = <0xa4cb8 0xa4cb8 0xcf850 0xa4cb8 0xa4cb8 0xcf850>; + }; + + opp-500000000 { + opp-supported-hw = <0xff 0xffff>; + opp-hz = <0x00 0x1dcd6500>; + opp-microvolt = <0xa4cb8 0xa4cb8 0xcf850 0xa4cb8 0xa4cb8 0xcf850>; + }; + + opp-600000000 { + opp-supported-hw = <0xff 0xffff>; + opp-hz = <0x00 0x23c34600>; + opp-microvolt = <0xa4cb8 0xa4cb8 0xcf850 0xa4cb8 0xa4cb8 0xcf850>; + }; + + opp-700000000 { + opp-supported-hw = <0xff 0xffff>; + opp-hz = <0x00 0x29b92700>; + opp-microvolt = <0xaae60 0xaae60 0xcf850 0xaae60 0xaae60 0xcf850>; + opp-microvolt-L1 = <0xa7d8c 0xa7d8c 0xcf850 0xa7d8c 0xa7d8c 0xcf850>; + opp-microvolt-L2 = <0xa4cb8 0xa4cb8 0xcf850 0xa4cb8 0xa4cb8 0xcf850>; + opp-microvolt-L4 = <0xa4cb8 0xa4cb8 0xcf850 0xa4cb8 0xa4cb8 0xcf850>; + opp-microvolt-L5 = <0xa4cb8 0xa4cb8 0xcf850 0xa4cb8 0xa4cb8 0xcf850>; + }; + + opp-800000000 { + opp-supported-hw = <0xff 0xffff>; + opp-hz = <0x00 0x2faf0800>; + opp-microvolt = <0xb71b0 0xb71b0 0xcf850 0xb71b0 0xb71b0 0xcf850>; + opp-microvolt-L1 = <0xb40dc 0xb40dc 0xcf850 0xb40dc 0xb40dc 0xcf850>; + opp-microvolt-L2 = <0xb1008 0xb1008 0xcf850 0xb1008 0xb1008 0xcf850>; + opp-microvolt-L3 = <0xadf34 0xadf34 0xcf850 0xadf34 0xadf34 0xcf850>; + opp-microvolt-L4 = <0xaae60 0xaae60 0xcf850 0xaae60 0xaae60 0xcf850>; + }; + + opp-900000000 { + opp-supported-hw = <0xfb 0xffff>; + opp-hz = <0x00 0x35a4e900>; + opp-microvolt = <0xc3500 0xc3500 0xcf850 0xc3500 0xc3500 0xcf850>; + opp-microvolt-L1 = <0xc042c 0xc042c 0xcf850 0xc042c 0xc042c 0xcf850>; + opp-microvolt-L2 = <0xbd358 0xbd358 0xcf850 0xbd358 0xbd358 0xcf850>; + opp-microvolt-L3 = <0xba284 0xba284 0xcf850 0xba284 0xba284 0xcf850>; + opp-microvolt-L4 = <0xb71b0 0xb71b0 0xcf850 0xb71b0 0xb71b0 0xcf850>; + }; + + opp-1000000000 { + opp-supported-hw = <0xfb 0xffff>; + opp-hz = <0x00 0x3b9aca00>; + opp-microvolt = <0xcf850 0xcf850 0xcf850 0xcf850 0xcf850 0xcf850>; + opp-microvolt-L1 = <0xcc77c 0xcc77c 0xcf850 0xcc77c 0xcc77c 0xcf850>; + opp-microvolt-L2 = <0xc96a8 0xc96a8 0xcf850 0xc96a8 0xc96a8 0xcf850>; + opp-microvolt-L3 = <0xc65d4 0xc65d4 0xcf850 0xc65d4 0xc65d4 0xcf850>; + opp-microvolt-L4 = <0xc3500 0xc3500 0xcf850 0xc3500 0xc3500 0xcf850>; + }; + }; + + usbdrd3_0 { + compatible = "rockchip,rk3588-dwc3\0rockchip,rk3399-dwc3"; + clocks = <0x02 0x1a3 0x02 0x1a2 0x02 0x1a1>; + clock-names = "ref\0suspend\0bus"; + #address-cells = <0x02>; + #size-cells = <0x02>; + ranges; + status = "okay"; + + usb@fc000000 { + compatible = "snps,dwc3"; + reg = <0x00 0xfc000000 0x00 0x400000>; + interrupts = <0x00 0xdc 0x04>; + power-domains = <0x4d 0x1f>; + resets = <0x02 0x2a4>; + reset-names = "usb3-otg"; + dr_mode = "host"; + phys = <0x52 0x53>; + phy-names = "usb2-phy\0usb3-phy"; + phy_type = "utmi_wide"; + snps,dis_enblslpm_quirk; + snps,dis-u2-freeclk-exists-quirk; + snps,dis-del-phy-power-chg-quirk; + snps,dis-tx-ipgap-linecheck-quirk; + snps,parkmode-disable-ss-quirk; + status = "okay"; + usb-role-switch; + + port { + #address-cells = <0x01>; + #size-cells = <0x00>; + + endpoint@0 { + reg = <0x00>; + remote-endpoint = <0x54>; + phandle = <0x163>; + }; + }; + }; + }; + + usb@fc800000 { + compatible = "rockchip,rk3588-ehci\0generic-ehci"; + reg = <0x00 0xfc800000 0x00 0x40000>; + interrupts = <0x00 0xd7 0x04>; + clocks = <0x02 0x19d 0x02 0x19e 0x55>; + clock-names = "usbhost\0arbiter\0utmi"; + companion = <0x56>; + phys = <0x57>; + phy-names = "usb2-phy"; + power-domains = <0x4d 0x1f>; + status = "okay"; + }; + + usb@fc840000 { + compatible = "generic-ohci"; + reg = <0x00 0xfc840000 0x00 0x40000>; + interrupts = <0x00 0xd8 0x04>; + clocks = <0x02 0x19d 0x02 0x19e 0x55>; + clock-names = "usbhost\0arbiter\0utmi"; + phys = <0x57>; + phy-names = "usb2-phy"; + power-domains = <0x4d 0x1f>; + status = "okay"; + phandle = <0x56>; + }; + + usb@fc880000 { + compatible = "rockchip,rk3588-ehci\0generic-ehci"; + reg = <0x00 0xfc880000 0x00 0x40000>; + interrupts = <0x00 0xda 0x04>; + clocks = <0x02 0x19f 0x02 0x1a0 0x58>; + clock-names = "usbhost\0arbiter\0utmi"; + companion = <0x59>; + phys = <0x5a>; + phy-names = "usb2-phy"; + power-domains = <0x4d 0x1f>; + status = "okay"; + }; + + usb@fc8c0000 { + compatible = "generic-ohci"; + reg = <0x00 0xfc8c0000 0x00 0x40000>; + interrupts = <0x00 0xdb 0x04>; + clocks = <0x02 0x19f 0x02 0x1a0 0x58>; + clock-names = "usbhost\0arbiter\0utmi"; + phys = <0x5a>; + phy-names = "usb2-phy"; + power-domains = <0x4d 0x1f>; + status = "okay"; + phandle = <0x59>; + }; + + iommu@fc900000 { + compatible = "arm,smmu-v3"; + reg = <0x00 0xfc900000 0x00 0x200000>; + interrupts = <0x00 0x171 0x04 0x00 0x173 0x04 0x00 0x176 0x04 0x00 0x16f 0x04>; + interrupt-names = "eventq\0gerror\0priq\0cmdq-sync"; + #iommu-cells = <0x01>; + status = "disabled"; + }; + + iommu@fcb00000 { + compatible = "arm,smmu-v3"; + reg = <0x00 0xfcb00000 0x00 0x200000>; + interrupts = <0x00 0x17d 0x04 0x00 0x17f 0x04 0x00 0x182 0x04 0x00 0x17b 0x04>; + interrupt-names = "eventq\0gerror\0priq\0cmdq-sync"; + #iommu-cells = <0x01>; + status = "disabled"; + }; + + usbhost3_0 { + compatible = "rockchip,rk3588-dwc3\0rockchip,rk3399-dwc3"; + clocks = <0x02 0x179 0x02 0x178 0x02 0x177 0x02 0x17a 0x02 0x166 0x02 0x181>; + clock-names = "ref\0suspend\0bus\0utmi\0php\0pipe"; + #address-cells = <0x02>; + #size-cells = <0x02>; + ranges; + status = "disabled"; + + usb@fcd00000 { + compatible = "snps,dwc3"; + reg = <0x00 0xfcd00000 0x00 0x400000>; + interrupts = <0x00 0xde 0x04>; + resets = <0x02 0x237>; + reset-names = "usb3-host"; + dr_mode = "host"; + phys = <0x5b 0x04>; + phy-names = "usb3-phy"; + phy_type = "utmi_wide"; + snps,dis_enblslpm_quirk; + snps,dis-u2-freeclk-exists-quirk; + snps,dis-del-phy-power-chg-quirk; + snps,dis-tx-ipgap-linecheck-quirk; + snps,dis_rxdet_inp3_quirk; + snps,parkmode-disable-ss-quirk; + status = "disabled"; + }; + }; + + syscon@fd588000 { + compatible = "rockchip,rk3588-pmu0-grf\0syscon\0simple-mfd"; + reg = <0x00 0xfd588000 0x00 0x2000>; + + reboot-mode { + compatible = "syscon-reboot-mode"; + offset = <0x80>; + mode-bootloader = <0x5242c301>; + mode-charge = <0x5242c30b>; + mode-fastboot = <0x5242c309>; + mode-loader = <0x5242c301>; + mode-normal = <0x5242c300>; + mode-recovery = <0x5242c303>; + mode-ums = <0x5242c30c>; + mode-panic = <0x5242c307>; + mode-watchdog = <0x5242c308>; + }; + }; + + syscon@fd58a000 { + compatible = "rockchip,rk3588-pmu1-grf\0syscon"; + reg = <0x00 0xfd58a000 0x00 0x2000>; + phandle = <0xe6>; + }; + + syscon@fd58c000 { + compatible = "rockchip,rk3588-sys-grf\0syscon\0simple-mfd"; + reg = <0x00 0xfd58c000 0x00 0x1000>; + phandle = <0xb7>; + + rgb { + compatible = "rockchip,rk3588-rgb"; + pinctrl-names = "default"; + pinctrl-0 = <0x5c>; + status = "disabled"; + + ports { + #address-cells = <0x01>; + #size-cells = <0x00>; + + port@0 { + reg = <0x00>; + #address-cells = <0x01>; + #size-cells = <0x00>; + + endpoint@2 { + reg = <0x02>; + remote-endpoint = <0x36>; + status = "disabled"; + phandle = <0xd2>; + }; + }; + }; + }; + }; + + syscon@fd590000 { + compatible = "rockchip,rk3588-bigcore0-grf\0syscon"; + reg = <0x00 0xfd590000 0x00 0x100>; + phandle = <0x24>; + }; + + syscon@fd592000 { + compatible = "rockchip,rk3588-bigcore1-grf\0syscon"; + reg = <0x00 0xfd592000 0x00 0x100>; + phandle = <0x26>; + }; + + syscon@fd594000 { + compatible = "rockchip,rk3588-litcore-grf\0syscon"; + reg = <0x00 0xfd594000 0x00 0x100>; + phandle = <0x21>; + }; + + syscon@fd598000 { + compatible = "rockchip,rk3588-dsu-grf\0syscon"; + reg = <0x00 0xfd598000 0x00 0x100>; + phandle = <0x22>; + }; + + syscon@fd5a0000 { + compatible = "rockchip,rk3588-gpu-grf\0syscon"; + reg = <0x00 0xfd5a0000 0x00 0x100>; + phandle = <0x51>; + }; + + syscon@fd5a2000 { + compatible = "rockchip,rk3588-npu-grf\0syscon"; + reg = <0x00 0xfd5a2000 0x00 0x100>; + phandle = <0x9d>; + }; + + syscon@fd5a4000 { + compatible = "rockchip,rk3588-vop-grf\0syscon"; + reg = <0x00 0xfd5a4000 0x00 0x2000>; + phandle = <0xb9>; + }; + + syscon@fd5a6000 { + compatible = "rockchip,rk3588-vo-grf\0syscon"; + reg = <0x00 0xfd5a6000 0x00 0x2000>; + clocks = <0x5d>; + phandle = <0xd7>; + }; + + syscon@fd5a8000 { + compatible = "rockchip,rk3588-vo-grf\0syscon"; + reg = <0x00 0xfd5a8000 0x00 0x100>; + clocks = <0x5e>; + phandle = <0xba>; + }; + + syscon@fd5ac000 { + compatible = "rockchip,rk3588-usb-grf\0syscon"; + reg = <0x00 0xfd5ac000 0x00 0x4000>; + phandle = <0x5f>; + }; + + syscon@fd5b0000 { + compatible = "rockchip,rk3588-php-grf\0syscon"; + reg = <0x00 0xfd5b0000 0x00 0x1000>; + phandle = <0x61>; + }; + + syscon@fd5b4000 { + compatible = "rockchip,mipi-dphy-grf\0syscon"; + reg = <0x00 0xfd5b4000 0x00 0x1000>; + phandle = <0x173>; + }; + + syscon@fd5b5000 { + compatible = "rockchip,mipi-dphy-grf\0syscon"; + reg = <0x00 0xfd5b5000 0x00 0x1000>; + phandle = <0x1a7>; + }; + + syscon@fd5bc000 { + compatible = "rockchip,pipe-phy-grf\0syscon"; + reg = <0x00 0xfd5bc000 0x00 0x100>; + phandle = <0x174>; + }; + + syscon@fd5c4000 { + compatible = "rockchip,pipe-phy-grf\0syscon"; + reg = <0x00 0xfd5c4000 0x00 0x100>; + phandle = <0x175>; + }; + + syscon@fd5c8000 { + compatible = "rockchip,rk3588-usbdpphy-grf\0syscon"; + reg = <0x00 0xfd5c8000 0x00 0x4000>; + phandle = <0x16d>; + }; + + syscon@fd5d0000 { + compatible = "rockchip,rk3588-usb2phy-grf\0syscon\0simple-mfd"; + reg = <0x00 0xfd5d0000 0x00 0x4000>; + #address-cells = <0x01>; + #size-cells = <0x01>; + phandle = <0x16c>; + + usb2-phy@0 { + compatible = "rockchip,rk3588-usb2phy"; + reg = <0x00 0x10>; + interrupts = <0x00 0x189 0x04>; + resets = <0x02 0xc0047 0x02 0x488>; + reset-names = "phy\0apb"; + clocks = <0x02 0x2b5>; + clock-names = "phyclk"; + clock-output-names = "usb480m_phy0"; + #clock-cells = <0x00>; + rockchip,usbctrl-grf = <0x5f>; + status = "okay"; + phandle = <0x16e>; + + otg-port { + #phy-cells = <0x00>; + status = "okay"; + rockchip,typec-vbus-det; + phandle = <0x52>; + }; + }; + }; + + syscon@fd5d8000 { + compatible = "rockchip,rk3588-usb2phy-grf\0syscon\0simple-mfd"; + reg = <0x00 0xfd5d8000 0x00 0x4000>; + #address-cells = <0x01>; + #size-cells = <0x01>; + + usb2-phy@8000 { + compatible = "rockchip,rk3588-usb2phy"; + reg = <0x8000 0x10>; + interrupts = <0x00 0x187 0x04>; + resets = <0x02 0xc0049 0x02 0x48a>; + reset-names = "phy\0apb"; + clocks = <0x02 0x2b5>; + clock-names = "phyclk"; + clock-output-names = "usb480m_phy2"; + #clock-cells = <0x00>; + status = "okay"; + phandle = <0x55>; + + host-port { + #phy-cells = <0x00>; + status = "okay"; + phy-supply = <0x60>; + phandle = <0x57>; + }; + }; + }; + + syscon@fd5dc000 { + compatible = "rockchip,rk3588-usb2phy-grf\0syscon\0simple-mfd"; + reg = <0x00 0xfd5dc000 0x00 0x4000>; + #address-cells = <0x01>; + #size-cells = <0x01>; + + usb2-phy@c000 { + compatible = "rockchip,rk3588-usb2phy"; + reg = <0xc000 0x10>; + interrupts = <0x00 0x188 0x04>; + resets = <0x02 0xc004a 0x02 0x48b>; + reset-names = "phy\0apb"; + clocks = <0x02 0x2b5>; + clock-names = "phyclk"; + clock-output-names = "usb480m_phy3"; + #clock-cells = <0x00>; + status = "okay"; + phandle = <0x58>; + + host-port { + #phy-cells = <0x00>; + status = "okay"; + phy-supply = <0x60>; + phandle = <0x5a>; + }; + }; + }; + + syscon@fd5e0000 { + compatible = "rockchip,rk3588-hdptxphy-grf\0syscon"; + reg = <0x00 0xfd5e0000 0x00 0x100>; + phandle = <0x16b>; + }; + + syscon@fd5e8000 { + compatible = "rockchip,mipi-dcphy-grf\0syscon"; + reg = <0x00 0xfd5e8000 0x00 0x4000>; + phandle = <0x171>; + }; + + syscon@fd5ec000 { + compatible = "rockchip,mipi-dcphy-grf\0syscon"; + reg = <0x00 0xfd5ec000 0x00 0x4000>; + phandle = <0x172>; + }; + + syscon@fd5f0000 { + compatible = "rockchip,rk3588-ioc\0syscon"; + reg = <0x00 0xfd5f0000 0x00 0x10000>; + phandle = <0x176>; + }; + + clock-controller@fd7c0000 { + compatible = "rockchip,rk3588-cru"; + rockchip,grf = <0x61>; + reg = <0x00 0xfd7c0000 0x00 0x5c000>; + #clock-cells = <0x01>; + #reset-cells = <0x01>; + assigned-clocks = <0x02 0x09 0x02 0x05 0x02 0x08 0x02 0x07 0x02 0xd8 0x02 0xda 0x02 0xd9 0x02 0x10e 0x02 0x10f 0x02 0x110 0x02 0x299 0x02 0x29a 0x02 0x7b 0x02 0xec 0x02 0x114 0x02 0x208 0x02 0x20e>; + assigned-clock-rates = <0x4190ab00 0x2ee00000 0x32a9f880 0x46cf7100 0x29d7ab80 0x17d78400 0x1dcd6500 0x2faf0800 0x5f5e100 0x17d78400 0x5f5e100 0xbebc200 0x165a0bc0 0x8f0d180 0xbebc200 0xb71b00 0xb71b00>; + phandle = <0x02>; + }; + + i2c@fd880000 { + compatible = "rockchip,rk3588-i2c\0rockchip,rk3399-i2c"; + reg = <0x00 0xfd880000 0x00 0x1000>; + clocks = <0x02 0x287 0x02 0x286>; + clock-names = "i2c\0pclk"; + interrupts = <0x00 0x13d 0x04>; + pinctrl-names = "default"; + pinctrl-0 = <0x62>; + #address-cells = <0x01>; + #size-cells = <0x00>; + status = "okay"; + + rk8602@42 { + compatible = "rockchip,rk8602"; + reg = <0x42>; + vin-supply = <0x63>; + regulator-compatible = "rk860x-reg"; + regulator-name = "vdd_cpu_big0_s0"; + regulator-min-microvolt = <0x86470>; + regulator-max-microvolt = <0x100590>; + regulator-ramp-delay = <0x8fc>; + rockchip,suspend-voltage-selector = <0x01>; + regulator-boot-on; + regulator-always-on; + phandle = <0x18>; + + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + rk8603@43 { + compatible = "rockchip,rk8603"; + reg = <0x43>; + vin-supply = <0x63>; + regulator-compatible = "rk860x-reg"; + regulator-name = "vdd_cpu_big1_s0"; + regulator-min-microvolt = <0x86470>; + regulator-max-microvolt = <0x100590>; + regulator-ramp-delay = <0x8fc>; + rockchip,suspend-voltage-selector = <0x01>; + regulator-boot-on; + regulator-always-on; + phandle = <0x1c>; + + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + }; + + serial@fd890000 { + compatible = "rockchip,rk3588-uart\0snps,dw-apb-uart"; + reg = <0x00 0xfd890000 0x00 0x100>; + interrupts = <0x00 0x14b 0x04>; + clocks = <0x02 0x2ae 0x02 0x2af>; + clock-names = "baudclk\0apb_pclk"; + reg-shift = <0x02>; + reg-io-width = <0x04>; + dmas = <0x64 0x06 0x64 0x07>; + pinctrl-names = "default"; + pinctrl-0 = <0x65>; + status = "disabled"; + }; + + pwm@fd8b0000 { + compatible = "rockchip,rk3588-pwm\0rockchip,rk3328-pwm"; + reg = <0x00 0xfd8b0000 0x00 0x10>; + #pwm-cells = <0x03>; + pinctrl-names = "active"; + pinctrl-0 = <0x66>; + clocks = <0x02 0x2a5 0x02 0x2a4>; + clock-names = "pwm\0pclk"; + status = "disabled"; + }; + + pwm@fd8b0010 { + compatible = "rockchip,rk3588-pwm\0rockchip,rk3328-pwm"; + reg = <0x00 0xfd8b0010 0x00 0x10>; + #pwm-cells = <0x03>; + pinctrl-names = "active"; + pinctrl-0 = <0x67>; + clocks = <0x02 0x2a5 0x02 0x2a4>; + clock-names = "pwm\0pclk"; + status = "disabled"; + }; + + pwm@fd8b0020 { + compatible = "rockchip,rk3588-pwm\0rockchip,rk3328-pwm"; + reg = <0x00 0xfd8b0020 0x00 0x10>; + #pwm-cells = <0x03>; + pinctrl-names = "active"; + pinctrl-0 = <0x68>; + clocks = <0x02 0x2a5 0x02 0x2a4>; + clock-names = "pwm\0pclk"; + status = "disabled"; + }; + + pwm@fd8b0030 { + compatible = "rockchip,rk3588-pwm\0rockchip,rk3328-pwm"; + reg = <0x00 0xfd8b0030 0x00 0x10>; + interrupts = <0x00 0x158 0x04 0x00 0x159 0x04>; + #pwm-cells = <0x03>; + pinctrl-names = "active"; + pinctrl-0 = <0x69>; + clocks = <0x02 0x2a5 0x02 0x2a4>; + clock-names = "pwm\0pclk"; + status = "disabled"; + }; + + power-management@fd8d8000 { + compatible = "rockchip,rk3588-pmu\0syscon\0simple-mfd"; + reg = <0x00 0xfd8d8000 0x00 0x400>; + phandle = <0xbb>; + + power-controller { + compatible = "rockchip,rk3588-power-controller"; + #power-domain-cells = <0x01>; + #address-cells = <0x01>; + #size-cells = <0x00>; + status = "okay"; + phandle = <0x4d>; + + power-domain@8 { + reg = <0x08>; + #address-cells = <0x01>; + #size-cells = <0x00>; + + power-domain@9 { + reg = <0x09>; + #address-cells = <0x01>; + #size-cells = <0x00>; + clocks = <0x02 0x12f 0x02 0x131 0x02 0x130 0x02 0x126>; + pm_qos = <0x6a 0x6b 0x6c>; + + power-domain@10 { + reg = <0x0a>; + clocks = <0x02 0x12f 0x02 0x131 0x02 0x130>; + pm_qos = <0x6d>; + }; + + power-domain@11 { + reg = <0x0b>; + clocks = <0x02 0x12f 0x02 0x131 0x02 0x130>; + pm_qos = <0x6e>; + }; + }; + }; + + power-domain@12 { + reg = <0x0c>; + clocks = <0x02 0x114 0x02 0x115 0x02 0x116>; + pm_qos = <0x6f 0x70 0x71 0x72>; + }; + + power-domain@13 { + reg = <0x0d>; + #address-cells = <0x01>; + #size-cells = <0x00>; + + power-domain@14 { + reg = <0x0e>; + clocks = <0x02 0x18f 0x02 0x1be 0x02 0x1bc 0x02 0x190 0x02 0x18e>; + pm_qos = <0x73>; + }; + + power-domain@15 { + reg = <0x0f>; + clocks = <0x02 0x194 0x02 0x1be 0x02 0x1bc 0x02 0x195>; + pm_qos = <0x74>; + }; + + power-domain@16 { + reg = <0x10>; + #address-cells = <0x01>; + #size-cells = <0x00>; + clocks = <0x02 0x1c4 0x02 0x1c5>; + pm_qos = <0x75 0x76 0x77>; + + power-domain@17 { + reg = <0x11>; + clocks = <0x02 0x1c9 0x02 0x1c4 0x02 0x1c5 0x02 0x1ca>; + pm_qos = <0x78 0x79 0x7a>; + }; + }; + }; + + power-domain@21 { + reg = <0x15>; + #address-cells = <0x01>; + #size-cells = <0x00>; + clocks = <0x02 0x1be 0x02 0x1bd 0x02 0x1bc 0x02 0x1bf 0x02 0x1aa 0x02 0x1a9 0x02 0x1ac 0x02 0x1ad 0x02 0x1ae 0x02 0x1af 0x02 0x1b0 0x02 0x1b1 0x02 0x1b2 0x02 0x1b3 0x02 0x1b4 0x02 0x1b5 0x02 0x1b7 0x02 0x1b6>; + pm_qos = <0x7b 0x7c 0x7d 0x7e 0x7f 0x80 0x81 0x82>; + + power-domain@23 { + reg = <0x17>; + clocks = <0x02 0x4b 0x02 0x49 0x02 0x1be>; + pm_qos = <0x83>; + }; + + power-domain@14 { + reg = <0x0e>; + clocks = <0x02 0x18f 0x02 0x1be 0x02 0x1bc 0x02 0x190>; + pm_qos = <0x73>; + }; + + power-domain@15 { + reg = <0x0f>; + clocks = <0x02 0x194 0x02 0x1be 0x02 0x1bc>; + pm_qos = <0x74>; + }; + + power-domain@22 { + reg = <0x16>; + clocks = <0x02 0x1ba 0x02 0x1b9>; + pm_qos = <0x84>; + }; + }; + + power-domain@24 { + reg = <0x18>; + #address-cells = <0x01>; + #size-cells = <0x00>; + clocks = <0x02 0x26e 0x02 0x26d 0x02 0x270>; + pm_qos = <0x85 0x86>; + + power-domain@25 { + reg = <0x19>; + clocks = <0x02 0x1f6 0x02 0x1f7 0x02 0x1f5 0x02 0x1f3 0x02 0x1ee 0x02 0x1ed 0x02 0x26d>; + pm_qos = <0x87>; + }; + }; + + power-domain@26 { + reg = <0x1a>; + clocks = <0x02 0x22e 0x02 0x22f 0x02 0x22d 0x02 0x218 0x02 0x217 0x02 0x22b 0x02 0x264>; + pm_qos = <0x88 0x89>; + }; + + power-domain@27 { + reg = <0x1b>; + #address-cells = <0x01>; + #size-cells = <0x00>; + clocks = <0x02 0x1e1 0x02 0x1e2 0x02 0x1df 0x02 0x1de 0x02 0x1e5 0x02 0x1e4>; + pm_qos = <0x8a 0x8b 0x8c 0x8d>; + + power-domain@28 { + reg = <0x1c>; + clocks = <0x02 0x121 0x02 0x120 0x02 0x1e1 0x02 0x1e2>; + pm_qos = <0x8e 0x8f>; + }; + + power-domain@29 { + reg = <0x1d>; + clocks = <0x02 0x1d6 0x02 0x1d5 0x02 0x1d9 0x02 0x1d8 0x02 0x1e2>; + pm_qos = <0x90 0x91>; + }; + }; + + power-domain@30 { + reg = <0x1e>; + clocks = <0x02 0x189 0x02 0x18a>; + pm_qos = <0x92>; + }; + + power-domain@31 { + reg = <0x1f>; + clocks = <0x02 0x166 0x02 0x19b 0x02 0x19c 0x02 0x19d 0x02 0x19e 0x02 0x19f 0x02 0x1a0>; + pm_qos = <0x93 0x94 0x95 0x96>; + }; + + power-domain@33 { + reg = <0x21>; + clocks = <0x02 0x166 0x02 0x169 0x02 0x16a>; + }; + + power-domain@34 { + reg = <0x22>; + clocks = <0x02 0x166 0x02 0x169 0x02 0x16a>; + }; + + power-domain@37 { + reg = <0x25>; + clocks = <0x02 0x199 0x02 0x140>; + pm_qos = <0x97>; + }; + + power-domain@38 { + reg = <0x26>; + clocks = <0x02 0x3c 0x02 0x3d>; + }; + + power-domain@40 { + reg = <0x28>; + pm_qos = <0x98>; + }; + }; + }; + + pvtm@fda40000 { + compatible = "rockchip,rk3588-bigcore0-pvtm"; + reg = <0x00 0xfda40000 0x00 0x100>; + #address-cells = <0x01>; + #size-cells = <0x00>; + + pvtm@0 { + reg = <0x00>; + clocks = <0x02 0x2c6 0x02 0x15>; + clock-names = "clk\0pclk"; + }; + }; + + pvtm@fda50000 { + compatible = "rockchip,rk3588-bigcore1-pvtm"; + reg = <0x00 0xfda50000 0x00 0x100>; + #address-cells = <0x01>; + #size-cells = <0x00>; + + pvtm@1 { + reg = <0x01>; + clocks = <0x02 0x2c8 0x02 0x17>; + clock-names = "clk\0pclk"; + }; + }; + + pvtm@fda60000 { + compatible = "rockchip,rk3588-litcore-pvtm"; + reg = <0x00 0xfda60000 0x00 0x100>; + #address-cells = <0x01>; + #size-cells = <0x00>; + + pvtm@2 { + reg = <0x02>; + clocks = <0x02 0x2ca 0x02 0x1b>; + clock-names = "clk\0pclk"; + }; + }; + + pvtm@fdaf0000 { + compatible = "rockchip,rk3588-npu-pvtm"; + reg = <0x00 0xfdaf0000 0x00 0x100>; + #address-cells = <0x01>; + #size-cells = <0x00>; + + pvtm@3 { + reg = <0x03>; + clocks = <0x02 0x12b 0x02 0x129>; + clock-names = "clk\0pclk"; + resets = <0x02 0x1de 0x02 0x1dc>; + reset-names = "rts\0rst-p"; + }; + }; + + pvtm@fdb30000 { + compatible = "rockchip,rk3588-gpu-pvtm"; + reg = <0x00 0xfdb30000 0x00 0x100>; + #address-cells = <0x01>; + #size-cells = <0x00>; + + pvtm@4 { + reg = <0x04>; + clocks = <0x02 0x118>; + clock-names = "clk"; + resets = <0x02 0x430 0x02 0x42f>; + reset-names = "rts\0rst-p"; + }; + }; + + npu@fdab0000 { + compatible = "rockchip,rk3588-rknpu"; + reg = <0x00 0xfdab0000 0x00 0x10000 0x00 0xfdac0000 0x00 0x10000 0x00 0xfdad0000 0x00 0x10000>; + interrupts = <0x00 0x6e 0x04 0x00 0x6f 0x04 0x00 0x70 0x04>; + interrupt-names = "npu0_irq\0npu1_irq\0npu2_irq"; + clocks = <0x0e 0x06 0x02 0x12d 0x02 0x122 0x02 0x124 0x02 0x12e 0x02 0x123 0x02 0x125 0x02 0x131>; + clock-names = "clk_npu\0aclk0\0aclk1\0aclk2\0hclk0\0hclk1\0hclk2\0pclk"; + assigned-clocks = <0x0e 0x06>; + assigned-clock-rates = <0xbebc200>; + resets = <0x02 0x1e6 0x02 0x1b0 0x02 0x1c0 0x02 0x1e8 0x02 0x1b2 0x02 0x1c2>; + reset-names = "srst_a0\0srst_a1\0srst_a2\0srst_h0\0srst_h1\0srst_h2"; + power-domains = <0x4d 0x09 0x4d 0x0a 0x4d 0x0b>; + power-domain-names = "npu0\0npu1\0npu2"; + operating-points-v2 = <0x99>; + iommus = <0x9a>; + status = "okay"; + rknpu-supply = <0x9b>; + mem-supply = <0x9b>; + }; + + npu-opp-table { + compatible = "operating-points-v2"; + nvmem-cells = <0x9c 0x20>; + nvmem-cell-names = "leakage\0specification_serial_number"; + rockchip,supported-hw; + rockchip,pvtm-voltage-sel = <0x00 0x32f 0x00 0x330 0x343 0x01 0x344 0x35c 0x02 0x35d 0x375 0x03 0x376 0x38e 0x04 0x38f 0x270f 0x05>; + rockchip,pvtm-pvtpll; + rockchip,pvtm-offset = <0x50>; + rockchip,pvtm-sample-time = <0x44c>; + rockchip,pvtm-freq = <0xc3500>; + rockchip,pvtm-volt = <0xb71b0>; + rockchip,pvtm-ref-temp = <0x19>; + rockchip,pvtm-temp-prop = <0xffffff8f 0xffffff8f>; + rockchip,pvtm-thermal-zone = "npu-thermal"; + clocks = <0x02 0x12a>; + clock-names = "pclk"; + rockchip,grf = <0x9d>; + volt-mem-read-margin = <0xd0bd8 0x01 0xbac48 0x02 0xa4cb8 0x03 0x78d98 0x04>; + low-volt-read-margin = <0x04>; + intermediate-threshold-freq = <0x7a120>; + rockchip,init-freq = <0xf4240>; + rockchip,temp-hysteresis = <0x1388>; + rockchip,low-temp = <0x2710>; + rockchip,low-temp-min-volt = <0xb71b0>; + rockchip,high-temp = <0x14c08>; + rockchip,high-temp-max-freq = <0xc3500>; + phandle = <0x99>; + + opp-300000000 { + opp-supported-hw = <0xff 0xffff>; + opp-hz = <0x00 0x11e1a300>; + opp-microvolt = <0xaae60 0xaae60 0xcf850 0xaae60 0xaae60 0xcf850>; + opp-microvolt-L1 = <0xa7d8c 0xa7d8c 0xcf850 0xa7d8c 0xa7d8c 0xcf850>; + opp-microvolt-L2 = <0xa4cb8 0xa4cb8 0xcf850 0xa4cb8 0xa4cb8 0xcf850>; + opp-microvolt-L3 = <0xa4cb8 0xa4cb8 0xcf850 0xa4cb8 0xa4cb8 0xcf850>; + opp-microvolt-L4 = <0xa4cb8 0xa4cb8 0xcf850 0xa4cb8 0xa4cb8 0xcf850>; + opp-microvolt-L5 = <0xa4cb8 0xa4cb8 0xcf850 0xa4cb8 0xa4cb8 0xcf850>; + }; + + opp-400000000 { + opp-supported-hw = <0xff 0xffff>; + opp-hz = <0x00 0x17d78400>; + opp-microvolt = <0xaae60 0xaae60 0xcf850 0xaae60 0xaae60 0xcf850>; + opp-microvolt-L1 = <0xa7d8c 0xa7d8c 0xcf850 0xa7d8c 0xa7d8c 0xcf850>; + opp-microvolt-L2 = <0xa4cb8 0xa4cb8 0xcf850 0xa4cb8 0xa4cb8 0xcf850>; + opp-microvolt-L3 = <0xa4cb8 0xa4cb8 0xcf850 0xa4cb8 0xa4cb8 0xcf850>; + opp-microvolt-L4 = <0xa4cb8 0xa4cb8 0xcf850 0xa4cb8 0xa4cb8 0xcf850>; + opp-microvolt-L5 = <0xa4cb8 0xa4cb8 0xcf850 0xa4cb8 0xa4cb8 0xcf850>; + }; + + opp-500000000 { + opp-supported-hw = <0xff 0xffff>; + opp-hz = <0x00 0x1dcd6500>; + opp-microvolt = <0xaae60 0xaae60 0xcf850 0xaae60 0xaae60 0xcf850>; + opp-microvolt-L1 = <0xa7d8c 0xa7d8c 0xcf850 0xa7d8c 0xa7d8c 0xcf850>; + opp-microvolt-L2 = <0xa4cb8 0xa4cb8 0xcf850 0xa4cb8 0xa4cb8 0xcf850>; + opp-microvolt-L3 = <0xa4cb8 0xa4cb8 0xcf850 0xa4cb8 0xa4cb8 0xcf850>; + opp-microvolt-L4 = <0xa4cb8 0xa4cb8 0xcf850 0xa4cb8 0xa4cb8 0xcf850>; + opp-microvolt-L5 = <0xa4cb8 0xa4cb8 0xcf850 0xa4cb8 0xa4cb8 0xcf850>; + }; + + opp-600000000 { + opp-supported-hw = <0xff 0xffff>; + opp-hz = <0x00 0x23c34600>; + opp-microvolt = <0xaae60 0xaae60 0xcf850 0xaae60 0xaae60 0xcf850>; + opp-microvolt-L1 = <0xa7d8c 0xa7d8c 0xcf850 0xa7d8c 0xa7d8c 0xcf850>; + opp-microvolt-L2 = <0xa4cb8 0xa4cb8 0xcf850 0xa4cb8 0xa4cb8 0xcf850>; + opp-microvolt-L3 = <0xa4cb8 0xa4cb8 0xcf850 0xa4cb8 0xa4cb8 0xcf850>; + opp-microvolt-L4 = <0xa4cb8 0xa4cb8 0xcf850 0xa4cb8 0xa4cb8 0xcf850>; + opp-microvolt-L5 = <0xa4cb8 0xa4cb8 0xcf850 0xa4cb8 0xa4cb8 0xcf850>; + }; + + opp-700000000 { + opp-supported-hw = <0xff 0xffff>; + opp-hz = <0x00 0x29b92700>; + opp-microvolt = <0xaae60 0xaae60 0xcf850 0xaae60 0xaae60 0xcf850>; + opp-microvolt-L3 = <0xa7d8c 0xa7d8c 0xcf850 0xa7d8c 0xa7d8c 0xcf850>; + opp-microvolt-L4 = <0xa4cb8 0xa4cb8 0xcf850 0xa4cb8 0xa4cb8 0xcf850>; + opp-microvolt-L5 = <0xa4cb8 0xa4cb8 0xcf850 0xa4cb8 0xa4cb8 0xcf850>; + }; + + opp-800000000 { + opp-supported-hw = <0xff 0xffff>; + opp-hz = <0x00 0x2faf0800>; + opp-microvolt = <0xb71b0 0xb71b0 0xcf850 0xb71b0 0xb71b0 0xcf850>; + opp-microvolt-L2 = <0xb40dc 0xb40dc 0xcf850 0xb40dc 0xb40dc 0xcf850>; + opp-microvolt-L3 = <0xb1008 0xb1008 0xcf850 0xb1008 0xb1008 0xcf850>; + opp-microvolt-L4 = <0xadf34 0xadf34 0xcf850 0xadf34 0xadf34 0xcf850>; + opp-microvolt-L5 = <0xaae60 0xaae60 0xcf850 0xaae60 0xaae60 0xcf850>; + }; + + opp-900000000 { + opp-supported-hw = <0xfb 0xffff>; + opp-hz = <0x00 0x35a4e900>; + opp-microvolt = <0xc3500 0xc3500 0xcf850 0xc3500 0xc3500 0xcf850>; + opp-microvolt-L1 = <0xc042c 0xc042c 0xcf850 0xc042c 0xc042c 0xcf850>; + opp-microvolt-L2 = <0xbd358 0xbd358 0xcf850 0xbd358 0xbd358 0xcf850>; + opp-microvolt-L3 = <0xba284 0xba284 0xcf850 0xba284 0xba284 0xcf850>; + opp-microvolt-L4 = <0xb71b0 0xb71b0 0xcf850 0xb71b0 0xb71b0 0xcf850>; + opp-microvolt-L5 = <0xb40dc 0xb40dc 0xcf850 0xb40dc 0xb40dc 0xcf850>; + }; + + opp-1000000000 { + opp-supported-hw = <0xfb 0xffff>; + opp-hz = <0x00 0x3b9aca00>; + opp-microvolt = <0xcf850 0xcf850 0xcf850 0xcf850 0xcf850 0xcf850>; + opp-microvolt-L1 = <0xcc77c 0xcc77c 0xcf850 0xcc77c 0xcc77c 0xcf850>; + opp-microvolt-L2 = <0xc96a8 0xc96a8 0xcf850 0xc96a8 0xc96a8 0xcf850>; + opp-microvolt-L3 = <0xc65d4 0xc65d4 0xcf850 0xc65d4 0xc65d4 0xcf850>; + opp-microvolt-L4 = <0xc3500 0xc3500 0xcf850 0xc3500 0xc3500 0xcf850>; + opp-microvolt-L5 = <0xc042c 0xc042c 0xcf850 0xc042c 0xc042c 0xcf850>; + }; + }; + + iommu@fdab9000 { + compatible = "rockchip,iommu-v2"; + reg = <0x00 0xfdab9000 0x00 0x100 0x00 0xfdaba000 0x00 0x100 0x00 0xfdaca000 0x00 0x100 0x00 0xfdada000 0x00 0x100>; + interrupts = <0x00 0x6e 0x04 0x00 0x6f 0x04 0x00 0x70 0x04>; + interrupt-names = "npu0_mmu\0npu1_mmu\0npu2_mmu"; + clocks = <0x02 0x12d 0x02 0x122 0x02 0x124 0x02 0x12e 0x02 0x123 0x02 0x125>; + clock-names = "aclk0\0aclk1\0aclk2\0iface0\0iface1\0iface2"; + #iommu-cells = <0x00>; + status = "okay"; + phandle = <0x9a>; + }; + + vepu@fdb50000 { + compatible = "rockchip,vpu-encoder-v2"; + reg = <0x00 0xfdb50000 0x00 0x400>; + interrupts = <0x00 0x78 0x04>; + interrupt-names = "irq_vepu"; + clocks = <0x02 0x1c0 0x02 0x1c1>; + clock-names = "aclk_vcodec\0hclk_vcodec"; + rockchip,normal-rates = <0x2367b880 0x00>; + assigned-clocks = <0x02 0x1c0>; + assigned-clock-rates = <0x2367b880>; + resets = <0x02 0x2c8 0x02 0x2c9>; + reset-names = "shared_video_a\0shared_video_h"; + rockchip,skip-pmu-idle-request; + iommus = <0x9e>; + rockchip,srv = <0x9f>; + rockchip,taskqueue-node = <0x00>; + rockchip,resetgroup-node = <0x00>; + power-domains = <0x4d 0x15>; + status = "disabled"; + }; + + vdpu@fdb50400 { + compatible = "rockchip,vpu-decoder-v2"; + reg = <0x00 0xfdb50400 0x00 0x400>; + interrupts = <0x00 0x77 0x04>; + interrupt-names = "irq_vdpu"; + clocks = <0x02 0x1c0 0x02 0x1c1>; + clock-names = "aclk_vcodec\0hclk_vcodec"; + rockchip,normal-rates = <0x2367b880 0x00>; + assigned-clocks = <0x02 0x1c0>; + assigned-clock-rates = <0x2367b880>; + resets = <0x02 0x2c8 0x02 0x2c9>; + reset-names = "shared_video_a\0shared_video_h"; + rockchip,skip-pmu-idle-request; + iommus = <0x9e>; + rockchip,srv = <0x9f>; + rockchip,taskqueue-node = <0x00>; + rockchip,resetgroup-node = <0x00>; + power-domains = <0x4d 0x15>; + status = "okay"; + }; + + iommu@fdb50800 { + compatible = "rockchip,iommu-v2"; + reg = <0x00 0xfdb50800 0x00 0x40>; + interrupts = <0x00 0x76 0x04>; + interrupt-names = "irq_vdpu_mmu"; + clocks = <0x02 0x1c0 0x02 0x1c1>; + clock-names = "aclk\0iface"; + power-domains = <0x4d 0x15>; + #iommu-cells = <0x00>; + status = "okay"; + phandle = <0x9e>; + }; + + avsd-plus@fdb51000 { + compatible = "rockchip,avs-plus-decoder"; + reg = <0x00 0xfdb51000 0x00 0x200>; + interrupts = <0x00 0x77 0x04>; + interrupt-names = "irq_avsd"; + clocks = <0x02 0x1c0 0x02 0x1c1>; + clock-names = "aclk_vcodec\0hclk_vcodec"; + resets = <0x02 0x2c8 0x02 0x2c9>; + reset-names = "shared_video_a\0shared_video_h"; + rockchip,skip-pmu-idle-request; + iommus = <0x9e>; + power-domains = <0x4d 0x15>; + rockchip,srv = <0x9f>; + rockchip,taskqueue-node = <0x00>; + rockchip,resetgroup-node = <0x00>; + status = "disabled"; + }; + + rga@fdb60000 { + compatible = "rockchip,rga3_core0"; + reg = <0x00 0xfdb60000 0x00 0x1000>; + interrupts = <0x00 0x72 0x04>; + interrupt-names = "rga3_core0_irq"; + clocks = <0x02 0x1ba 0x02 0x1b9 0x02 0x1bb>; + clock-names = "aclk_rga3_0\0hclk_rga3_0\0clk_rga3_0"; + power-domains = <0x4d 0x16>; + iommus = <0xa0>; + status = "okay"; + }; + + iommu@fdb60f00 { + compatible = "rockchip,iommu-v2"; + reg = <0x00 0xfdb60f00 0x00 0x100>; + interrupts = <0x00 0x72 0x04>; + interrupt-names = "rga3_0_mmu"; + clocks = <0x02 0x1ba 0x02 0x1b9>; + clock-names = "aclk\0iface"; + power-domains = <0x4d 0x16>; + #iommu-cells = <0x00>; + status = "okay"; + phandle = <0xa0>; + }; + + rga@fdb70000 { + compatible = "rockchip,rga3_core1"; + reg = <0x00 0xfdb70000 0x00 0x1000>; + interrupts = <0x00 0x73 0x04>; + interrupt-names = "rga3_core1_irq"; + clocks = <0x02 0x18a 0x02 0x189 0x02 0x18b>; + clock-names = "aclk_rga3_1\0hclk_rga3_1\0clk_rga3_1"; + power-domains = <0x4d 0x1e>; + iommus = <0xa1>; + status = "okay"; + }; + + iommu@fdb70f00 { + compatible = "rockchip,iommu-v2"; + reg = <0x00 0xfdb70f00 0x00 0x100>; + interrupts = <0x00 0x73 0x04>; + interrupt-names = "rga3_1_mmu"; + clocks = <0x02 0x18a 0x02 0x189>; + clock-names = "aclk\0iface"; + power-domains = <0x4d 0x1e>; + #iommu-cells = <0x00>; + status = "okay"; + phandle = <0xa1>; + }; + + rga@fdb80000 { + compatible = "rockchip,rga2_core0"; + reg = <0x00 0xfdb80000 0x00 0x1000>; + interrupts = <0x00 0x74 0x04>; + interrupt-names = "rga2_irq"; + clocks = <0x02 0x1b7 0x02 0x1b6 0x02 0x1b8>; + clock-names = "aclk_rga2\0hclk_rga2\0clk_rga2"; + power-domains = <0x4d 0x15>; + status = "okay"; + }; + + jpegd@fdb90000 { + compatible = "rockchip,rkv-jpeg-decoder-v1"; + reg = <0x00 0xfdb90000 0x00 0x400>; + interrupts = <0x00 0x81 0x04>; + interrupt-names = "irq_jpegd"; + clocks = <0x02 0x1b4 0x02 0x1b5>; + clock-names = "aclk_vcodec\0hclk_vcodec"; + rockchip,normal-rates = <0x23c34600 0x00>; + assigned-clocks = <0x02 0x1b4>; + assigned-clock-rates = <0x23c34600>; + resets = <0x02 0x2d2 0x02 0x2d3>; + reset-names = "video_a\0video_h"; + rockchip,skip-pmu-idle-request; + iommus = <0xa2>; + rockchip,srv = <0x9f>; + rockchip,taskqueue-node = <0x01>; + power-domains = <0x4d 0x15>; + status = "okay"; + }; + + iommu@fdb90480 { + compatible = "rockchip,iommu-v2"; + reg = <0x00 0xfdb90480 0x00 0x40>; + interrupts = <0x00 0x82 0x04>; + interrupt-names = "irq_jpegd_mmu"; + clocks = <0x02 0x1b4 0x02 0x1b5>; + clock-names = "aclk\0iface"; + power-domains = <0x4d 0x15>; + #iommu-cells = <0x00>; + status = "okay"; + phandle = <0xa2>; + }; + + jpege-core@fdba0000 { + compatible = "rockchip,vpu-jpege-core"; + reg = <0x00 0xfdba0000 0x00 0x400>; + interrupts = <0x00 0x7a 0x04>; + interrupt-names = "irq_jpege0"; + clocks = <0x02 0x1ac 0x02 0x1ad>; + clock-names = "aclk_vcodec\0hclk_vcodec"; + rockchip,normal-rates = <0x2367b880 0x00>; + assigned-clocks = <0x02 0x1ac>; + assigned-clock-rates = <0x2367b880>; + resets = <0x02 0x2ca 0x02 0x2cb>; + reset-names = "video_a\0video_h"; + rockchip,skip-pmu-idle-request; + iommus = <0xa3>; + rockchip,srv = <0x9f>; + rockchip,taskqueue-node = <0x02>; + rockchip,ccu = <0xa4>; + power-domains = <0x4d 0x15>; + status = "okay"; + }; + + iommu@fdba0800 { + compatible = "rockchip,iommu-v2"; + reg = <0x00 0xfdba0800 0x00 0x40>; + interrupts = <0x00 0x79 0x04>; + interrupt-names = "irq_jpege0_mmu"; + clocks = <0x02 0x1ac 0x02 0x1ad>; + clock-names = "aclk\0iface"; + power-domains = <0x4d 0x15>; + #iommu-cells = <0x00>; + status = "okay"; + phandle = <0xa3>; + }; + + jpege-core@fdba4000 { + compatible = "rockchip,vpu-jpege-core"; + reg = <0x00 0xfdba4000 0x00 0x400>; + interrupts = <0x00 0x7c 0x04>; + interrupt-names = "irq_jpege1"; + clocks = <0x02 0x1ae 0x02 0x1af>; + clock-names = "aclk_vcodec\0hclk_vcodec"; + rockchip,normal-rates = <0x2367b880 0x00>; + assigned-clocks = <0x02 0x1ae>; + assigned-clock-rates = <0x2367b880>; + resets = <0x02 0x2cc 0x02 0x2cd>; + reset-names = "video_a\0video_h"; + rockchip,skip-pmu-idle-request; + iommus = <0xa5>; + rockchip,srv = <0x9f>; + rockchip,taskqueue-node = <0x02>; + rockchip,ccu = <0xa4>; + power-domains = <0x4d 0x15>; + status = "okay"; + }; + + iommu@fdba4800 { + compatible = "rockchip,iommu-v2"; + reg = <0x00 0xfdba4800 0x00 0x40>; + interrupts = <0x00 0x7b 0x04>; + interrupt-names = "irq_jpege1_mmu"; + clocks = <0x02 0x1ae 0x02 0x1af>; + clock-names = "aclk\0iface"; + power-domains = <0x4d 0x15>; + #iommu-cells = <0x00>; + status = "okay"; + phandle = <0xa5>; + }; + + jpege-core@fdba8000 { + compatible = "rockchip,vpu-jpege-core"; + reg = <0x00 0xfdba8000 0x00 0x400>; + interrupts = <0x00 0x7e 0x04>; + interrupt-names = "irq_jpege2"; + clocks = <0x02 0x1b0 0x02 0x1b1>; + clock-names = "aclk_vcodec\0hclk_vcodec"; + rockchip,normal-rates = <0x2367b880 0x00>; + assigned-clocks = <0x02 0x1b0>; + assigned-clock-rates = <0x2367b880>; + resets = <0x02 0x2ce 0x02 0x2cf>; + reset-names = "video_a\0video_h"; + rockchip,skip-pmu-idle-request; + iommus = <0xa6>; + rockchip,srv = <0x9f>; + rockchip,taskqueue-node = <0x02>; + rockchip,ccu = <0xa4>; + power-domains = <0x4d 0x15>; + status = "okay"; + }; + + iommu@fdba8800 { + compatible = "rockchip,iommu-v2"; + reg = <0x00 0xfdba8800 0x00 0x40>; + interrupts = <0x00 0x7d 0x04>; + interrupt-names = "irq_jpege2_mmu"; + clocks = <0x02 0x1b0 0x02 0x1b1>; + clock-names = "aclk\0iface"; + power-domains = <0x4d 0x15>; + #iommu-cells = <0x00>; + status = "okay"; + phandle = <0xa6>; + }; + + jpege-core@fdbac000 { + compatible = "rockchip,vpu-jpege-core"; + reg = <0x00 0xfdbac000 0x00 0x400>; + interrupts = <0x00 0x80 0x04>; + interrupt-names = "irq_jpege3"; + clocks = <0x02 0x1b2 0x02 0x1b3>; + clock-names = "aclk_vcodec\0hclk_vcodec"; + rockchip,normal-rates = <0x2367b880 0x00>; + assigned-clocks = <0x02 0x1b2>; + assigned-clock-rates = <0x2367b880>; + resets = <0x02 0x2d0 0x02 0x2d1>; + reset-names = "video_a\0video_h"; + rockchip,skip-pmu-idle-request; + iommus = <0xa7>; + rockchip,srv = <0x9f>; + rockchip,taskqueue-node = <0x02>; + rockchip,ccu = <0xa4>; + power-domains = <0x4d 0x15>; + status = "okay"; + }; + + iommu@fdbac800 { + compatible = "rockchip,iommu-v2"; + reg = <0x00 0xfdbac800 0x00 0x40>; + interrupts = <0x00 0x7f 0x04>; + interrupt-names = "irq_jpege3_mmu"; + clocks = <0x02 0x1b2 0x02 0x1b3>; + clock-names = "aclk\0iface"; + power-domains = <0x4d 0x15>; + #iommu-cells = <0x00>; + status = "okay"; + phandle = <0xa7>; + }; + + iep@fdbb0000 { + compatible = "rockchip,iep-v2"; + reg = <0x00 0xfdbb0000 0x00 0x500>; + interrupts = <0x00 0x75 0x04>; + interrupt-names = "irq_iep"; + clocks = <0x02 0x1aa 0x02 0x1a9 0x02 0x1ab>; + clock-names = "aclk\0hclk\0sclk"; + resets = <0x02 0x2d5 0x02 0x2d4 0x02 0x2d6>; + reset-names = "rst_a\0rst_h\0rst_s"; + rockchip,skip-pmu-idle-request; + power-domains = <0x4d 0x15>; + rockchip,srv = <0x9f>; + rockchip,taskqueue-node = <0x06>; + iommus = <0xa8>; + status = "okay"; + }; + + iommu@fdbb0800 { + compatible = "rockchip,iommu-v2"; + reg = <0x00 0xfdbb0800 0x00 0x100>; + interrupts = <0x00 0x75 0x04>; + interrupt-names = "irq_iep_mmu"; + clocks = <0x02 0x1aa 0x02 0x1a9>; + clock-names = "aclk\0iface"; + #iommu-cells = <0x00>; + power-domains = <0x4d 0x15>; + status = "okay"; + phandle = <0xa8>; + }; + + rkvenc-core@fdbd0000 { + compatible = "rockchip,rkv-encoder-v2-core"; + reg = <0x00 0xfdbd0000 0x00 0x6000>; + interrupts = <0x00 0x65 0x04>; + interrupt-names = "irq_rkvenc0"; + clocks = <0x02 0x1c5 0x02 0x1c4 0x02 0x1c6>; + clock-names = "aclk_vcodec\0hclk_vcodec\0clk_core"; + rockchip,normal-rates = <0x23c34600 0x00 0x2faf0800>; + assigned-clocks = <0x02 0x1c5 0x02 0x1c6>; + assigned-clock-rates = <0x23c34600 0x2faf0800>; + resets = <0x02 0x2f5 0x02 0x2f4 0x02 0x2f6>; + reset-names = "video_a\0video_h\0video_core"; + rockchip,skip-pmu-idle-request; + iommus = <0xa9>; + rockchip,srv = <0x9f>; + rockchip,ccu = <0xaa>; + rockchip,taskqueue-node = <0x07>; + rockchip,task-capacity = <0x08>; + power-domains = <0x4d 0x10>; + status = "okay"; + }; + + iommu@fdbdf000 { + compatible = "rockchip,iommu-v2"; + reg = <0x00 0xfdbdf000 0x00 0x40 0x00 0xfdbdf040 0x00 0x40>; + interrupts = <0x00 0x63 0x04 0x00 0x64 0x04>; + interrupt-names = "irq_rkvenc0_mmu0\0irq_rkvenc0_mmu1"; + clocks = <0x02 0x1c5 0x02 0x1c4>; + clock-names = "aclk\0iface"; + rockchip,disable-mmu-reset; + rockchip,enable-cmd-retry; + rockchip,shootdown-entire; + #iommu-cells = <0x00>; + power-domains = <0x4d 0x10>; + status = "okay"; + phandle = <0xa9>; + }; + + rkvenc-core@fdbe0000 { + compatible = "rockchip,rkv-encoder-v2-core"; + reg = <0x00 0xfdbe0000 0x00 0x6000>; + interrupts = <0x00 0x68 0x04>; + interrupt-names = "irq_rkvenc1"; + clocks = <0x02 0x1ca 0x02 0x1c9 0x02 0x1cb>; + clock-names = "aclk_vcodec\0hclk_vcodec\0clk_core"; + rockchip,normal-rates = <0x23c34600 0x00 0x2faf0800>; + assigned-clocks = <0x02 0x1ca 0x02 0x1cb>; + assigned-clock-rates = <0x23c34600 0x2faf0800>; + resets = <0x02 0x305 0x02 0x304 0x02 0x306>; + reset-names = "video_a\0video_h\0video_core"; + rockchip,skip-pmu-idle-request; + iommus = <0xab>; + rockchip,srv = <0x9f>; + rockchip,ccu = <0xaa>; + rockchip,taskqueue-node = <0x07>; + rockchip,task-capacity = <0x08>; + power-domains = <0x4d 0x11>; + status = "okay"; + }; + + iommu@fdbef000 { + compatible = "rockchip,iommu-v2"; + reg = <0x00 0xfdbef000 0x00 0x40 0x00 0xfdbef040 0x00 0x40>; + interrupts = <0x00 0x66 0x04 0x00 0x67 0x04>; + interrupt-names = "irq_rkvenc1_mmu0\0irq_rkvenc1_mmu1"; + clocks = <0x02 0x1ca 0x02 0x1c9>; + lock-names = "aclk\0iface"; + rockchip,disable-mmu-reset; + rockchip,enable-cmd-retry; + rockchip,shootdown-entire; + #iommu-cells = <0x00>; + power-domains = <0x4d 0x11>; + status = "okay"; + phandle = <0xab>; + }; + + rkvdec-ccu@fdc30000 { + compatible = "rockchip,rkv-decoder-v2-ccu"; + reg = <0x00 0xfdc30000 0x00 0x100>; + reg-names = "ccu"; + clocks = <0x02 0x18e>; + clock-names = "aclk_ccu"; + assigned-clocks = <0x02 0x18e>; + assigned-clock-rates = <0x23c34600>; + resets = <0x02 0x282>; + reset-names = "video_ccu"; + rockchip,skip-pmu-idle-request; + power-domains = <0x4d 0x0e>; + status = "okay"; + phandle = <0xad>; + }; + + rkvdec-core@fdc38000 { + compatible = "rockchip,rkv-decoder-v2"; + reg = <0x00 0xfdc38100 0x00 0x400 0x00 0xfdc38000 0x00 0x100>; + reg-names = "regs\0link"; + interrupts = <0x00 0x5f 0x04>; + interrupt-names = "irq_rkvdec0"; + clocks = <0x02 0x190 0x02 0x18f 0x02 0x193 0x02 0x191 0x02 0x192>; + clock-names = "aclk_vcodec\0hclk_vcodec\0clk_core\0clk_cabac\0clk_hevc_cabac"; + rockchip,normal-rates = <0x2faf0800 0x00 0x23c34600 0x23c34600 0x3b9aca00>; + assigned-clocks = <0x02 0x190 0x02 0x193 0x02 0x191 0x02 0x192>; + assigned-clock-rates = <0x2faf0800 0x23c34600 0x23c34600 0x3b9aca00>; + resets = <0x02 0x284 0x02 0x283 0x02 0x289 0x02 0x287 0x02 0x288>; + reset-names = "video_a\0video_h\0video_core\0video_cabac\0video_hevc_cabac"; + rockchip,skip-pmu-idle-request; + iommus = <0xac>; + rockchip,srv = <0x9f>; + rockchip,ccu = <0xad>; + rockchip,core-mask = <0x10001>; + rockchip,taskqueue-node = <0x09>; + rockchip,sram = <0xae>; + rockchip,rcb-iova = <0xfff00000 0x100000>; + rockchip,rcb-min-width = <0x200>; + power-domains = <0x4d 0x0e>; + status = "okay"; + }; + + iommu@fdc38700 { + compatible = "rockchip,iommu-v2"; + reg = <0x00 0xfdc38700 0x00 0x40 0x00 0xfdc38740 0x00 0x40>; + interrupts = <0x00 0x60 0x04>; + interrupt-names = "irq_rkvdec0_mmu"; + clocks = <0x02 0x190 0x02 0x18f>; + clock-names = "aclk\0iface"; + rockchip,disable-mmu-reset; + rockchip,enable-cmd-retry; + rockchip,shootdown-entire; + rockchip,master-handle-irq; + #iommu-cells = <0x00>; + power-domains = <0x4d 0x0e>; + status = "okay"; + phandle = <0xac>; + }; + + rkvdec-core@fdc48000 { + compatible = "rockchip,rkv-decoder-v2"; + reg = <0x00 0xfdc48100 0x00 0x400 0x00 0xfdc48000 0x00 0x100>; + reg-names = "regs\0link"; + interrupts = <0x00 0x61 0x04>; + interrupt-names = "irq_rkvdec1"; + clocks = <0x02 0x195 0x02 0x194 0x02 0x198 0x02 0x196 0x02 0x197>; + clock-names = "aclk_vcodec\0hclk_vcodec\0clk_core\0clk_cabac\0clk_hevc_cabac"; + rockchip,normal-rates = <0x2faf0800 0x00 0x23c34600 0x23c34600 0x3b9aca00>; + assigned-clocks = <0x02 0x195 0x02 0x198 0x02 0x196 0x02 0x197>; + assigned-clock-rates = <0x2faf0800 0x23c34600 0x23c34600 0x3b9aca00>; + resets = <0x02 0x293 0x02 0x292 0x02 0x298 0x02 0x296 0x02 0x297>; + reset-names = "video_a\0video_h\0video_core\0video_cabac\0video_hevc_cabac"; + rockchip,skip-pmu-idle-request; + iommus = <0xaf>; + rockchip,srv = <0x9f>; + rockchip,ccu = <0xad>; + rockchip,core-mask = <0x20002>; + rockchip,taskqueue-node = <0x09>; + rockchip,sram = <0xb0>; + rockchip,rcb-iova = <0xffe00000 0x100000>; + rockchip,rcb-min-width = <0x200>; + power-domains = <0x4d 0x0f>; + status = "okay"; + }; + + iommu@fdc48700 { + compatible = "rockchip,iommu-v2"; + reg = <0x00 0xfdc48700 0x00 0x40 0x00 0xfdc48740 0x00 0x40>; + interrupts = <0x00 0x62 0x04>; + interrupt-names = "irq_rkvdec1_mmu"; + clocks = <0x02 0x195 0x02 0x194>; + clock-names = "aclk\0iface"; + rockchip,disable-mmu-reset; + rockchip,enable-cmd-retry; + rockchip,shootdown-entire; + rockchip,master-handle-irq; + #iommu-cells = <0x00>; + power-domains = <0x4d 0x0f>; + status = "okay"; + phandle = <0xaf>; + }; + + av1d@fdc70000 { + compatible = "rockchip,av1-decoder"; + reg = <0x00 0xfdc70000 0x00 0x800 0x00 0xfdc80000 0x00 0x400 0x00 0xfdc90000 0x00 0x400>; + reg-names = "vcd\0cache\0afbc"; + interrupts = <0x00 0x6c 0x04 0x00 0x6b 0x04 0x00 0x6a 0x04>; + interrupt-names = "irq_av1d\0irq_cache\0irq_afbc"; + clocks = <0x02 0x49 0x02 0x4b>; + clock-names = "aclk_vcodec\0hclk_vcodec"; + rockchip,normal-rates = <0x17d78400 0x17d78400>; + assigned-clocks = <0x02 0x49 0x02 0x4b>; + assigned-clock-rates = <0x17d78400 0x17d78400>; + resets = <0x02 0x442 0x02 0x445>; + reset-names = "video_a\0video_h"; + iommus = <0xb1>; + rockchip,srv = <0x9f>; + rockchip,taskqueue-node = <0x0b>; + power-domains = <0x4d 0x17>; + status = "okay"; + }; + + iommu@fdca0000 { + compatible = "rockchip,iommu-av1"; + reg = <0x00 0xfdca0000 0x00 0x600>; + interrupts = <0x00 0x6d 0x04>; + interrupt-names = "irq_av1d_mmu"; + clocks = <0x02 0x49 0x02 0x4b>; + clock-names = "aclk\0iface"; + #iommu-cells = <0x00>; + power-domains = <0x4d 0x17>; + status = "okay"; + phandle = <0xb1>; + }; + + rkisp-unite@fdcb0000 { + compatible = "rockchip,rk3588-rkisp-unite"; + reg = <0x00 0xfdcb0000 0x00 0x10000 0x00 0xfdcc0000 0x00 0x10000>; + interrupts = <0x00 0x87 0x04 0x00 0x89 0x04 0x00 0x8a 0x04>; + interrupt-names = "isp_irq\0mi_irq\0mipi_irq"; + clocks = <0x02 0x1de 0x02 0x1df 0x02 0x1db 0x02 0x1dc 0x02 0x1dd 0x02 0x120 0x02 0x121 0x02 0x11d 0x02 0x11e 0x02 0x11f>; + clock-names = "aclk_isp0\0hclk_isp0\0clk_isp_core0\0clk_isp_core_marvin0\0clk_isp_core_vicap0\0aclk_isp1\0hclk_isp1\0clk_isp_core1\0clk_isp_core_marvin1\0clk_isp_core_vicap1"; + power-domains = <0x4d 0x1c>; + iommus = <0xb2>; + status = "disabled"; + }; + + rkisp@fdcb0000 { + compatible = "rockchip,rk3588-rkisp"; + reg = <0x00 0xfdcb0000 0x00 0x7f00>; + interrupts = <0x00 0x83 0x04 0x00 0x85 0x04 0x00 0x86 0x04>; + interrupt-names = "isp_irq\0mi_irq\0mipi_irq"; + clocks = <0x02 0x1de 0x02 0x1df 0x02 0x1db 0x02 0x1dc 0x02 0x1dd>; + clock-names = "aclk_isp\0hclk_isp\0clk_isp_core\0clk_isp_core_marvin\0clk_isp_core_vicap"; + power-domains = <0x4d 0x1b>; + iommus = <0xb3>; + status = "disabled"; + phandle = <0x46>; + }; + + rkisp-unite-mmu@fdcb7f00 { + compatible = "rockchip,iommu-v2"; + reg = <0x00 0xfdcb7f00 0x00 0x100 0x00 0xfdcc7f00 0x00 0x100>; + interrupts = <0x00 0x84 0x04 0x00 0x88 0x04>; + interrupt-names = "isp0_mmu\0isp1_mmu"; + clocks = <0x02 0x1de 0x02 0x1df 0x02 0x120 0x02 0x121>; + clock-names = "aclk0\0iface0\0aclk1\0iface1"; + power-domains = <0x4d 0x1c>; + #iommu-cells = <0x00>; + rockchip,disable-mmu-reset; + status = "disabled"; + phandle = <0xb2>; + }; + + iommu@fdcb7f00 { + compatible = "rockchip,iommu-v2"; + reg = <0x00 0xfdcb7f00 0x00 0x100>; + interrupts = <0x00 0x84 0x04>; + interrupt-names = "isp0_mmu"; + clocks = <0x02 0x1de 0x02 0x1df>; + clock-names = "aclk\0iface"; + power-domains = <0x4d 0x1b>; + #iommu-cells = <0x00>; + rockchip,disable-mmu-reset; + status = "disabled"; + phandle = <0xb3>; + }; + + rkisp@fdcc0000 { + compatible = "rockchip,rk3588-rkisp"; + reg = <0x00 0xfdcc0000 0x00 0x7f00>; + interrupts = <0x00 0x87 0x04 0x00 0x89 0x04 0x00 0x8a 0x04>; + interrupt-names = "isp_irq\0mi_irq\0mipi_irq"; + clocks = <0x02 0x120 0x02 0x121 0x02 0x11d 0x02 0x11e 0x02 0x11f>; + clock-names = "aclk_isp\0hclk_isp\0clk_isp_core\0clk_isp_core_marvin\0clk_isp_core_vicap"; + power-domains = <0x4d 0x1c>; + iommus = <0xb4>; + status = "disabled"; + phandle = <0x47>; + }; + + iommu@fdcc7f00 { + compatible = "rockchip,iommu-v2"; + reg = <0x00 0xfdcc7f00 0x00 0x100>; + interrupts = <0x00 0x88 0x04>; + interrupt-names = "isp1_mmu"; + clocks = <0x02 0x120 0x02 0x121>; + clock-names = "aclk\0iface"; + power-domains = <0x4d 0x1c>; + #iommu-cells = <0x00>; + rockchip,disable-mmu-reset; + status = "disabled"; + phandle = <0xb4>; + }; + + rkispp@fdcd0000 { + compatible = "rockchip,rk3588-rkispp"; + reg = <0x00 0xfdcd0000 0x00 0xf00>; + interrupts = <0x00 0x8b 0x04>; + interrupt-names = "fec_irq"; + clocks = <0x02 0x1d5 0x02 0x1d6 0x02 0x1d7>; + clock-names = "aclk_ispp\0hclk_ispp\0clk_ispp"; + assigned-clocks = <0x02 0x1d6>; + assigned-clock-rates = <0x5f5e100>; + power-domains = <0x4d 0x1d>; + iommus = <0xb5>; + status = "disabled"; + phandle = <0x48>; + }; + + iommu@fdcd0f00 { + compatible = "rockchip,iommu-v2"; + reg = <0x00 0xfdcd0f00 0x00 0x100>; + interrupts = <0x00 0x8c 0x04>; + interrupt-names = "fec0_mmu"; + clocks = <0x02 0x1d5 0x02 0x1d6 0x02 0x1d7>; + clock-names = "aclk\0iface\0pclk"; + power-domains = <0x4d 0x1d>; + #iommu-cells = <0x00>; + rockchip,disable-mmu-reset; + status = "disabled"; + phandle = <0xb5>; + }; + + rkispp@fdcd8000 { + compatible = "rockchip,rk3588-rkispp"; + reg = <0x00 0xfdcd8000 0x00 0xf00>; + interrupts = <0x00 0x8d 0x04>; + interrupt-names = "fec_irq"; + clocks = <0x02 0x1d8 0x02 0x1d9 0x02 0x1da>; + clock-names = "aclk_ispp\0hclk_ispp\0clk_ispp"; + assigned-clocks = <0x02 0x1d9>; + assigned-clock-rates = <0x5f5e100>; + power-domains = <0x4d 0x1d>; + iommus = <0xb6>; + status = "disabled"; + phandle = <0x49>; + }; + + iommu@fdcd8f00 { + compatible = "rockchip,iommu-v2"; + reg = <0x00 0xfdcd8f00 0x00 0x100>; + interrupts = <0x00 0x8e 0x04>; + interrupt-names = "fec1_mmu"; + clocks = <0x02 0x1d8 0x02 0x1d9 0x02 0x1da>; + clock-names = "aclk\0iface\0pclk"; + power-domains = <0x4d 0x1d>; + #iommu-cells = <0x00>; + rockchip,disable-mmu-reset; + status = "disabled"; + phandle = <0xb6>; + }; + + rkcif@fdce0000 { + compatible = "rockchip,rk3588-cif"; + reg = <0x00 0xfdce0000 0x00 0x800>; + reg-names = "cif_regs"; + interrupts = <0x00 0x9b 0x04>; + interrupt-names = "cif-intr"; + clocks = <0x02 0x1e4 0x02 0x1e5 0x02 0x1e3>; + clock-names = "aclk_cif\0hclk_cif\0dclk_cif"; + resets = <0x02 0x317 0x02 0x318 0x02 0x316>; + reset-names = "rst_cif_a\0rst_cif_h\0rst_cif_d"; + assigned-clocks = <0x02 0x1e3>; + assigned-clock-rates = <0x23c34600>; + power-domains = <0x4d 0x1b>; + rockchip,grf = <0xb7>; + iommus = <0x40>; + status = "disabled"; + phandle = <0x3f>; + }; + + iommu@fdce0800 { + compatible = "rockchip,iommu-v2"; + reg = <0x00 0xfdce0800 0x00 0x100 0x00 0xfdce0900 0x00 0x100>; + interrupts = <0x00 0x71 0x04>; + interrupt-names = "cif_mmu"; + clocks = <0x02 0x1e4 0x02 0x1e5>; + clock-names = "aclk\0iface"; + power-domains = <0x4d 0x1b>; + rockchip,disable-mmu-reset; + #iommu-cells = <0x00>; + status = "disabled"; + phandle = <0x40>; + }; + + mipi0-csi2@fdd10000 { + compatible = "rockchip,rk3588-mipi-csi2"; + reg = <0x00 0xfdd10000 0x00 0x10000>; + reg-names = "csihost_regs"; + interrupts = <0x00 0x8f 0x04 0x00 0x90 0x04>; + interrupt-names = "csi-intr1\0csi-intr2"; + clocks = <0x02 0x1cf 0x02 0x1cd>; + clock-names = "pclk_csi2host\0iclk_csi2host"; + resets = <0x02 0x324 0x02 0x334>; + reset-names = "srst_csihost_p\0srst_csihost_vicap"; + status = "disabled"; + }; + + mipi1-csi2@fdd20000 { + compatible = "rockchip,rk3588-mipi-csi2"; + reg = <0x00 0xfdd20000 0x00 0x10000>; + reg-names = "csihost_regs"; + interrupts = <0x00 0x91 0x04 0x00 0x92 0x04>; + interrupt-names = "csi-intr1\0csi-intr2"; + clocks = <0x02 0x1d0 0x02 0x1ce>; + clock-names = "pclk_csi2host\0iclk_csi2host"; + resets = <0x02 0x325 0x02 0x335>; + reset-names = "srst_csihost_p\0srst_csihost_vicap"; + status = "disabled"; + }; + + mipi2-csi2@fdd30000 { + compatible = "rockchip,rk3588-mipi-csi2"; + reg = <0x00 0xfdd30000 0x00 0x10000>; + reg-names = "csihost_regs"; + interrupts = <0x00 0x93 0x04 0x00 0x94 0x04>; + interrupt-names = "csi-intr1\0csi-intr2"; + clocks = <0x02 0x1d1>; + clock-names = "pclk_csi2host"; + resets = <0x02 0x326 0x02 0x336>; + reset-names = "srst_csihost_p\0srst_csihost_vicap"; + status = "disabled"; + }; + + mipi3-csi2@fdd40000 { + compatible = "rockchip,rk3588-mipi-csi2"; + reg = <0x00 0xfdd40000 0x00 0x10000>; + reg-names = "csihost_regs"; + interrupts = <0x00 0x95 0x04 0x00 0x96 0x04>; + interrupt-names = "csi-intr1\0csi-intr2"; + clocks = <0x02 0x1d2>; + clock-names = "pclk_csi2host"; + resets = <0x02 0x327 0x02 0x337>; + reset-names = "srst_csihost_p\0srst_csihost_vicap"; + status = "disabled"; + }; + + vop@fdd90000 { + compatible = "rockchip,rk3588-vop"; + reg = <0x00 0xfdd90000 0x00 0x4200 0x00 0xfdd95000 0x00 0x1000>; + reg-names = "regs\0gamma_lut"; + interrupts = <0x00 0x9c 0x04>; + clocks = <0x02 0x270 0x02 0x26f 0x02 0x274 0x02 0x275 0x02 0x276 0x02 0x277 0x02 0x26e 0x02 0x271 0x02 0x272 0x02 0x273>; + clock-names = "aclk_vop\0hclk_vop\0dclk_vp0\0dclk_vp1\0dclk_vp2\0dclk_vp3\0pclk_vop\0dclk_src_vp0\0dclk_src_vp1\0dclk_src_vp2"; + assigned-clocks = <0x02 0x270>; + assigned-clock-rates = <0x2faf0800>; + resets = <0x02 0x349 0x02 0x348 0x02 0x34d 0x02 0x350 0x02 0x351 0x02 0x352>; + reset-names = "axi\0ahb\0dclk_vp0\0dclk_vp1\0dclk_vp2\0dclk_vp3"; + iommus = <0xb8>; + power-domains = <0x4d 0x18>; + rockchip,grf = <0xb7>; + rockchip,vop-grf = <0xb9>; + rockchip,vo1-grf = <0xba>; + rockchip,pmu = <0xbb>; + status = "okay"; + + ports { + #address-cells = <0x01>; + #size-cells = <0x00>; + phandle = <0x2d>; + + port@0 { + #address-cells = <0x01>; + #size-cells = <0x00>; + reg = <0x00>; + rockchip,plane-mask = <0x05>; + rockchip,primary-plane = <0x02>; + assigned-clocks = <0x02 0x270>; + assigned-clock-rates = <0x2faf0800>; + + endpoint@0 { + reg = <0x00>; + remote-endpoint = <0xbc>; + phandle = <0xd9>; + }; + + endpoint@1 { + reg = <0x01>; + remote-endpoint = <0xbd>; + phandle = <0xe4>; + }; + + endpoint@2 { + reg = <0x02>; + remote-endpoint = <0xbe>; + phandle = <0x35>; + }; + + endpoint@3 { + reg = <0x03>; + remote-endpoint = <0xbf>; + phandle = <0x18a>; + }; + + endpoint@4 { + reg = <0x04>; + remote-endpoint = <0xc0>; + phandle = <0x194>; + }; + + endpoint@5 { + reg = <0x05>; + remote-endpoint = <0xc1>; + phandle = <0x191>; + }; + }; + + port@1 { + #address-cells = <0x01>; + #size-cells = <0x00>; + reg = <0x01>; + rockchip,plane-mask = <0x0a>; + rockchip,primary-plane = <0x03>; + + endpoint@0 { + reg = <0x00>; + remote-endpoint = <0xc2>; + phandle = <0x31>; + }; + + endpoint@1 { + reg = <0x01>; + remote-endpoint = <0xc3>; + phandle = <0xe5>; + }; + + endpoint@2 { + reg = <0x02>; + remote-endpoint = <0xc4>; + phandle = <0xe1>; + }; + + endpoint@3 { + reg = <0x03>; + remote-endpoint = <0xc5>; + phandle = <0x18b>; + }; + + endpoint@4 { + reg = <0x04>; + remote-endpoint = <0xc6>; + phandle = <0x195>; + }; + + endpoint@5 { + reg = <0x05>; + remote-endpoint = <0xc7>; + phandle = <0x38>; + }; + }; + + port@2 { + #address-cells = <0x01>; + #size-cells = <0x00>; + reg = <0x02>; + assigned-clocks = <0x02 0x273>; + assigned-clock-parents = <0x02 0x04>; + rockchip,plane-mask = <0x140>; + rockchip,primary-plane = <0x08>; + + endpoint@0 { + reg = <0x00>; + remote-endpoint = <0xc8>; + phandle = <0xda>; + }; + + endpoint@1 { + reg = <0x01>; + remote-endpoint = <0xc9>; + phandle = <0x34>; + }; + + endpoint@2 { + reg = <0x02>; + remote-endpoint = <0xca>; + phandle = <0xe2>; + }; + + endpoint@3 { + reg = <0x03>; + remote-endpoint = <0xcb>; + phandle = <0xd5>; + }; + + endpoint@4 { + reg = <0x04>; + remote-endpoint = <0xcc>; + phandle = <0xd6>; + }; + + endpoint@5 { + reg = <0x05>; + remote-endpoint = <0xcd>; + phandle = <0x37>; + }; + + endpoint@6 { + reg = <0x06>; + remote-endpoint = <0xce>; + phandle = <0x196>; + }; + + endpoint@7 { + reg = <0x07>; + remote-endpoint = <0xcf>; + phandle = <0x192>; + }; + }; + + port@3 { + #address-cells = <0x01>; + #size-cells = <0x00>; + reg = <0x03>; + rockchip,plane-mask = <0x280>; + rockchip,primary-plane = <0x09>; + + endpoint@0 { + reg = <0x00>; + remote-endpoint = <0xd0>; + phandle = <0x32>; + }; + + endpoint@1 { + reg = <0x01>; + remote-endpoint = <0xd1>; + phandle = <0x33>; + }; + + endpoint@2 { + reg = <0x02>; + remote-endpoint = <0xd2>; + phandle = <0x36>; + }; + }; + }; + }; + + iommu@fdd97e00 { + compatible = "rockchip,iommu-v2"; + reg = <0x00 0xfdd97e00 0x00 0x100 0x00 0xfdd97f00 0x00 0x100>; + interrupts = <0x00 0x9c 0x04>; + interrupt-names = "vop_mmu"; + clocks = <0x02 0x270 0x02 0x26f>; + clock-names = "aclk\0iface"; + #iommu-cells = <0x00>; + rockchip,disable-device-link-resume; + rockchip,shootdown-entire; + status = "okay"; + phandle = <0xb8>; + }; + + spdif-tx@fddb0000 { + compatible = "rockchip,rk3588-spdif\0rockchip,rk3568-spdif"; + reg = <0x00 0xfddb0000 0x00 0x1000>; + interrupts = <0x00 0xc3 0x04>; + dmas = <0xd3 0x06>; + dma-names = "tx"; + clock-names = "mclk\0hclk"; + clocks = <0x02 0x209 0x02 0x204>; + assigned-clocks = <0x02 0x205>; + assigned-clock-parents = <0x02 0x05>; + power-domains = <0x4d 0x19>; + #sound-dai-cells = <0x00>; + status = "disabled"; + phandle = <0x1af>; + }; + + i2s@fddc0000 { + compatible = "rockchip,rk3588-i2s-tdm"; + reg = <0x00 0xfddc0000 0x00 0x1000>; + interrupts = <0x00 0xb8 0x04>; + clocks = <0x02 0x1fb 0x02 0x1fb 0x02 0x1f0>; + clock-names = "mclk_tx\0mclk_rx\0hclk"; + assigned-clocks = <0x02 0x1f9>; + assigned-clock-parents = <0x02 0x05>; + dmas = <0xd4 0x00>; + dma-names = "tx"; + power-domains = <0x4d 0x19>; + resets = <0x02 0x38d>; + reset-names = "tx-m"; + rockchip,playback-only; + #sound-dai-cells = <0x00>; + status = "disabled"; + }; + + spdif-tx@fdde0000 { + compatible = "rockchip,rk3588-spdif\0rockchip,rk3568-spdif"; + reg = <0x00 0xfdde0000 0x00 0x1000>; + interrupts = <0x00 0xc4 0x04>; + dmas = <0xd3 0x07>; + dma-names = "tx"; + clock-names = "mclk\0hclk"; + clocks = <0x02 0x257 0x02 0x253>; + assigned-clocks = <0x02 0x254>; + assigned-clock-parents = <0x02 0x05>; + power-domains = <0x4d 0x1a>; + #sound-dai-cells = <0x00>; + status = "disabled"; + }; + + i2s@fddf0000 { + compatible = "rockchip,rk3588-i2s-tdm"; + reg = <0x00 0xfddf0000 0x00 0x1000>; + interrupts = <0x00 0xb9 0x04>; + clocks = <0x02 0x246 0x02 0x246 0x02 0x248>; + clock-names = "mclk_tx\0mclk_rx\0hclk"; + assigned-clocks = <0x02 0x243>; + assigned-clock-parents = <0x02 0x07>; + dmas = <0xd4 0x02>; + dma-names = "tx"; + power-domains = <0x4d 0x1a>; + resets = <0x02 0x3e8>; + reset-names = "tx-m"; + rockchip,always-on; + rockchip,hdmi-path; + rockchip,playback-only; + #sound-dai-cells = <0x00>; + status = "okay"; + phandle = <0x1ad>; + }; + + i2s@fddfc000 { + compatible = "rockchip,rk3588-i2s-tdm"; + reg = <0x00 0xfddfc000 0x00 0x1000>; + interrupts = <0x00 0xbd 0x04>; + clocks = <0x02 0x242 0x02 0x242 0x02 0x23e>; + clock-names = "mclk_tx\0mclk_rx\0hclk"; + assigned-clocks = <0x02 0x23f>; + assigned-clock-parents = <0x02 0x05>; + dmas = <0xd4 0x17>; + dma-names = "rx"; + power-domains = <0x4d 0x1a>; + resets = <0x02 0x413>; + reset-names = "rx-m"; + rockchip,capture-only; + #sound-dai-cells = <0x00>; + status = "disabled"; + }; + + spdif-rx@fde08000 { + compatible = "rockchip,rk3588-spdifrx\0rockchip,rk3308-spdifrx"; + reg = <0x00 0xfde08000 0x00 0x1000>; + interrupts = <0x00 0xc7 0x04>; + clocks = <0x02 0x25e 0x02 0x25d>; + clock-names = "mclk\0hclk"; + assigned-clocks = <0x02 0x25e>; + assigned-clock-parents = <0x02 0x05>; + dmas = <0x64 0x15>; + dma-names = "rx"; + power-domains = <0x4d 0x1a>; + resets = <0x02 0x3fd>; + reset-names = "spdifrx-m"; + #sound-dai-cells = <0x00>; + status = "disabled"; + }; + + dsi@fde20000 { + compatible = "rockchip,rk3588-mipi-dsi2"; + reg = <0x00 0xfde20000 0x00 0x10000>; + interrupts = <0x00 0xa7 0x04>; + clocks = <0x02 0x278 0x02 0x27a>; + clock-names = "pclk\0sys_clk"; + resets = <0x02 0x354>; + reset-names = "apb"; + power-domains = <0x4d 0x18>; + phys = <0x2a>; + phy-names = "dcphy"; + rockchip,grf = <0xb9>; + #address-cells = <0x01>; + #size-cells = <0x00>; + status = "disabled"; + + ports { + #address-cells = <0x01>; + #size-cells = <0x00>; + + port@0 { + reg = <0x00>; + #address-cells = <0x01>; + #size-cells = <0x00>; + + endpoint@0 { + reg = <0x00>; + remote-endpoint = <0xd5>; + status = "disabled"; + phandle = <0xcb>; + }; + + endpoint@1 { + reg = <0x01>; + remote-endpoint = <0x32>; + status = "disabled"; + phandle = <0xd0>; + }; + }; + }; + }; + + dsi@fde30000 { + compatible = "rockchip,rk3588-mipi-dsi2"; + reg = <0x00 0xfde30000 0x00 0x10000>; + interrupts = <0x00 0xa8 0x04>; + clocks = <0x02 0x279 0x02 0x27b>; + clock-names = "pclk\0sys_clk"; + resets = <0x02 0x355>; + reset-names = "apb"; + power-domains = <0x4d 0x18>; + phys = <0x2b>; + phy-names = "dcphy"; + rockchip,grf = <0xb9>; + #address-cells = <0x01>; + #size-cells = <0x00>; + status = "disabled"; + + ports { + #address-cells = <0x01>; + #size-cells = <0x00>; + + port@0 { + reg = <0x00>; + #address-cells = <0x01>; + #size-cells = <0x00>; + + endpoint@0 { + reg = <0x00>; + remote-endpoint = <0xd6>; + status = "disabled"; + phandle = <0xcc>; + }; + + endpoint@1 { + reg = <0x01>; + remote-endpoint = <0x33>; + status = "disabled"; + phandle = <0xd1>; + }; + }; + }; + }; + + hdcp@fde40000 { + compatible = "rockchip,rk3588-hdcp"; + reg = <0x00 0xfde40000 0x00 0x80>; + interrupts = <0x00 0x9f 0x04>; + clocks = <0x02 0x1ed 0x02 0x1ef 0x02 0x1ee 0x02 0x1ec 0x02 0x1f1 0x02 0x1f2>; + clock-names = "aclk\0pclk\0hclk\0hclk_key\0aclk_trng\0pclk_trng"; + resets = <0x02 0x37f 0x02 0x37d 0x02 0x37c 0x02 0x37b 0x02 0x381>; + reset-names = "hdcp\0h_hdcp\0a_hdcp\0hdcp_key\0trng"; + power-domains = <0x4d 0x19>; + rockchip,vo-grf = <0xd7>; + status = "disabled"; + }; + + dp@fde50000 { + compatible = "rockchip,rk3588-dp"; + reg = <0x00 0xfde50000 0x00 0x4000>; + interrupts = <0x00 0xa1 0x04>; + clocks = <0x02 0x1e6 0x02 0x2cc 0x02 0x1fb 0x02 0x207 0x04>; + clock-names = "apb\0aux\0i2s\0spdif\0hclk"; + assigned-clocks = <0x02 0x2cc>; + assigned-clock-rates = <0xf42400>; + resets = <0x02 0x388>; + phys = <0xd8>; + power-domains = <0x4d 0x19>; + #sound-dai-cells = <0x01>; + status = "disabled"; + phandle = <0x1b0>; + + ports { + #address-cells = <0x01>; + #size-cells = <0x00>; + + port@0 { + reg = <0x00>; + #address-cells = <0x01>; + #size-cells = <0x00>; + + endpoint@0 { + reg = <0x00>; + remote-endpoint = <0xd9>; + status = "disabled"; + phandle = <0xbc>; + }; + + endpoint@1 { + reg = <0x01>; + remote-endpoint = <0x31>; + status = "disabled"; + phandle = <0xc2>; + }; + + endpoint@2 { + reg = <0x02>; + remote-endpoint = <0xda>; + status = "disabled"; + phandle = <0xc8>; + }; + }; + }; + }; + + hdcp@fde70000 { + compatible = "rockchip,rk3588-hdcp"; + reg = <0x00 0xfde70000 0x00 0x80>; + interrupts = <0x00 0xa0 0x04>; + clocks = <0x02 0x217 0x02 0x219 0x02 0x218 0x02 0x216 0x02 0x228 0x02 0x229>; + clock-names = "aclk\0pclk\0hclk\0hclk_key\0aclk_trng\0pclk_trng"; + resets = <0x02 0x3c8 0x02 0x3c6 0x02 0x3c5 0x02 0x3c4 0x02 0x3ca>; + reset-names = "hdcp\0h_hdcp\0a_hdcp\0hdcp_key\0trng"; + power-domains = <0x4d 0x1a>; + rockchip,vo-grf = <0xba>; + status = "disabled"; + }; + + hdmi@fde80000 { + compatible = "rockchip,rk3588-dw-hdmi"; + reg = <0x00 0xfde80000 0x00 0x20000>; + interrupts = <0x00 0xa9 0x04 0x00 0xaa 0x04 0x00 0xab 0x04 0x00 0xac 0x04 0x00 0x168 0x04>; + clocks = <0x02 0x221 0x02 0x265 0x02 0x222 0x02 0x223 0x02 0x246 0x02 0x274 0x02 0x275 0x02 0x276 0x02 0x277 0x05 0x2e>; + clock-names = "pclk\0hpd\0earc\0hdmitx_ref\0aud\0dclk_vp0\0dclk_vp1\0dclk_vp2\0dclk_vp3\0hclk_vo1\0link_clk"; + resets = <0x02 0x3d0 0x02 0x49c>; + reset-names = "ref\0hdp"; + power-domains = <0x4d 0x1a>; + pinctrl-names = "default"; + pinctrl-0 = <0xdb 0xdc 0xdd 0xde>; + reg-io-width = <0x04>; + rockchip,grf = <0xb7>; + rockchip,vo1_grf = <0xba>; + phys = <0xdf>; + phy-names = "hdmi"; + #sound-dai-cells = <0x00>; + status = "okay"; + enable-gpios = <0xe0 0x00 0x00>; + phandle = <0x1ae>; + + ports { + #address-cells = <0x01>; + #size-cells = <0x00>; + + port@0 { + reg = <0x00>; + #address-cells = <0x01>; + #size-cells = <0x00>; + + endpoint@0 { + reg = <0x00>; + remote-endpoint = <0x35>; + status = "okay"; + phandle = <0xbe>; + }; + + endpoint@1 { + reg = <0x01>; + remote-endpoint = <0xe1>; + status = "disabled"; + phandle = <0xc4>; + }; + + endpoint@2 { + reg = <0x02>; + remote-endpoint = <0xe2>; + status = "disabled"; + phandle = <0xca>; + }; + }; + }; + }; + + edp@fdec0000 { + compatible = "rockchip,rk3588-edp"; + reg = <0x00 0xfdec0000 0x00 0x1000>; + interrupts = <0x00 0xa3 0x04>; + clocks = <0x02 0x211 0x02 0x210 0x02 0x212 0x05>; + clock-names = "dp\0pclk\0spdif\0hclk"; + resets = <0x02 0x3e1 0x02 0x3e0>; + reset-names = "dp\0apb"; + phys = <0xe3>; + phy-names = "dp"; + power-domains = <0x4d 0x1a>; + rockchip,grf = <0xba>; + status = "disabled"; + + ports { + #address-cells = <0x01>; + #size-cells = <0x00>; + + port@0 { + reg = <0x00>; + #address-cells = <0x01>; + #size-cells = <0x00>; + + endpoint@0 { + reg = <0x00>; + remote-endpoint = <0xe4>; + status = "disabled"; + phandle = <0xbd>; + }; + + endpoint@1 { + reg = <0x01>; + remote-endpoint = <0xe5>; + status = "disabled"; + phandle = <0xc3>; + }; + + endpoint@2 { + reg = <0x02>; + remote-endpoint = <0x34>; + status = "disabled"; + phandle = <0xc9>; + }; + }; + }; + }; + + qos@fdf35000 { + compatible = "syscon"; + reg = <0x00 0xfdf35000 0x00 0x20>; + phandle = <0x6f>; + }; + + qos@fdf35200 { + compatible = "syscon"; + reg = <0x00 0xfdf35200 0x00 0x20>; + phandle = <0x70>; + }; + + qos@fdf35400 { + compatible = "syscon"; + reg = <0x00 0xfdf35400 0x00 0x20>; + phandle = <0x71>; + }; + + qos@fdf35600 { + compatible = "syscon"; + reg = <0x00 0xfdf35600 0x00 0x20>; + phandle = <0x72>; + }; + + qos@fdf36000 { + compatible = "syscon"; + reg = <0x00 0xfdf36000 0x00 0x20>; + phandle = <0x92>; + }; + + qos@fdf39000 { + compatible = "syscon"; + reg = <0x00 0xfdf39000 0x00 0x20>; + phandle = <0x97>; + }; + + qos@fdf3d800 { + compatible = "syscon"; + reg = <0x00 0xfdf3d800 0x00 0x20>; + phandle = <0x98>; + }; + + qos@fdf3e000 { + compatible = "syscon"; + reg = <0x00 0xfdf3e000 0x00 0x20>; + phandle = <0x94>; + }; + + qos@fdf3e200 { + compatible = "syscon"; + reg = <0x00 0xfdf3e200 0x00 0x20>; + phandle = <0x93>; + }; + + qos@fdf3e400 { + compatible = "syscon"; + reg = <0x00 0xfdf3e400 0x00 0x20>; + phandle = <0x95>; + }; + + qos@fdf3e600 { + compatible = "syscon"; + reg = <0x00 0xfdf3e600 0x00 0x20>; + phandle = <0x96>; + }; + + qos@fdf40000 { + compatible = "syscon"; + reg = <0x00 0xfdf40000 0x00 0x20>; + phandle = <0x90>; + }; + + qos@fdf40200 { + compatible = "syscon"; + reg = <0x00 0xfdf40200 0x00 0x20>; + phandle = <0x91>; + }; + + qos@fdf40400 { + compatible = "syscon"; + reg = <0x00 0xfdf40400 0x00 0x20>; + phandle = <0x8a>; + }; + + qos@fdf40500 { + compatible = "syscon"; + reg = <0x00 0xfdf40500 0x00 0x20>; + phandle = <0x8b>; + }; + + qos@fdf40600 { + compatible = "syscon"; + reg = <0x00 0xfdf40600 0x00 0x20>; + phandle = <0x8c>; + }; + + qos@fdf40800 { + compatible = "syscon"; + reg = <0x00 0xfdf40800 0x00 0x20>; + phandle = <0x8d>; + }; + + qos@fdf41000 { + compatible = "syscon"; + reg = <0x00 0xfdf41000 0x00 0x20>; + phandle = <0x8e>; + }; + + qos@fdf41100 { + compatible = "syscon"; + reg = <0x00 0xfdf41100 0x00 0x20>; + phandle = <0x8f>; + }; + + qos@fdf60000 { + compatible = "syscon"; + reg = <0x00 0xfdf60000 0x00 0x20>; + phandle = <0x75>; + }; + + qos@fdf60200 { + compatible = "syscon"; + reg = <0x00 0xfdf60200 0x00 0x20>; + phandle = <0x76>; + }; + + qos@fdf60400 { + compatible = "syscon"; + reg = <0x00 0xfdf60400 0x00 0x20>; + phandle = <0x77>; + }; + + qos@fdf61000 { + compatible = "syscon"; + reg = <0x00 0xfdf61000 0x00 0x20>; + phandle = <0x78>; + }; + + qos@fdf61200 { + compatible = "syscon"; + reg = <0x00 0xfdf61200 0x00 0x20>; + phandle = <0x79>; + }; + + qos@fdf61400 { + compatible = "syscon"; + reg = <0x00 0xfdf61400 0x00 0x20>; + phandle = <0x7a>; + }; + + qos@fdf62000 { + compatible = "syscon"; + reg = <0x00 0xfdf62000 0x00 0x20>; + phandle = <0x73>; + }; + + qos@fdf63000 { + compatible = "syscon"; + reg = <0x00 0xfdf63000 0x00 0x20>; + phandle = <0x74>; + }; + + qos@fdf64000 { + compatible = "syscon"; + reg = <0x00 0xfdf64000 0x00 0x20>; + phandle = <0x83>; + }; + + qos@fdf66000 { + compatible = "syscon"; + reg = <0x00 0xfdf66000 0x00 0x20>; + phandle = <0x7b>; + }; + + qos@fdf66200 { + compatible = "syscon"; + reg = <0x00 0xfdf66200 0x00 0x20>; + phandle = <0x7c>; + }; + + qos@fdf66400 { + compatible = "syscon"; + reg = <0x00 0xfdf66400 0x00 0x20>; + phandle = <0x7d>; + }; + + qos@fdf66600 { + compatible = "syscon"; + reg = <0x00 0xfdf66600 0x00 0x20>; + phandle = <0x7e>; + }; + + qos@fdf66800 { + compatible = "syscon"; + reg = <0x00 0xfdf66800 0x00 0x20>; + phandle = <0x7f>; + }; + + qos@fdf66a00 { + compatible = "syscon"; + reg = <0x00 0xfdf66a00 0x00 0x20>; + phandle = <0x80>; + }; + + qos@fdf66c00 { + compatible = "syscon"; + reg = <0x00 0xfdf66c00 0x00 0x20>; + phandle = <0x81>; + }; + + qos@fdf66e00 { + compatible = "syscon"; + reg = <0x00 0xfdf66e00 0x00 0x20>; + phandle = <0x82>; + }; + + qos@fdf67000 { + compatible = "syscon"; + reg = <0x00 0xfdf67000 0x00 0x20>; + phandle = <0x84>; + }; + + qos@fdf67200 { + compatible = "syscon"; + reg = <0x00 0xfdf67200 0x00 0x20>; + }; + + qos@fdf70000 { + compatible = "syscon"; + reg = <0x00 0xfdf70000 0x00 0x20>; + phandle = <0x6d>; + }; + + qos@fdf71000 { + compatible = "syscon"; + reg = <0x00 0xfdf71000 0x00 0x20>; + phandle = <0x6e>; + }; + + qos@fdf72000 { + compatible = "syscon"; + reg = <0x00 0xfdf72000 0x00 0x20>; + phandle = <0x6a>; + }; + + qos@fdf72200 { + compatible = "syscon"; + reg = <0x00 0xfdf72200 0x00 0x20>; + phandle = <0x6b>; + }; + + qos@fdf72400 { + compatible = "syscon"; + reg = <0x00 0xfdf72400 0x00 0x20>; + phandle = <0x6c>; + }; + + qos@fdf80000 { + compatible = "syscon"; + reg = <0x00 0xfdf80000 0x00 0x20>; + phandle = <0x87>; + }; + + qos@fdf81000 { + compatible = "syscon"; + reg = <0x00 0xfdf81000 0x00 0x20>; + phandle = <0x88>; + }; + + qos@fdf81200 { + compatible = "syscon"; + reg = <0x00 0xfdf81200 0x00 0x20>; + phandle = <0x89>; + }; + + qos@fdf82000 { + compatible = "syscon"; + reg = <0x00 0xfdf82000 0x00 0x20>; + phandle = <0x85>; + }; + + qos@fdf82200 { + compatible = "syscon"; + reg = <0x00 0xfdf82200 0x00 0x20>; + phandle = <0x86>; + }; + + dfi@fe060000 { + compatible = "rockchip,rk3588-dfi"; + reg = <0x00 0xfe060000 0x00 0x10000>; + rockchip,pmu_grf = <0xe6>; + status = "okay"; + phandle = <0x39>; + }; + + pcie@fe180000 { + compatible = "rockchip,rk3588-pcie\0snps,dw-pcie"; + #address-cells = <0x03>; + #size-cells = <0x02>; + bus-range = <0x30 0x3f>; + clocks = <0x02 0x151 0x02 0x156 0x02 0x14c 0x02 0x15c 0x02 0x161 0x02 0x2c5>; + clock-names = "aclk_mst\0aclk_slv\0aclk_dbi\0pclk\0aux\0pipe"; + device_type = "pci"; + interrupts = <0x00 0xf8 0x04 0x00 0xf7 0x04 0x00 0xf6 0x04 0x00 0xf5 0x04 0x00 0xf4 0x04>; + interrupt-names = "sys\0pmc\0msg\0legacy\0err"; + #interrupt-cells = <0x01>; + interrupt-map-mask = <0x00 0x00 0x00 0x07>; + interrupt-map = <0x00 0x00 0x00 0x01 0xe7 0x00 0x00 0x00 0x00 0x02 0xe7 0x01 0x00 0x00 0x00 0x03 0xe7 0x02 0x00 0x00 0x00 0x04 0xe7 0x03>; + linux,pci-domain = <0x03>; + num-ib-windows = <0x08>; + num-ob-windows = <0x08>; + num-viewport = <0x04>; + max-link-speed = <0x02>; + msi-map = <0x3000 0xe8 0x3000 0x1000>; + num-lanes = <0x01>; + phys = <0x5b 0x02>; + phy-names = "pcie-phy"; + ranges = <0x800 0x00 0xf3000000 0x00 0xf3000000 0x00 0x100000 0x81000000 0x00 0xf3100000 0x00 0xf3100000 0x00 0x100000 0x82000000 0x00 0xf3200000 0x00 0xf3200000 0x00 0xe00000 0xc3000000 0x09 0xc0000000 0x09 0xc0000000 0x00 0x40000000>; + reg = <0x00 0xfe180000 0x00 0x10000 0x0a 0x40c00000 0x00 0x400000>; + reg-names = "pcie-apb\0pcie-dbi"; + resets = <0x02 0x210 0x02 0x21f>; + reset-names = "pcie\0periph"; + rockchip,pipe-grf = <0x61>; + status = "disabled"; + + legacy-interrupt-controller { + interrupt-controller; + #address-cells = <0x00>; + #interrupt-cells = <0x01>; + interrupt-parent = <0x01>; + interrupts = <0x00 0xf5 0x01>; + phandle = <0xe7>; + }; + }; + + pcie@fe190000 { + compatible = "rockchip,rk3588-pcie\0snps,dw-pcie"; + #address-cells = <0x03>; + #size-cells = <0x02>; + bus-range = <0x40 0x4f>; + clocks = <0x02 0x152 0x02 0x157 0x02 0x14d 0x02 0x15d 0x02 0x162 0x02 0x182>; + clock-names = "aclk_mst\0aclk_slv\0aclk_dbi\0pclk\0aux\0pipe"; + device_type = "pci"; + interrupts = <0x00 0xfd 0x04 0x00 0xfc 0x04 0x00 0xfb 0x04 0x00 0xfa 0x04 0x00 0xf9 0x04>; + interrupt-names = "sys\0pmc\0msg\0legacy\0err"; + #interrupt-cells = <0x01>; + interrupt-map-mask = <0x00 0x00 0x00 0x07>; + interrupt-map = <0x00 0x00 0x00 0x01 0xe9 0x00 0x00 0x00 0x00 0x02 0xe9 0x01 0x00 0x00 0x00 0x03 0xe9 0x02 0x00 0x00 0x00 0x04 0xe9 0x03>; + linux,pci-domain = <0x04>; + num-ib-windows = <0x08>; + num-ob-windows = <0x08>; + num-viewport = <0x04>; + max-link-speed = <0x02>; + msi-map = <0x4000 0xe8 0x4000 0x1000>; + num-lanes = <0x01>; + phys = <0xea 0x02>; + phy-names = "pcie-phy"; + ranges = <0x800 0x00 0xf4000000 0x00 0xf4000000 0x00 0x100000 0x81000000 0x00 0xf4100000 0x00 0xf4100000 0x00 0x100000 0x82000000 0x00 0xf4200000 0x00 0xf4200000 0x00 0xe00000 0xc3000000 0x0a 0x00 0x0a 0x00 0x00 0x40000000>; + reg = <0x00 0xfe190000 0x00 0x10000 0x0a 0x41000000 0x00 0x400000>; + reg-names = "pcie-apb\0pcie-dbi"; + resets = <0x02 0x211 0x02 0x220>; + reset-names = "pcie\0periph"; + rockchip,pipe-grf = <0x61>; + status = "disabled"; + + legacy-interrupt-controller { + interrupt-controller; + #address-cells = <0x00>; + #interrupt-cells = <0x01>; + interrupt-parent = <0x01>; + interrupts = <0x00 0xfa 0x01>; + phandle = <0xe9>; + }; + }; + + ethernet@fe1b0000 { + compatible = "rockchip,rk3588-gmac\0snps,dwmac-4.20a"; + reg = <0x00 0xfe1b0000 0x00 0x10000>; + interrupts = <0x00 0xe3 0x04 0x00 0xe2 0x04>; + interrupt-names = "macirq\0eth_wake_irq"; + rockchip,grf = <0xb7>; + rockchip,php_grf = <0x61>; + local-mac-address = [d2 5e 8a 13 5d df]; + clocks = <0x02 0x144 0x02 0x145 0x02 0x167 0x02 0x16c 0x02 0x142>; + clock-names = "stmmaceth\0clk_mac_ref\0pclk_mac\0aclk_mac\0ptp_ref"; + resets = <0x02 0x20a>; + reset-names = "stmmaceth"; + power-domains = <0x4d 0x21>; + snps,mixed-burst; + snps,tso; + snps,axi-config = <0xeb>; + snps,mtl-rx-config = <0xec>; + snps,mtl-tx-config = <0xed>; + snps,txpbl = <0x04>; + status = "okay"; + phy-mode = "rgmii-rxid"; + clock_in_out = "output"; + snps,reset-gpio = <0xee 0x17 0x01>; + snps,reset-active-low; + snps,reset-delays-us = <0x00 0x4e20 0x186a0>; + pinctrl-names = "default"; + pinctrl-0 = <0xef 0xf0 0xf1 0xf2 0xf3>; + tx_delay = <0x45>; + phy-handle = <0xf4>; + + mdio { + compatible = "snps,dwmac-mdio"; + #address-cells = <0x01>; + #size-cells = <0x00>; + + phy@1 { + compatible = "ethernet-phy-ieee802.3-c22"; + reg = <0x01>; + phandle = <0xf4>; + }; + }; + + stmmac-axi-config { + snps,wr_osr_lmt = <0x04>; + snps,rd_osr_lmt = <0x08>; + snps,blen = <0x00 0x00 0x00 0x00 0x10 0x08 0x04>; + phandle = <0xeb>; + }; + + rx-queues-config { + snps,rx-queues-to-use = <0x02>; + phandle = <0xec>; + + queue0 { + }; + + queue1 { + }; + }; + + tx-queues-config { + snps,tx-queues-to-use = <0x02>; + phandle = <0xed>; + + queue0 { + }; + + queue1 { + }; + }; + }; + + ethernet@fe1c0000 { + compatible = "rockchip,rk3588-gmac\0snps,dwmac-4.20a"; + reg = <0x00 0xfe1c0000 0x00 0x10000>; + interrupts = <0x00 0xea 0x04 0x00 0xe9 0x04>; + interrupt-names = "macirq\0eth_wake_irq"; + rockchip,grf = <0xb7>; + rockchip,php_grf = <0x61>; + local-mac-address = [d6 5e 8a 13 5d df]; + clocks = <0x02 0x144 0x02 0x145 0x02 0x168 0x02 0x16d 0x02 0x143>; + clock-names = "stmmaceth\0clk_mac_ref\0pclk_mac\0aclk_mac\0ptp_ref"; + resets = <0x02 0x20b>; + reset-names = "stmmaceth"; + power-domains = <0x4d 0x21>; + snps,mixed-burst; + snps,tso; + snps,axi-config = <0xf5>; + snps,mtl-rx-config = <0xf6>; + snps,mtl-tx-config = <0xf7>; + snps,txpbl = <0x04>; + status = "okay"; + phy-mode = "rgmii-rxid"; + clock_in_out = "output"; + snps,reset-gpio = <0xee 0x0f 0x01>; + snps,reset-active-low; + snps,reset-delays-us = <0x00 0x4e20 0x186a0>; + pinctrl-names = "default"; + pinctrl-0 = <0xf8 0xf9 0xfa 0xfb 0xfc>; + tx_delay = <0x42>; + phy-handle = <0xfd>; + + mdio { + compatible = "snps,dwmac-mdio"; + #address-cells = <0x01>; + #size-cells = <0x00>; + + phy@1 { + compatible = "ethernet-phy-ieee802.3-c22"; + reg = <0x01>; + phandle = <0xfd>; + }; + }; + + stmmac-axi-config { + snps,wr_osr_lmt = <0x04>; + snps,rd_osr_lmt = <0x08>; + snps,blen = <0x00 0x00 0x00 0x00 0x10 0x08 0x04>; + phandle = <0xf5>; + }; + + rx-queues-config { + snps,rx-queues-to-use = <0x02>; + phandle = <0xf6>; + + queue0 { + }; + + queue1 { + }; + }; + + tx-queues-config { + snps,tx-queues-to-use = <0x02>; + phandle = <0xf7>; + + queue0 { + }; + + queue1 { + }; + }; + }; + + sata@fe210000 { + compatible = "rockchip,rk-ahci\0snps,dwc-ahci"; + reg = <0x00 0xfe210000 0x00 0x1000>; + clocks = <0x02 0x171 0x02 0x16e 0x02 0x174 0x02 0x163 0x02 0x17e>; + clock-names = "sata\0pmalive\0rxoob\0ref\0asic"; + interrupts = <0x00 0x111 0x04>; + interrupt-names = "hostc"; + phys = <0xea 0x01>; + phy-names = "sata-phy"; + ports-implemented = <0x01>; + status = "disabled"; + }; + + sata@fe230000 { + compatible = "rockchip,rk-ahci\0snps,dwc-ahci"; + reg = <0x00 0xfe230000 0x00 0x1000>; + clocks = <0x02 0x173 0x02 0x170 0x02 0x176 0x02 0x165 0x02 0x180>; + clock-names = "sata\0pmalive\0rxoob\0ref\0asic"; + interrupts = <0x00 0x113 0x04>; + interrupt-names = "hostc"; + phys = <0x5b 0x01>; + phy-names = "sata-phy"; + ports-implemented = <0x01>; + status = "disabled"; + }; + + spi@fe2b0000 { + compatible = "rockchip,sfc"; + reg = <0x00 0xfe2b0000 0x00 0x4000>; + interrupts = <0x00 0xce 0x04>; + clocks = <0x02 0x13d 0x02 0x13e>; + clock-names = "clk_sfc\0hclk_sfc"; + assigned-clocks = <0x02 0x13d>; + assigned-clock-rates = <0x5f5e100>; + #address-cells = <0x01>; + #size-cells = <0x00>; + status = "disabled"; + }; + + mmc@fe2c0000 { + compatible = "rockchip,rk3588-dw-mshc\0rockchip,rk3288-dw-mshc"; + reg = <0x00 0xfe2c0000 0x00 0x4000>; + interrupts = <0x00 0xcb 0x04>; + clocks = <0x0e 0x17 0x0e 0x09 0x02 0x2c2 0x02 0x2c3>; + clock-names = "biu\0ciu\0ciu-drive\0ciu-sample"; + fifo-depth = <0x100>; + max-frequency = <0x8f0d180>; + pinctrl-names = "default"; + pinctrl-0 = <0xfe 0xff 0x100 0x101>; + power-domains = <0x4d 0x28>; + status = "okay"; + no-sdio; + no-mmc; + bus-width = <0x04>; + cap-mmc-highspeed; + cap-sd-highspeed; + disable-wp; + sd-uhs-sdr104; + vqmmc-supply = <0x102>; + }; + + mmc@fe2d0000 { + compatible = "rockchip,rk3588-dw-mshc\0rockchip,rk3288-dw-mshc"; + reg = <0x00 0xfe2d0000 0x00 0x4000>; + interrupts = <0x00 0xcc 0x04>; + clocks = <0x02 0x199 0x02 0x19a 0x02 0x2c0 0x02 0x2c1>; + clock-names = "biu\0ciu\0ciu-drive\0ciu-sample"; + fifo-depth = <0x100>; + max-frequency = <0xbebc200>; + pinctrl-names = "default"; + pinctrl-0 = <0x103>; + power-domains = <0x4d 0x25>; + status = "disabled"; + }; + + mmc@fe2e0000 { + compatible = "rockchip,rk3588-dwcmshc\0rockchip,dwcmshc-sdhci"; + reg = <0x00 0xfe2e0000 0x00 0x10000>; + interrupts = <0x00 0xcd 0x04>; + assigned-clocks = <0x02 0x13b 0x02 0x13c 0x02 0x13a>; + assigned-clock-rates = <0xbebc200 0x16e3600 0xbebc200>; + clocks = <0x02 0x13a 0x02 0x138 0x02 0x139 0x02 0x13b 0x02 0x13c>; + clock-names = "core\0bus\0axi\0block\0timer"; + resets = <0x02 0x1f6 0x02 0x1f4 0x02 0x1f5 0x02 0x1f7 0x02 0x1f8>; + reset-names = "core\0bus\0axi\0block\0timer"; + max-frequency = <0xbebc200>; + status = "okay"; + bus-width = <0x08>; + no-sdio; + no-sd; + non-removable; + mmc-hs400-1_8v; + mmc-hs400-enhanced-strobe; + }; + + crypto@fe370000 { + compatible = "rockchip,rk3588-crypto"; + reg = <0x00 0xfe370000 0x00 0x2000>; + interrupts = <0x00 0xd1 0x04>; + clocks = <0x0e 0x0b 0x0e 0x0c 0x0e 0x14 0x0e 0x15>; + clock-names = "aclk\0hclk\0sclk\0pka"; + resets = <0x104 0x0f>; + reset-names = "crypto-rst"; + status = "disabled"; + }; + + rng@fe378000 { + compatible = "rockchip,trngv1"; + reg = <0x00 0xfe378000 0x00 0x200>; + interrupts = <0x00 0x190 0x04>; + clocks = <0x0e 0x0c>; + clock-names = "hclk_trng"; + resets = <0x104 0x30>; + reset-names = "reset"; + status = "okay"; + }; + + i2s@fe470000 { + compatible = "rockchip,rk3588-i2s-tdm"; + reg = <0x00 0xfe470000 0x00 0x1000>; + interrupts = <0x00 0xb4 0x04>; + clocks = <0x02 0x33 0x02 0x37 0x02 0x30>; + clock-names = "mclk_tx\0mclk_rx\0hclk"; + assigned-clocks = <0x02 0x31 0x02 0x35>; + assigned-clock-parents = <0x02 0x05 0x02 0x05>; + dmas = <0x64 0x00 0x64 0x01>; + dma-names = "tx\0rx"; + power-domains = <0x4d 0x26>; + resets = <0x02 0x77 0x02 0x7a>; + reset-names = "tx-m\0rx-m"; + rockchip,clk-trcm = <0x01>; + pinctrl-names = "default"; + pinctrl-0 = <0x105 0x106 0x107 0x108>; + #sound-dai-cells = <0x00>; + status = "okay"; + phandle = <0x1b4>; + }; + + i2s@fe480000 { + compatible = "rockchip,rk3588-i2s-tdm"; + reg = <0x00 0xfe480000 0x00 0x1000>; + interrupts = <0x00 0xb5 0x04>; + clocks = <0x02 0x28c 0x02 0x290 0x02 0x288>; + clock-names = "mclk_tx\0mclk_rx\0hclk"; + dmas = <0x64 0x02 0x64 0x03>; + dma-names = "tx\0rx"; + resets = <0x02 0xc002a 0x02 0xc002d>; + reset-names = "tx-m\0rx-m"; + rockchip,clk-trcm = <0x01>; + pinctrl-names = "default"; + pinctrl-0 = <0x109 0x10a 0x10b 0x10c 0x10d 0x10e 0x10f 0x110 0x111 0x112>; + #sound-dai-cells = <0x00>; + status = "disabled"; + }; + + i2s@fe490000 { + compatible = "rockchip,rk3588-i2s\0rockchip,rk3066-i2s"; + reg = <0x00 0xfe490000 0x00 0x1000>; + interrupts = <0x00 0xb6 0x04>; + clocks = <0x02 0x27 0x02 0x22>; + clock-names = "i2s_clk\0i2s_hclk"; + assigned-clocks = <0x02 0x24>; + assigned-clock-parents = <0x02 0x05>; + dmas = <0xd3 0x00 0xd3 0x01>; + dma-names = "tx\0rx"; + power-domains = <0x4d 0x26>; + rockchip,clk-trcm = <0x01>; + pinctrl-names = "default"; + pinctrl-0 = <0x113 0x114 0x115 0x116>; + #sound-dai-cells = <0x00>; + status = "disabled"; + }; + + i2s@fe4a0000 { + compatible = "rockchip,rk3588-i2s\0rockchip,rk3066-i2s"; + reg = <0x00 0xfe4a0000 0x00 0x1000>; + interrupts = <0x00 0xb7 0x04>; + clocks = <0x02 0x2d 0x02 0x23>; + clock-names = "i2s_clk\0i2s_hclk"; + assigned-clocks = <0x02 0x2a>; + assigned-clock-parents = <0x02 0x05>; + dmas = <0xd3 0x02 0xd3 0x03>; + dma-names = "tx\0rx"; + power-domains = <0x4d 0x26>; + rockchip,clk-trcm = <0x01>; + pinctrl-names = "default"; + pinctrl-0 = <0x117 0x118 0x119 0x11a>; + #sound-dai-cells = <0x00>; + status = "disabled"; + }; + + pdm@fe4b0000 { + compatible = "rockchip,rk3588-pdm"; + reg = <0x00 0xfe4b0000 0x00 0x1000>; + clocks = <0x02 0x29f 0x02 0x29e>; + clock-names = "pdm_clk\0pdm_hclk"; + dmas = <0x64 0x04>; + dma-names = "rx"; + pinctrl-names = "default"; + pinctrl-0 = <0x11b 0x11c 0x11d 0x11e 0x11f 0x120>; + #sound-dai-cells = <0x00>; + status = "disabled"; + }; + + pdm@fe4c0000 { + compatible = "rockchip,rk3588-pdm"; + reg = <0x00 0xfe4c0000 0x00 0x1000>; + clocks = <0x02 0x3b 0x02 0x3a>; + clock-names = "pdm_clk\0pdm_hclk"; + assigned-clocks = <0x02 0x3b>; + assigned-clock-parents = <0x02 0x05>; + dmas = <0xd3 0x04>; + dma-names = "rx"; + power-domains = <0x4d 0x26>; + pinctrl-names = "default"; + pinctrl-0 = <0x121 0x122 0x123 0x124 0x125 0x126>; + #sound-dai-cells = <0x00>; + status = "disabled"; + }; + + vad@fe4d0000 { + compatible = "rockchip,rk3588-vad"; + reg = <0x00 0xfe4d0000 0x00 0x1000>; + reg-names = "vad"; + clocks = <0x02 0x2a0>; + clock-names = "hclk"; + interrupts = <0x00 0xca 0x04>; + rockchip,audio-src = <0x00>; + rockchip,det-channel = <0x00>; + rockchip,mode = <0x00>; + #sound-dai-cells = <0x00>; + status = "disabled"; + }; + + spdif-tx@fe4e0000 { + compatible = "rockchip,rk3588-spdif\0rockchip,rk3568-spdif"; + reg = <0x00 0xfe4e0000 0x00 0x1000>; + interrupts = <0x00 0xc1 0x04>; + dmas = <0x64 0x05>; + dma-names = "tx"; + clock-names = "mclk\0hclk"; + clocks = <0x02 0x41 0x02 0x3e>; + assigned-clocks = <0x02 0x3f>; + assigned-clock-parents = <0x02 0x05>; + power-domains = <0x4d 0x26>; + pinctrl-names = "default"; + pinctrl-0 = <0x127>; + #sound-dai-cells = <0x00>; + status = "disabled"; + }; + + spdif-tx@fe4f0000 { + compatible = "rockchip,rk3588-spdif\0rockchip,rk3568-spdif"; + reg = <0x00 0xfe4f0000 0x00 0x1000>; + interrupts = <0x00 0xc2 0x04>; + dmas = <0xd3 0x05>; + dma-names = "tx"; + clock-names = "mclk\0hclk"; + clocks = <0x02 0x47 0x02 0x44>; + assigned-clocks = <0x02 0x45>; + assigned-clock-parents = <0x02 0x05>; + power-domains = <0x4d 0x26>; + pinctrl-names = "default"; + pinctrl-0 = <0x128>; + #sound-dai-cells = <0x00>; + status = "disabled"; + phandle = <0x1b1>; + }; + + codec-digital@fe500000 { + compatible = "rockchip,rk3588-codec-digital\0rockchip,codec-digital-v1"; + reg = <0x00 0xfe500000 0x00 0x1000>; + clocks = <0x02 0x29 0x02 0x2f>; + clock-names = "dac\0pclk"; + power-domains = <0x4d 0x26>; + resets = <0x02 0x84>; + reset-names = "reset"; + rockchip,grf = <0xb7>; + rockchip,pwm-output-mode; + pinctrl-names = "default"; + pinctrl-0 = <0x129>; + #sound-dai-cells = <0x00>; + status = "disabled"; + }; + + hwspinlock@fe5a0000 { + compatible = "rockchip,hwspinlock"; + reg = <0x00 0xfe5a0000 0x00 0x100>; + #hwlock-cells = <0x01>; + }; + + interrupt-controller@fe600000 { + compatible = "arm,gic-v3"; + #interrupt-cells = <0x03>; + #address-cells = <0x02>; + #size-cells = <0x02>; + ranges; + interrupt-controller; + reg = <0x00 0xfe600000 0x00 0x10000 0x00 0xfe680000 0x00 0x100000>; + interrupts = <0x01 0x09 0x04>; + phandle = <0x01>; + }; + + dma-controller@fea10000 { + compatible = "arm,pl330\0arm,primecell"; + reg = <0x00 0xfea10000 0x00 0x4000>; + interrupts = <0x00 0x56 0x04 0x00 0x57 0x04>; + clocks = <0x02 0x78>; + clock-names = "apb_pclk"; + #dma-cells = <0x01>; + arm,pl330-periph-burst; + phandle = <0x64>; + }; + + dma-controller@fea30000 { + compatible = "arm,pl330\0arm,primecell"; + reg = <0x00 0xfea30000 0x00 0x4000>; + interrupts = <0x00 0x58 0x04 0x00 0x59 0x04>; + clocks = <0x02 0x79>; + clock-names = "apb_pclk"; + #dma-cells = <0x01>; + arm,pl330-periph-burst; + phandle = <0xd3>; + }; + + can@fea50000 { + compatible = "rockchip,can-2.0"; + reg = <0x00 0xfea50000 0x00 0x1000>; + interrupts = <0x00 0x155 0x04>; + clocks = <0x02 0x70 0x02 0x6f>; + clock-names = "baudclk\0apb_pclk"; + resets = <0x02 0xb9 0x02 0xb8>; + reset-names = "can\0can-apb"; + pinctrl-names = "default"; + pinctrl-0 = <0x12a>; + tx-fifo-depth = <0x01>; + rx-fifo-depth = <0x06>; + status = "disabled"; + }; + + can@fea60000 { + compatible = "rockchip,can-2.0"; + reg = <0x00 0xfea60000 0x00 0x1000>; + interrupts = <0x00 0x156 0x04>; + clocks = <0x02 0x72 0x02 0x71>; + clock-names = "baudclk\0apb_pclk"; + resets = <0x02 0xbb 0x02 0xba>; + reset-names = "can\0can-apb"; + pinctrl-names = "default"; + pinctrl-0 = <0x12b>; + tx-fifo-depth = <0x01>; + rx-fifo-depth = <0x06>; + status = "okay"; + assigned-clocks = <0x02 0x72>; + assigned-clock-rates = <0xbebc200>; + }; + + can@fea70000 { + compatible = "rockchip,can-2.0"; + reg = <0x00 0xfea70000 0x00 0x1000>; + interrupts = <0x00 0x157 0x04>; + clocks = <0x02 0x74 0x02 0x73>; + clock-names = "baudclk\0apb_pclk"; + resets = <0x02 0xbd 0x02 0xbc>; + reset-names = "can\0can-apb"; + pinctrl-names = "default"; + pinctrl-0 = <0x12c>; + tx-fifo-depth = <0x01>; + rx-fifo-depth = <0x06>; + status = "disabled"; + }; + + decompress@fea80000 { + compatible = "rockchip,hw-decompress"; + reg = <0x00 0xfea80000 0x00 0x1000>; + interrupts = <0x00 0x55 0x04>; + clocks = <0x02 0x75 0x02 0x77 0x02 0x76>; + clock-names = "aclk\0dclk\0pclk"; + resets = <0x02 0x118>; + reset-names = "dresetn"; + status = "disabled"; + }; + + i2c@fea90000 { + compatible = "rockchip,rk3588-i2c\0rockchip,rk3399-i2c"; + reg = <0x00 0xfea90000 0x00 0x1000>; + clocks = <0x02 0x8d 0x02 0x85>; + clock-names = "i2c\0pclk"; + interrupts = <0x00 0x13e 0x04>; + pinctrl-names = "default"; + pinctrl-0 = <0x12d>; + #address-cells = <0x01>; + #size-cells = <0x00>; + status = "okay"; + + rk8602@42 { + compatible = "rockchip,rk8602"; + reg = <0x42>; + vin-supply = <0x63>; + regulator-compatible = "rk860x-reg"; + regulator-name = "vdd_npu_s0"; + regulator-min-microvolt = <0x86470>; + regulator-max-microvolt = <0xe7ef0>; + regulator-ramp-delay = <0x8fc>; + rockchip,suspend-voltage-selector = <0x01>; + regulator-boot-on; + regulator-always-on; + phandle = <0x9b>; + + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + }; + + i2c@feaa0000 { + compatible = "rockchip,rk3588-i2c\0rockchip,rk3399-i2c"; + reg = <0x00 0xfeaa0000 0x00 0x1000>; + clocks = <0x02 0x8e 0x02 0x86>; + clock-names = "i2c\0pclk"; + interrupts = <0x00 0x13f 0x04>; + pinctrl-names = "default"; + pinctrl-0 = <0x12e>; + #address-cells = <0x01>; + #size-cells = <0x00>; + status = "disabled"; + }; + + i2c@feab0000 { + compatible = "rockchip,rk3588-i2c\0rockchip,rk3399-i2c"; + reg = <0x00 0xfeab0000 0x00 0x1000>; + clocks = <0x02 0x8f 0x02 0x87>; + clock-names = "i2c\0pclk"; + interrupts = <0x00 0x140 0x04>; + pinctrl-names = "default"; + pinctrl-0 = <0x12f>; + #address-cells = <0x01>; + #size-cells = <0x00>; + status = "disabled"; + + es8388@11 { + status = "disabled"; + #sound-dai-cells = <0x00>; + compatible = "everest,es8388\0everest,es8323"; + reg = <0x11>; + clocks = <0x02 0x39>; + clock-names = "mclk"; + assigned-clocks = <0x02 0x39>; + assigned-clock-rates = <0xbb8000>; + pinctrl-names = "default"; + pinctrl-0 = <0x130>; + phandle = <0x1b5>; + }; + }; + + i2c@feac0000 { + compatible = "rockchip,rk3588-i2c\0rockchip,rk3399-i2c"; + reg = <0x00 0xfeac0000 0x00 0x1000>; + clocks = <0x02 0x90 0x02 0x88>; + clock-names = "i2c\0pclk"; + interrupts = <0x00 0x141 0x04>; + pinctrl-names = "default"; + pinctrl-0 = <0x131>; + #address-cells = <0x01>; + #size-cells = <0x00>; + status = "disabled"; + }; + + i2c@fead0000 { + compatible = "rockchip,rk3588-i2c\0rockchip,rk3399-i2c"; + reg = <0x00 0xfead0000 0x00 0x1000>; + clocks = <0x02 0x91 0x02 0x89>; + clock-names = "i2c\0pclk"; + interrupts = <0x00 0x142 0x04>; + pinctrl-names = "default"; + pinctrl-0 = <0x132>; + #address-cells = <0x01>; + #size-cells = <0x00>; + status = "disabled"; + }; + + timer@feae0000 { + compatible = "rockchip,rk3588-timer\0rockchip,rk3288-timer"; + reg = <0x00 0xfeae0000 0x00 0x20>; + interrupts = <0x00 0x121 0x04>; + clocks = <0x02 0x5c 0x02 0x5f>; + clock-names = "pclk\0timer"; + }; + + watchdog@feaf0000 { + compatible = "snps,dw-wdt"; + reg = <0x00 0xfeaf0000 0x00 0x100>; + clocks = <0x02 0x6c 0x02 0x6b>; + clock-names = "tclk\0pclk"; + interrupts = <0x00 0x13b 0x04>; + status = "okay"; + }; + + spi@feb00000 { + compatible = "rockchip,rk3066-spi"; + reg = <0x00 0xfeb00000 0x00 0x1000>; + interrupts = <0x00 0x146 0x04>; + #address-cells = <0x01>; + #size-cells = <0x00>; + clocks = <0x02 0xa3 0x02 0x9e>; + clock-names = "spiclk\0apb_pclk"; + dmas = <0x64 0x0e 0x64 0x0f>; + dma-names = "tx\0rx"; + pinctrl-names = "default"; + pinctrl-0 = <0x133 0x134 0x135>; + num-cs = <0x02>; + status = "disabled"; + }; + + spi@feb10000 { + compatible = "rockchip,rk3066-spi"; + reg = <0x00 0xfeb10000 0x00 0x1000>; + interrupts = <0x00 0x147 0x04>; + #address-cells = <0x01>; + #size-cells = <0x00>; + clocks = <0x02 0xa4 0x02 0x9f>; + clock-names = "spiclk\0apb_pclk"; + dmas = <0x64 0x10 0x64 0x11>; + dma-names = "tx\0rx"; + pinctrl-names = "default"; + pinctrl-0 = <0x136 0x137 0x138>; + num-cs = <0x02>; + status = "disabled"; + }; + + spi@feb20000 { + compatible = "rockchip,rk3066-spi"; + reg = <0x00 0xfeb20000 0x00 0x1000>; + interrupts = <0x00 0x148 0x04>; + #address-cells = <0x01>; + #size-cells = <0x00>; + clocks = <0x02 0xa5 0x02 0xa0>; + clock-names = "spiclk\0apb_pclk"; + dmas = <0xd3 0x0f 0xd3 0x10>; + dma-names = "tx\0rx"; + pinctrl-names = "default"; + pinctrl-0 = <0x139 0x13a>; + num-cs = <0x01>; + status = "okay"; + assigned-clocks = <0x02 0xa5>; + assigned-clock-rates = <0xbebc200>; + + rk806single@0 { + compatible = "rockchip,rk806"; + spi-max-frequency = <0xf4240>; + reg = <0x00>; + interrupt-parent = <0x13b>; + interrupts = <0x07 0x08>; + pinctrl-names = "default\0pmic-power-off"; + pinctrl-0 = <0x13c 0x13d 0x13e 0x13f>; + pinctrl-1 = <0x140>; + low_voltage_threshold = <0xbb8>; + shutdown_voltage_threshold = <0xa8c>; + shutdown_temperture_threshold = <0xa0>; + hotdie_temperture_threshold = <0x73>; + pmic-reset-func = <0x01>; + vcc1-supply = <0x63>; + vcc2-supply = <0x63>; + vcc3-supply = <0x63>; + vcc4-supply = <0x63>; + vcc5-supply = <0x63>; + vcc6-supply = <0x63>; + vcc7-supply = <0x63>; + vcc8-supply = <0x63>; + vcc9-supply = <0x63>; + vcc10-supply = <0x63>; + vcc11-supply = <0x141>; + vcc12-supply = <0x63>; + vcc13-supply = <0x142>; + vcc14-supply = <0x142>; + vcca-supply = <0x63>; + + pwrkey { + status = "okay"; + }; + + pinctrl_rk806 { + gpio-controller; + #gpio-cells = <0x02>; + + rk806_dvs1_null { + pins = "gpio_pwrctrl2"; + function = "pin_fun0"; + phandle = <0x13d>; + }; + + rk806_dvs1_slp { + pins = "gpio_pwrctrl1"; + function = "pin_fun1"; + }; + + rk806_dvs1_pwrdn { + pins = "gpio_pwrctrl1"; + function = "pin_fun2"; + phandle = <0x140>; + }; + + rk806_dvs1_rst { + pins = "gpio_pwrctrl1"; + function = "pin_fun3"; + }; + + rk806_dvs2_null { + pins = "gpio_pwrctrl2"; + function = "pin_fun0"; + phandle = <0x13e>; + }; + + rk806_dvs2_slp { + pins = "gpio_pwrctrl2"; + function = "pin_fun1"; + }; + + rk806_dvs2_pwrdn { + pins = "gpio_pwrctrl2"; + function = "pin_fun2"; + }; + + rk806_dvs2_rst { + pins = "gpio_pwrctrl2"; + function = "pin_fun3"; + }; + + rk806_dvs2_dvs { + pins = "gpio_pwrctrl2"; + function = "pin_fun4"; + }; + + rk806_dvs2_gpio { + pins = "gpio_pwrctrl2"; + function = "pin_fun5"; + }; + + rk806_dvs3_null { + pins = "gpio_pwrctrl3"; + function = "pin_fun0"; + phandle = <0x13f>; + }; + + rk806_dvs3_slp { + pins = "gpio_pwrctrl3"; + function = "pin_fun1"; + }; + + rk806_dvs3_pwrdn { + pins = "gpio_pwrctrl3"; + function = "pin_fun2"; + }; + + rk806_dvs3_rst { + pins = "gpio_pwrctrl3"; + function = "pin_fun3"; + }; + + rk806_dvs3_dvs { + pins = "gpio_pwrctrl3"; + function = "pin_fun4"; + }; + + rk806_dvs3_gpio { + pins = "gpio_pwrctrl3"; + function = "pin_fun5"; + }; + }; + + regulators { + + DCDC_REG1 { + regulator-boot-on; + regulator-min-microvolt = <0x86470>; + regulator-max-microvolt = <0xe7ef0>; + regulator-ramp-delay = <0x30d4>; + regulator-name = "vdd_gpu_s0"; + regulator-enable-ramp-delay = <0x190>; + phandle = <0x4f>; + + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + DCDC_REG2 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <0x86470>; + regulator-max-microvolt = <0xe7ef0>; + regulator-ramp-delay = <0x30d4>; + regulator-name = "vdd_cpu_lit_s0"; + phandle = <0x12>; + + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + DCDC_REG3 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <0xa4cb8>; + regulator-max-microvolt = <0xb71b0>; + regulator-ramp-delay = <0x30d4>; + regulator-name = "vdd_log_s0"; + phandle = <0x3c>; + + regulator-state-mem { + regulator-suspend-microvolt = <0xb71b0>; + regulator-on-in-suspend; + }; + }; + + DCDC_REG4 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <0x86470>; + regulator-max-microvolt = <0xe7ef0>; + regulator-init-microvolt = <0xb71b0>; + regulator-ramp-delay = <0x30d4>; + regulator-name = "vdd_vdenc_s0"; + + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + DCDC_REG5 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <0xa4cb8>; + regulator-max-microvolt = <0xdbba0>; + regulator-ramp-delay = <0x30d4>; + regulator-name = "vdd_ddr_s0"; + phandle = <0x3b>; + + regulator-state-mem { + regulator-off-in-suspend; + regulator-suspend-microvolt = <0xcf850>; + }; + }; + + DCDC_REG6 { + regulator-always-on; + regulator-boot-on; + regulator-name = "vdd2_ddr_s3"; + + regulator-state-mem { + regulator-on-in-suspend; + }; + }; + + DCDC_REG7 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <0x1e8480>; + regulator-max-microvolt = <0x1e8480>; + regulator-name = "vdd_2v0_pldo_s3"; + phandle = <0x141>; + + regulator-state-mem { + regulator-on-in-suspend; + regulator-suspend-microvolt = <0x1e8480>; + }; + }; + + DCDC_REG8 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <0x325aa0>; + regulator-max-microvolt = <0x325aa0>; + regulator-name = "vcc_3v3_s3"; + + regulator-state-mem { + regulator-on-in-suspend; + regulator-suspend-microvolt = <0x325aa0>; + }; + }; + + DCDC_REG9 { + regulator-always-on; + regulator-boot-on; + regulator-name = "vddq_ddr_s0"; + + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + DCDC_REG10 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <0x1b7740>; + regulator-max-microvolt = <0x1b7740>; + regulator-name = "vcc_1v8_s3"; + + regulator-state-mem { + regulator-on-in-suspend; + regulator-suspend-microvolt = <0x1b7740>; + }; + }; + + PLDO_REG1 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <0x1b7740>; + regulator-max-microvolt = <0x1b7740>; + regulator-name = "avcc_1v8_s0"; + phandle = <0x1ba>; + + regulator-state-mem { + regulator-off-in-suspend; + regulator-on-in-suspend; + }; + }; + + PLDO_REG2 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <0x1b7740>; + regulator-max-microvolt = <0x1b7740>; + regulator-name = "vcc_1v8_s0"; + phandle = <0x15e>; + + regulator-state-mem { + regulator-off-in-suspend; + regulator-suspend-microvolt = <0x1b7740>; + regulator-on-in-suspend; + }; + }; + + PLDO_REG3 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <0x124f80>; + regulator-max-microvolt = <0x124f80>; + regulator-name = "avdd_1v2_s0"; + + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + PLDO_REG4 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <0x325aa0>; + regulator-max-microvolt = <0x325aa0>; + regulator-name = "vcc_3v3_s0"; + + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + PLDO_REG5 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <0x1b7740>; + regulator-max-microvolt = <0x325aa0>; + regulator-name = "vccio_sd_s0"; + phandle = <0x102>; + + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + PLDO_REG6 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <0x1b7740>; + regulator-max-microvolt = <0x1b7740>; + regulator-name = "pldo6_s3"; + + regulator-state-mem { + regulator-on-in-suspend; + regulator-suspend-microvolt = <0x1b7740>; + }; + }; + + NLDO_REG1 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <0xb71b0>; + regulator-max-microvolt = <0xb71b0>; + regulator-name = "vdd_0v75_s3"; + + regulator-state-mem { + regulator-on-in-suspend; + regulator-suspend-microvolt = <0xb71b0>; + }; + }; + + NLDO_REG2 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <0xcf850>; + regulator-max-microvolt = <0xcf850>; + regulator-name = "vdd_ddr_pll_s0"; + + regulator-state-mem { + regulator-off-in-suspend; + regulator-suspend-microvolt = <0xcf850>; + }; + }; + + NLDO_REG3 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <0xb71b0>; + regulator-max-microvolt = <0xb71b0>; + regulator-name = "avdd_0v75_s0"; + phandle = <0x1bb>; + + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + NLDO_REG4 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <0xcf850>; + regulator-max-microvolt = <0xcf850>; + regulator-name = "vdd_0v85_s0"; + + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + + NLDO_REG5 { + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <0xb71b0>; + regulator-max-microvolt = <0xb71b0>; + regulator-name = "vdd_0v75_s0"; + + regulator-state-mem { + regulator-off-in-suspend; + }; + }; + }; + }; + }; + + spi@feb30000 { + compatible = "rockchip,rk3066-spi"; + reg = <0x00 0xfeb30000 0x00 0x1000>; + interrupts = <0x00 0x149 0x04>; + #address-cells = <0x01>; + #size-cells = <0x00>; + clocks = <0x02 0xa6 0x02 0xa1>; + clock-names = "spiclk\0apb_pclk"; + dmas = <0xd3 0x11 0xd3 0x12>; + dma-names = "tx\0rx"; + pinctrl-names = "default"; + pinctrl-0 = <0x143 0x144 0x145>; + num-cs = <0x02>; + status = "disabled"; + }; + + serial@feb40000 { + compatible = "rockchip,rk3588-uart\0snps,dw-apb-uart"; + reg = <0x00 0xfeb40000 0x00 0x100>; + interrupts = <0x00 0x14c 0x04>; + clocks = <0x02 0xb7 0x02 0xab>; + clock-names = "baudclk\0apb_pclk"; + reg-shift = <0x02>; + reg-io-width = <0x04>; + dmas = <0x64 0x08 0x64 0x09>; + pinctrl-names = "default"; + pinctrl-0 = <0x146>; + status = "disabled"; + }; + + serial@feb50000 { + compatible = "rockchip,rk3588-uart\0snps,dw-apb-uart"; + reg = <0x00 0xfeb50000 0x00 0x100>; + interrupts = <0x00 0x14d 0x04>; + clocks = <0x02 0xbb 0x02 0xac>; + clock-names = "baudclk\0apb_pclk"; + reg-shift = <0x02>; + reg-io-width = <0x04>; + dmas = <0x64 0x0a 0x64 0x0b>; + pinctrl-names = "default"; + pinctrl-0 = <0x147>; + status = "disabled"; + }; + + serial@feb60000 { + compatible = "rockchip,rk3588-uart\0snps,dw-apb-uart"; + reg = <0x00 0xfeb60000 0x00 0x100>; + interrupts = <0x00 0x14e 0x04>; + clocks = <0x02 0xbf 0x02 0xad>; + clock-names = "baudclk\0apb_pclk"; + reg-shift = <0x02>; + reg-io-width = <0x04>; + dmas = <0x64 0x0c 0x64 0x0d>; + pinctrl-names = "default"; + pinctrl-0 = <0x148>; + status = "disabled"; + }; + + serial@feb70000 { + compatible = "rockchip,rk3588-uart\0snps,dw-apb-uart"; + reg = <0x00 0xfeb70000 0x00 0x100>; + interrupts = <0x00 0x14f 0x04>; + clocks = <0x02 0xc3 0x02 0xae>; + clock-names = "baudclk\0apb_pclk"; + reg-shift = <0x02>; + reg-io-width = <0x04>; + dmas = <0xd3 0x09 0xd3 0x0a>; + pinctrl-names = "default"; + pinctrl-0 = <0x149>; + status = "disabled"; + }; + + serial@feb80000 { + compatible = "rockchip,rk3588-uart\0snps,dw-apb-uart"; + reg = <0x00 0xfeb80000 0x00 0x100>; + interrupts = <0x00 0x150 0x04>; + clocks = <0x02 0xc7 0x02 0xaf>; + clock-names = "baudclk\0apb_pclk"; + reg-shift = <0x02>; + reg-io-width = <0x04>; + dmas = <0xd3 0x0b 0xd3 0x0c>; + pinctrl-names = "default"; + pinctrl-0 = <0x14a>; + status = "disabled"; + }; + + serial@feb90000 { + compatible = "rockchip,rk3588-uart\0snps,dw-apb-uart"; + reg = <0x00 0xfeb90000 0x00 0x100>; + interrupts = <0x00 0x151 0x04>; + clocks = <0x02 0xcb 0x02 0xb0>; + clock-names = "baudclk\0apb_pclk"; + reg-shift = <0x02>; + reg-io-width = <0x04>; + dmas = <0xd3 0x0d 0xd3 0x0e>; + pinctrl-names = "default"; + pinctrl-0 = <0x14b 0x14c>; + status = "okay"; + }; + + serial@feba0000 { + compatible = "rockchip,rk3588-uart\0snps,dw-apb-uart"; + reg = <0x00 0xfeba0000 0x00 0x100>; + interrupts = <0x00 0x152 0x04>; + clocks = <0x02 0xcf 0x02 0xb1>; + clock-names = "baudclk\0apb_pclk"; + reg-shift = <0x02>; + reg-io-width = <0x04>; + dmas = <0xd4 0x07 0xd4 0x08>; + pinctrl-names = "default"; + pinctrl-0 = <0x14d>; + status = "disabled"; + }; + + serial@febb0000 { + compatible = "rockchip,rk3588-uart\0snps,dw-apb-uart"; + reg = <0x00 0xfebb0000 0x00 0x100>; + interrupts = <0x00 0x153 0x04>; + clocks = <0x02 0xd3 0x02 0xb2>; + clock-names = "baudclk\0apb_pclk"; + reg-shift = <0x02>; + reg-io-width = <0x04>; + dmas = <0xd4 0x09 0xd4 0x0a>; + pinctrl-names = "default"; + pinctrl-0 = <0x14e>; + status = "disabled"; + }; + + serial@febc0000 { + compatible = "rockchip,rk3588-uart\0snps,dw-apb-uart"; + reg = <0x00 0xfebc0000 0x00 0x100>; + interrupts = <0x00 0x154 0x04>; + clocks = <0x02 0xd7 0x02 0xb3>; + clock-names = "baudclk\0apb_pclk"; + reg-shift = <0x02>; + reg-io-width = <0x04>; + dmas = <0xd4 0x0b 0xd4 0x0c>; + pinctrl-names = "default"; + pinctrl-0 = <0x14f>; + status = "disabled"; + }; + + pwm@febd0000 { + compatible = "rockchip,rk3588-pwm\0rockchip,rk3328-pwm"; + reg = <0x00 0xfebd0000 0x00 0x10>; + #pwm-cells = <0x03>; + pinctrl-names = "active"; + pinctrl-0 = <0x150>; + clocks = <0x02 0x54 0x02 0x53>; + clock-names = "pwm\0pclk"; + status = "disabled"; + }; + + pwm@febd0010 { + compatible = "rockchip,rk3588-pwm\0rockchip,rk3328-pwm"; + reg = <0x00 0xfebd0010 0x00 0x10>; + #pwm-cells = <0x03>; + pinctrl-names = "active"; + pinctrl-0 = <0x151>; + clocks = <0x02 0x54 0x02 0x53>; + clock-names = "pwm\0pclk"; + status = "disabled"; + }; + + pwm@febd0020 { + compatible = "rockchip,rk3588-pwm\0rockchip,rk3328-pwm"; + reg = <0x00 0xfebd0020 0x00 0x10>; + #pwm-cells = <0x03>; + pinctrl-names = "active"; + pinctrl-0 = <0x152>; + clocks = <0x02 0x54 0x02 0x53>; + clock-names = "pwm\0pclk"; + status = "disabled"; + }; + + pwm@febd0030 { + compatible = "rockchip,rk3588-pwm\0rockchip,rk3328-pwm"; + reg = <0x00 0xfebd0030 0x00 0x10>; + interrupts = <0x00 0x15a 0x04 0x00 0x15b 0x04>; + #pwm-cells = <0x03>; + pinctrl-names = "active"; + pinctrl-0 = <0x153>; + clocks = <0x02 0x54 0x02 0x53>; + clock-names = "pwm\0pclk"; + status = "disabled"; + }; + + pwm@febe0000 { + compatible = "rockchip,rk3588-pwm\0rockchip,rk3328-pwm"; + reg = <0x00 0xfebe0000 0x00 0x10>; + #pwm-cells = <0x03>; + pinctrl-names = "active"; + pinctrl-0 = <0x154>; + clocks = <0x02 0x57 0x02 0x56>; + clock-names = "pwm\0pclk"; + status = "disabled"; + }; + + pwm@febe0010 { + compatible = "rockchip,rk3588-pwm\0rockchip,rk3328-pwm"; + reg = <0x00 0xfebe0010 0x00 0x10>; + #pwm-cells = <0x03>; + pinctrl-names = "active"; + pinctrl-0 = <0x155>; + clocks = <0x02 0x57 0x02 0x56>; + clock-names = "pwm\0pclk"; + status = "disabled"; + }; + + pwm@febe0020 { + compatible = "rockchip,rk3588-pwm\0rockchip,rk3328-pwm"; + reg = <0x00 0xfebe0020 0x00 0x10>; + #pwm-cells = <0x03>; + pinctrl-names = "active"; + pinctrl-0 = <0x156>; + clocks = <0x02 0x57 0x02 0x56>; + clock-names = "pwm\0pclk"; + status = "disabled"; + }; + + pwm@febe0030 { + compatible = "rockchip,rk3588-pwm\0rockchip,rk3328-pwm"; + reg = <0x00 0xfebe0030 0x00 0x10>; + interrupts = <0x00 0x15c 0x04 0x00 0x15d 0x04>; + #pwm-cells = <0x03>; + pinctrl-names = "active"; + pinctrl-0 = <0x157>; + clocks = <0x02 0x57 0x02 0x56>; + clock-names = "pwm\0pclk"; + status = "disabled"; + }; + + pwm@febf0000 { + compatible = "rockchip,rk3588-pwm\0rockchip,rk3328-pwm"; + reg = <0x00 0xfebf0000 0x00 0x10>; + #pwm-cells = <0x03>; + pinctrl-names = "active"; + pinctrl-0 = <0x158>; + clocks = <0x02 0x5a 0x02 0x59>; + clock-names = "pwm\0pclk"; + status = "disabled"; + }; + + pwm@febf0010 { + compatible = "rockchip,rk3588-pwm\0rockchip,rk3328-pwm"; + reg = <0x00 0xfebf0010 0x00 0x10>; + #pwm-cells = <0x03>; + pinctrl-names = "active"; + pinctrl-0 = <0x159>; + clocks = <0x02 0x5a 0x02 0x59>; + clock-names = "pwm\0pclk"; + status = "disabled"; + }; + + pwm@febf0020 { + compatible = "rockchip,rk3588-pwm\0rockchip,rk3328-pwm"; + reg = <0x00 0xfebf0020 0x00 0x10>; + #pwm-cells = <0x03>; + pinctrl-names = "active"; + pinctrl-0 = <0x15a>; + clocks = <0x02 0x5a 0x02 0x59>; + clock-names = "pwm\0pclk"; + status = "disabled"; + }; + + pwm@febf0030 { + compatible = "rockchip,rk3588-pwm\0rockchip,rk3328-pwm"; + reg = <0x00 0xfebf0030 0x00 0x10>; + interrupts = <0x00 0x15e 0x04 0x00 0x15f 0x04>; + #pwm-cells = <0x03>; + pinctrl-names = "active"; + pinctrl-0 = <0x15b>; + clocks = <0x02 0x5a 0x02 0x59>; + clock-names = "pwm\0pclk"; + status = "okay"; + phandle = <0x1ca>; + }; + + tsadc@fec00000 { + compatible = "rockchip,rk3588-tsadc"; + reg = <0x00 0xfec00000 0x00 0x400>; + interrupts = <0x00 0x18d 0x04>; + clocks = <0x02 0xaa 0x02 0xa9>; + clock-names = "tsadc\0apb_pclk"; + assigned-clocks = <0x02 0xaa>; + assigned-clock-rates = <0x1e8480>; + resets = <0x02 0xc1 0x02 0xc0>; + reset-names = "tsadc\0tsadc-apb"; + #thermal-sensor-cells = <0x01>; + rockchip,hw-tshut-temp = <0x1d4c0>; + rockchip,hw-tshut-mode = <0x00>; + rockchip,hw-tshut-polarity = <0x00>; + pinctrl-names = "gpio\0otpout"; + pinctrl-0 = <0x15c>; + pinctrl-1 = <0x15d>; + status = "okay"; + phandle = <0x4a>; + }; + + saradc@fec10000 { + compatible = "rockchip,rk3588-saradc"; + reg = <0x00 0xfec10000 0x00 0x10000>; + interrupts = <0x00 0x18e 0x04>; + #io-channel-cells = <0x01>; + clocks = <0x02 0x9d 0x02 0x9c>; + clock-names = "saradc\0apb_pclk"; + resets = <0x02 0xbe>; + reset-names = "saradc-apb"; + status = "okay"; + vref-supply = <0x15e>; + phandle = <0x1b3>; + }; + + mailbox@fec60000 { + compatible = "rockchip,rk3588-mailbox\0rockchip,rk3368-mailbox"; + reg = <0x00 0xfec60000 0x00 0x200>; + interrupts = <0x00 0x3d 0x04 0x00 0x3e 0x04 0x00 0x3f 0x04 0x00 0x40 0x04>; + clocks = <0x02 0x4c>; + clock-names = "pclk_mailbox"; + #mbox-cells = <0x01>; + status = "disabled"; + }; + + mailbox@fec70000 { + compatible = "rockchip,rk3588-mailbox\0rockchip,rk3368-mailbox"; + reg = <0x00 0xfec70000 0x00 0x200>; + interrupts = <0x00 0x45 0x04 0x00 0x46 0x04 0x00 0x47 0x04 0x00 0x48 0x04>; + clocks = <0x02 0x4d>; + clock-names = "pclk_mailbox"; + #mbox-cells = <0x01>; + status = "disabled"; + }; + + i2c@fec80000 { + compatible = "rockchip,rk3588-i2c\0rockchip,rk3399-i2c"; + reg = <0x00 0xfec80000 0x00 0x1000>; + clocks = <0x02 0x92 0x02 0x8a>; + clock-names = "i2c\0pclk"; + interrupts = <0x00 0x143 0x04>; + pinctrl-names = "default"; + pinctrl-0 = <0x15f>; + #address-cells = <0x01>; + #size-cells = <0x00>; + status = "disabled"; + clock-frequency = <0x61a80>; + + gpio@21 { + compatible = "nxp,pca9555"; + reg = <0x21>; + gpio-controller; + #gpio-cells = <0x02>; + gpio-group-num = <0xc8>; + status = "disabled"; + phandle = <0x1b8>; + }; + + hym8563@51 { + compatible = "haoyu,hym8563"; + reg = <0x51>; + #clock-cells = <0x00>; + clock-frequency = <0x8000>; + clock-output-names = "hym8563"; + pinctrl-names = "default"; + pinctrl-0 = <0x160>; + interrupt-parent = <0x13b>; + interrupts = <0x08 0x08>; + wakeup-source; + status = "disabled"; + phandle = <0x1c0>; + }; + + fusb302@22 { + compatible = "fcs,fusb302"; + reg = <0x22>; + interrupt-parent = <0x13b>; + interrupts = <0x1b 0x08>; + pinctrl-names = "default"; + pinctrl-0 = <0x161>; + vbus-supply = <0x162>; + status = "okay"; + + ports { + #address-cells = <0x01>; + #size-cells = <0x00>; + + port@0 { + reg = <0x00>; + + endpoint@0 { + remote-endpoint = <0x163>; + phandle = <0x54>; + }; + }; + }; + + connector { + compatible = "usb-c-connector"; + label = "USB-C"; + data-role = "dual"; + power-role = "dual"; + try-power-role = "sink"; + op-sink-microwatt = <0xf4240>; + sink-pdos = <0x4019064>; + source-pdos = <0x401912c>; + + altmodes { + #address-cells = <0x01>; + #size-cells = <0x00>; + + altmode@0 { + reg = <0x00>; + svid = <0xff01>; + vdo = <0xffffffff>; + }; + }; + + ports { + #address-cells = <0x01>; + #size-cells = <0x00>; + + port@0 { + reg = <0x00>; + + endpoint { + remote-endpoint = <0x164>; + phandle = <0x16f>; + }; + }; + + port@1 { + reg = <0x01>; + + endpoint { + remote-endpoint = <0x165>; + phandle = <0x170>; + }; + }; + }; + }; + }; + }; + + i2c@fec90000 { + compatible = "rockchip,rk3588-i2c\0rockchip,rk3399-i2c"; + reg = <0x00 0xfec90000 0x00 0x1000>; + clocks = <0x02 0x93 0x02 0x8b>; + clock-names = "i2c\0pclk"; + interrupts = <0x00 0x144 0x04>; + pinctrl-names = "default"; + pinctrl-0 = <0x166>; + #address-cells = <0x01>; + #size-cells = <0x00>; + status = "disabled"; + }; + + i2c@feca0000 { + compatible = "rockchip,rk3588-i2c\0rockchip,rk3399-i2c"; + reg = <0x00 0xfeca0000 0x00 0x1000>; + clocks = <0x02 0x94 0x02 0x8c>; + clock-names = "i2c\0pclk"; + interrupts = <0x00 0x145 0x04>; + pinctrl-names = "default"; + pinctrl-0 = <0x167>; + #address-cells = <0x01>; + #size-cells = <0x00>; + status = "disabled"; + }; + + spi@fecb0000 { + compatible = "rockchip,rk3066-spi"; + reg = <0x00 0xfecb0000 0x00 0x1000>; + interrupts = <0x00 0x14a 0x04>; + #address-cells = <0x01>; + #size-cells = <0x00>; + clocks = <0x02 0xa7 0x02 0xa2>; + clock-names = "spiclk\0apb_pclk"; + dmas = <0xd4 0x0d 0xd4 0x0e>; + dma-names = "tx\0rx"; + pinctrl-names = "default"; + pinctrl-0 = <0x168 0x169 0x16a>; + num-cs = <0x02>; + status = "disabled"; + }; + + otp@fecc0000 { + compatible = "rockchip,rk3588-otp"; + reg = <0x00 0xfecc0000 0x00 0x400>; + #address-cells = <0x01>; + #size-cells = <0x01>; + clocks = <0x02 0x96 0x02 0x95 0x02 0x97 0x02 0x99>; + clock-names = "otpc\0apb\0arb\0phy"; + resets = <0x02 0x12a 0x02 0x129 0x02 0x12b>; + reset-names = "otpc\0apb\0arb"; + + cpu-code@2 { + reg = <0x02 0x02>; + phandle = <0x29>; + }; + + specification-serial-number@6 { + reg = <0x06 0x01>; + bits = <0x00 0x05>; + phandle = <0x20>; + }; + + id@7 { + reg = <0x07 0x10>; + phandle = <0x27>; + }; + + cpu-version@1c { + reg = <0x1c 0x01>; + bits = <0x03 0x03>; + phandle = <0x28>; + }; + + cpub0-leakage@17 { + reg = <0x17 0x01>; + phandle = <0x23>; + }; + + cpub1-leakage@18 { + reg = <0x18 0x01>; + phandle = <0x25>; + }; + + cpul-leakage@19 { + reg = <0x19 0x01>; + phandle = <0x1f>; + }; + + log-leakage@1a { + reg = <0x1a 0x01>; + phandle = <0x3d>; + }; + + gpu-leakage@1b { + reg = <0x1b 0x01>; + phandle = <0x50>; + }; + + npu-leakage@28 { + reg = <0x28 0x01>; + phandle = <0x9c>; + }; + + codec-leakage@29 { + reg = <0x29 0x01>; + }; + }; + + mailbox@fece0000 { + compatible = "rockchip,rk3588-mailbox\0rockchip,rk3368-mailbox"; + reg = <0x00 0xfece0000 0x00 0x200>; + interrupts = <0x00 0x4d 0x04 0x00 0x4e 0x04 0x00 0x4f 0x04 0x00 0x50 0x04>; + clocks = <0x02 0x4e>; + clock-names = "pclk_mailbox"; + #mbox-cells = <0x01>; + status = "disabled"; + }; + + dma-controller@fed10000 { + compatible = "arm,pl330\0arm,primecell"; + reg = <0x00 0xfed10000 0x00 0x4000>; + interrupts = <0x00 0x5a 0x04 0x00 0x5b 0x04>; + clocks = <0x02 0x7a>; + clock-names = "apb_pclk"; + #dma-cells = <0x01>; + arm,pl330-periph-burst; + phandle = <0xd4>; + }; + + phy@fed60000 { + compatible = "rockchip,rk3588-hdptx-phy"; + reg = <0x00 0xfed60000 0x00 0x2000>; + clocks = <0x02 0x2b5 0x02 0x267>; + clock-names = "ref\0apb"; + resets = <0x02 0x485 0x02 0xc003b 0x02 0xc003c 0x02 0xc003d>; + reset-names = "apb\0init\0cmn\0lane"; + rockchip,grf = <0x16b>; + #phy-cells = <0x00>; + status = "disabled"; + phandle = <0xe3>; + }; + + hdmiphy@fed60000 { + compatible = "rockchip,rk3588-hdptx-phy-hdmi"; + reg = <0x00 0xfed60000 0x00 0x2000>; + clocks = <0x02 0x2b5 0x02 0x267>; + clock-names = "ref\0apb"; + resets = <0x02 0x48e 0x02 0x485 0x02 0xc003b 0x02 0xc003c 0x02 0xc003d 0x02 0x48c 0x02 0x48d>; + reset-names = "phy\0apb\0init\0cmn\0lane\0ropll\0lcpll"; + rockchip,grf = <0x16b>; + #phy-cells = <0x00>; + status = "okay"; + phandle = <0xdf>; + + clk-port { + #clock-cells = <0x00>; + status = "okay"; + phandle = <0x2e>; + }; + }; + + phy@fed80000 { + compatible = "rockchip,rk3588-usbdp-phy"; + reg = <0x00 0xfed80000 0x00 0x10000>; + rockchip,u2phy-grf = <0x16c>; + rockchip,usb-grf = <0x5f>; + rockchip,usbdpphy-grf = <0x16d>; + rockchip,vo-grf = <0xd7>; + clocks = <0x02 0x2b6 0x02 0x27f 0x02 0x269 0x16e>; + clock-names = "refclk\0immortal\0pclk\0utmi"; + resets = <0x02 0x28 0x02 0x29 0x02 0x2a 0x02 0x2b 0x02 0x482>; + reset-names = "init\0cmn\0lane\0pcs_apb\0pma_apb"; + status = "okay"; + orientation-switch; + svid = <0xff01>; + sbu1-dc-gpios = <0xe0 0x06 0x00>; + sbu2-dc-gpios = <0xe0 0x07 0x00>; + + dp-port { + #phy-cells = <0x00>; + status = "okay"; + phandle = <0xd8>; + }; + + u3-port { + #phy-cells = <0x00>; + status = "okay"; + phandle = <0x53>; + }; + + port { + #address-cells = <0x01>; + #size-cells = <0x00>; + + endpoint@0 { + reg = <0x00>; + remote-endpoint = <0x16f>; + phandle = <0x164>; + }; + + endpoint@1 { + reg = <0x01>; + remote-endpoint = <0x170>; + phandle = <0x165>; + }; + }; + }; + + phy@feda0000 { + compatible = "rockchip,rk3588-mipi-dcphy"; + reg = <0x00 0xfeda0000 0x00 0x10000>; + rockchip,grf = <0x171>; + clocks = <0x02 0x108 0x02 0x2b6>; + clock-names = "pclk\0ref"; + resets = <0x02 0xc0043 0x02 0x3e 0x02 0x3f 0x02 0xc0044>; + reset-names = "m_phy\0apb\0grf\0s_phy"; + #phy-cells = <0x00>; + status = "disabled"; + phandle = <0x2a>; + }; + + phy@fedb0000 { + compatible = "rockchip,rk3588-mipi-dcphy"; + reg = <0x00 0xfedb0000 0x00 0x10000>; + rockchip,grf = <0x172>; + clocks = <0x02 0x109 0x02 0x2b6>; + clock-names = "pclk\0ref"; + resets = <0x02 0xc0045 0x02 0x43 0x02 0x44 0x02 0xc0046>; + reset-names = "m_phy\0apb\0grf\0s_phy"; + #phy-cells = <0x00>; + status = "disabled"; + phandle = <0x2b>; + }; + + csi2-dphy0-hw@fedc0000 { + compatible = "rockchip,rk3588-csi2-dphy-hw"; + reg = <0x00 0xfedc0000 0x00 0x8000>; + clocks = <0x02 0x10c>; + clock-names = "pclk"; + resets = <0x02 0x17 0x02 0x16>; + reset-names = "srst_csiphy0\0srst_p_csiphy0"; + rockchip,grf = <0x173>; + rockchip,sys_grf = <0xb7>; + status = "disabled"; + phandle = <0x2c>; + }; + + phy@fee00000 { + compatible = "rockchip,rk3588-naneng-combphy"; + reg = <0x00 0xfee00000 0x00 0x100>; + #phy-cells = <0x01>; + clocks = <0x02 0x2bd 0x02 0x185 0x02 0x166>; + clock-names = "refclk\0apbclk\0phpclk"; + assigned-clocks = <0x02 0x2bd>; + assigned-clock-rates = <0x5f5e100>; + resets = <0x02 0x20005 0x02 0x4d6>; + reset-names = "combphy-apb\0combphy"; + rockchip,pipe-grf = <0x61>; + rockchip,pipe-phy-grf = <0x174>; + status = "disabled"; + phandle = <0xea>; + }; + + phy@fee20000 { + compatible = "rockchip,rk3588-naneng-combphy"; + reg = <0x00 0xfee20000 0x00 0x100>; + #phy-cells = <0x01>; + clocks = <0x02 0x2bf 0x02 0x187 0x02 0x166>; + clock-names = "refclk\0apbclk\0phpclk"; + assigned-clocks = <0x02 0x2bf>; + assigned-clock-rates = <0x5f5e100>; + resets = <0x02 0x20007 0x02 0x4d8>; + reset-names = "combphy-apb\0combphy"; + rockchip,pipe-grf = <0x61>; + rockchip,pipe-phy-grf = <0x175>; + rockchip,pcie1ln-sel-bits = <0x100 0x01 0x01 0x00>; + status = "disabled"; + phandle = <0x5b>; + }; + + sram@ff001000 { + compatible = "mmio-sram"; + reg = <0x00 0xff001000 0x00 0xef000>; + #address-cells = <0x01>; + #size-cells = <0x01>; + ranges = <0x00 0x00 0xff001000 0xef000>; + + rkvdec-sram@0 { + reg = <0x00 0x78000>; + phandle = <0xae>; + }; + + rkvdec-sram@78000 { + reg = <0x78000 0x77000>; + phandle = <0xb0>; + }; + }; + + pinctrl { + compatible = "rockchip,rk3588-pinctrl"; + rockchip,grf = <0x176>; + #address-cells = <0x02>; + #size-cells = <0x02>; + ranges; + phandle = <0x177>; + + gpio@fd8a0000 { + compatible = "rockchip,gpio-bank"; + reg = <0x00 0xfd8a0000 0x00 0x100>; + interrupts = <0x00 0x115 0x04>; + clocks = <0x02 0x284 0x02 0x285>; + gpio-controller; + #gpio-cells = <0x02>; + gpio-ranges = <0x177 0x00 0x00 0x20>; + interrupt-controller; + #interrupt-cells = <0x02>; + phandle = <0x13b>; + }; + + gpio@fec20000 { + compatible = "rockchip,gpio-bank"; + reg = <0x00 0xfec20000 0x00 0x100>; + interrupts = <0x00 0x116 0x04>; + clocks = <0x02 0x7d 0x02 0x7e>; + gpio-controller; + #gpio-cells = <0x02>; + gpio-ranges = <0x177 0x00 0x20 0x20>; + interrupt-controller; + #interrupt-cells = <0x02>; + phandle = <0x189>; + }; + + gpio@fec30000 { + compatible = "rockchip,gpio-bank"; + reg = <0x00 0xfec30000 0x00 0x100>; + interrupts = <0x00 0x117 0x04>; + clocks = <0x02 0x7f 0x02 0x80>; + gpio-controller; + #gpio-cells = <0x02>; + gpio-ranges = <0x177 0x00 0x40 0x20>; + interrupt-controller; + #interrupt-cells = <0x02>; + phandle = <0x1b9>; + }; + + gpio@fec40000 { + compatible = "rockchip,gpio-bank"; + reg = <0x00 0xfec40000 0x00 0x100>; + interrupts = <0x00 0x118 0x04>; + clocks = <0x02 0x81 0x02 0x82>; + gpio-controller; + #gpio-cells = <0x02>; + gpio-ranges = <0x177 0x00 0x60 0x20>; + interrupt-controller; + #interrupt-cells = <0x02>; + phandle = <0xee>; + }; + + gpio@fec50000 { + compatible = "rockchip,gpio-bank"; + reg = <0x00 0xfec50000 0x00 0x100>; + interrupts = <0x00 0x119 0x04>; + clocks = <0x02 0x83 0x02 0x84>; + gpio-controller; + #gpio-cells = <0x02>; + gpio-ranges = <0x177 0x00 0x80 0x20>; + interrupt-controller; + #interrupt-cells = <0x02>; + phandle = <0xe0>; + }; + + pcfg-pull-up { + bias-pull-up; + phandle = <0x17e>; + }; + + pcfg-pull-down { + bias-pull-down; + phandle = <0x181>; + }; + + pcfg-pull-none { + bias-disable; + phandle = <0x178>; + }; + + pcfg-pull-none-drv-level-2 { + bias-disable; + drive-strength = <0x02>; + phandle = <0x180>; + }; + + pcfg-pull-up-drv-level-1 { + bias-pull-up; + drive-strength = <0x01>; + phandle = <0x17f>; + }; + + pcfg-pull-up-drv-level-2 { + bias-pull-up; + drive-strength = <0x02>; + phandle = <0x179>; + }; + + pcfg-pull-up-drv-level-6 { + bias-pull-up; + drive-strength = <0x06>; + phandle = <0x17a>; + }; + + pcfg-pull-none-smt { + bias-disable; + input-schmitt-enable; + phandle = <0x17d>; + }; + + pcfg-pull-none-drv-level-1-smt { + bias-disable; + drive-strength = <0x01>; + input-schmitt-enable; + phandle = <0x17c>; + }; + + pcfg-pull-none-drv-level-5-smt { + bias-disable; + drive-strength = <0x05>; + input-schmitt-enable; + phandle = <0x17b>; + }; + + auddsm { + + auddsm-pins { + rockchip,pins = <0x03 0x01 0x04 0x178 0x03 0x02 0x04 0x178 0x03 0x03 0x04 0x178 0x03 0x04 0x04 0x178>; + phandle = <0x129>; + }; + }; + + bt1120 { + + bt1120-pins { + rockchip,pins = <0x04 0x08 0x02 0x178 0x04 0x00 0x02 0x178 0x04 0x01 0x02 0x178 0x04 0x02 0x02 0x178 0x04 0x03 0x02 0x178 0x04 0x04 0x02 0x178 0x04 0x05 0x02 0x178 0x04 0x06 0x02 0x178 0x04 0x07 0x02 0x178 0x04 0x0a 0x02 0x178 0x04 0x0b 0x02 0x178 0x04 0x0c 0x02 0x178 0x04 0x0d 0x02 0x178 0x04 0x0e 0x02 0x178 0x04 0x0f 0x02 0x178 0x04 0x10 0x02 0x178 0x04 0x11 0x02 0x178>; + phandle = <0x5c>; + }; + }; + + can0 { + + can0m0-pins { + rockchip,pins = <0x00 0x10 0x0b 0x178 0x00 0x0f 0x0b 0x178>; + phandle = <0x12a>; + }; + }; + + can1 { + + can1m1-pins { + rockchip,pins = <0x04 0x0a 0x0c 0x178 0x04 0x0b 0x0c 0x178>; + phandle = <0x12b>; + }; + }; + + can2 { + + can2m0-pins { + rockchip,pins = <0x03 0x14 0x09 0x178 0x03 0x15 0x09 0x178>; + phandle = <0x12c>; + }; + }; + + gmac1 { + + gmac1-miim { + rockchip,pins = <0x03 0x12 0x01 0x178 0x03 0x13 0x01 0x178>; + phandle = <0xf8>; + }; + + gmac1-rx-bus2 { + rockchip,pins = <0x03 0x07 0x01 0x178 0x03 0x08 0x01 0x178 0x03 0x09 0x01 0x178>; + phandle = <0xfa>; + }; + + gmac1-tx-bus2 { + rockchip,pins = <0x03 0x0b 0x01 0x17a 0x03 0x0c 0x01 0x17a 0x03 0x0d 0x01 0x178>; + phandle = <0xf9>; + }; + + gmac1-rgmii-clk { + rockchip,pins = <0x03 0x05 0x01 0x178 0x03 0x04 0x01 0x178>; + phandle = <0xfb>; + }; + + gmac1-rgmii-bus { + rockchip,pins = <0x03 0x02 0x01 0x178 0x03 0x03 0x01 0x178 0x03 0x00 0x01 0x17a 0x03 0x01 0x01 0x17a>; + phandle = <0xfc>; + }; + }; + + hdmi { + + hdmim0-tx0-cec { + rockchip,pins = <0x04 0x11 0x05 0x178>; + phandle = <0xdb>; + }; + + hdmim0-tx0-hpd { + rockchip,pins = <0x01 0x05 0x05 0x178>; + phandle = <0xdc>; + }; + + hdmim0-tx0-scl { + rockchip,pins = <0x04 0x0f 0x05 0x17b>; + phandle = <0xdd>; + }; + + hdmim0-tx0-sda { + rockchip,pins = <0x04 0x10 0x05 0x17c>; + phandle = <0xde>; + }; + + hdmim0-tx1-hpd { + rockchip,pins = <0x01 0x06 0x05 0x178>; + phandle = <0x18d>; + }; + + hdmim1-rx-cec { + rockchip,pins = <0x03 0x19 0x05 0x178>; + phandle = <0x197>; + }; + + hdmim1-rx-hpdin { + rockchip,pins = <0x03 0x1c 0x05 0x178>; + phandle = <0x198>; + }; + + hdmim1-rx-scl { + rockchip,pins = <0x03 0x1a 0x05 0x17d>; + phandle = <0x199>; + }; + + hdmim1-rx-sda { + rockchip,pins = <0x03 0x1b 0x05 0x17d>; + phandle = <0x19a>; + }; + + hdmim1-tx1-scl { + rockchip,pins = <0x03 0x16 0x05 0x17b>; + phandle = <0x18e>; + }; + + hdmim1-tx1-sda { + rockchip,pins = <0x03 0x15 0x05 0x17c>; + phandle = <0x18f>; + }; + + hdmim2-tx1-cec { + rockchip,pins = <0x03 0x14 0x05 0x178>; + phandle = <0x18c>; + }; + }; + + i2c0 { + + i2c0m2-xfer { + rockchip,pins = <0x00 0x19 0x03 0x17d 0x00 0x1a 0x03 0x17d>; + phandle = <0x62>; + }; + }; + + i2c1 { + + i2c1m2-xfer { + rockchip,pins = <0x00 0x1c 0x09 0x17d 0x00 0x1d 0x09 0x17d>; + phandle = <0x12d>; + }; + }; + + i2c2 { + + i2c2m0-xfer { + rockchip,pins = <0x00 0x0f 0x09 0x17d 0x00 0x10 0x09 0x17d>; + phandle = <0x12e>; + }; + }; + + i2c3 { + + i2c3m0-xfer { + rockchip,pins = <0x01 0x11 0x09 0x17d 0x01 0x10 0x09 0x17d>; + phandle = <0x12f>; + }; + }; + + i2c4 { + + i2c4m0-xfer { + rockchip,pins = <0x03 0x06 0x09 0x17d 0x03 0x05 0x09 0x17d>; + phandle = <0x131>; + }; + }; + + i2c5 { + + i2c5m0-xfer { + rockchip,pins = <0x03 0x17 0x09 0x17d 0x03 0x18 0x09 0x17d>; + phandle = <0x132>; + }; + }; + + i2c6 { + + i2c6m0-xfer { + rockchip,pins = <0x00 0x18 0x09 0x17d 0x00 0x17 0x09 0x17d>; + phandle = <0x15f>; + }; + }; + + i2c7 { + + i2c7m0-xfer { + rockchip,pins = <0x01 0x18 0x09 0x17d 0x01 0x19 0x09 0x17d>; + phandle = <0x166>; + }; + }; + + i2c8 { + + i2c8m0-xfer { + rockchip,pins = <0x04 0x1a 0x09 0x17d 0x04 0x1b 0x09 0x17d>; + phandle = <0x167>; + }; + }; + + i2s0 { + + i2s0-lrck { + rockchip,pins = <0x01 0x15 0x01 0x178>; + phandle = <0x105>; + }; + + i2s0-mclk { + rockchip,pins = <0x01 0x12 0x01 0x178>; + phandle = <0x130>; + }; + + i2s0-sclk { + rockchip,pins = <0x01 0x13 0x01 0x178>; + phandle = <0x106>; + }; + + i2s0-sdi0 { + rockchip,pins = <0x01 0x1c 0x02 0x178>; + phandle = <0x107>; + }; + + i2s0-sdo0 { + rockchip,pins = <0x01 0x17 0x01 0x178>; + phandle = <0x108>; + }; + }; + + i2s1 { + + i2s1m0-lrck { + rockchip,pins = <0x04 0x02 0x03 0x178>; + phandle = <0x109>; + }; + + i2s1m0-sclk { + rockchip,pins = <0x04 0x01 0x03 0x178>; + phandle = <0x10a>; + }; + + i2s1m0-sdi0 { + rockchip,pins = <0x04 0x05 0x03 0x178>; + phandle = <0x10b>; + }; + + i2s1m0-sdi1 { + rockchip,pins = <0x04 0x06 0x03 0x178>; + phandle = <0x10c>; + }; + + i2s1m0-sdi2 { + rockchip,pins = <0x04 0x07 0x03 0x178>; + phandle = <0x10d>; + }; + + i2s1m0-sdi3 { + rockchip,pins = <0x04 0x08 0x03 0x178>; + phandle = <0x10e>; + }; + + i2s1m0-sdo0 { + rockchip,pins = <0x04 0x09 0x03 0x178>; + phandle = <0x10f>; + }; + + i2s1m0-sdo1 { + rockchip,pins = <0x04 0x0a 0x03 0x178>; + phandle = <0x110>; + }; + + i2s1m0-sdo2 { + rockchip,pins = <0x04 0x0b 0x03 0x178>; + phandle = <0x111>; + }; + + i2s1m0-sdo3 { + rockchip,pins = <0x04 0x0c 0x03 0x178>; + phandle = <0x112>; + }; + }; + + i2s2 { + + i2s2m1-lrck { + rockchip,pins = <0x03 0x0e 0x03 0x178>; + phandle = <0x113>; + }; + + i2s2m1-sclk { + rockchip,pins = <0x03 0x0d 0x03 0x178>; + phandle = <0x114>; + }; + + i2s2m1-sdi { + rockchip,pins = <0x03 0x0a 0x03 0x178>; + phandle = <0x115>; + }; + + i2s2m1-sdo { + rockchip,pins = <0x03 0x0b 0x03 0x178>; + phandle = <0x116>; + }; + }; + + i2s3 { + + i2s3-lrck { + rockchip,pins = <0x03 0x02 0x03 0x178>; + phandle = <0x117>; + }; + + i2s3-sclk { + rockchip,pins = <0x03 0x01 0x03 0x178>; + phandle = <0x118>; + }; + + i2s3-sdi { + rockchip,pins = <0x03 0x04 0x03 0x178>; + phandle = <0x119>; + }; + + i2s3-sdo { + rockchip,pins = <0x03 0x03 0x03 0x178>; + phandle = <0x11a>; + }; + }; + + pdm0 { + + pdm0m0-clk { + rockchip,pins = <0x01 0x16 0x03 0x178>; + phandle = <0x11b>; + }; + + pdm0m0-clk1 { + rockchip,pins = <0x01 0x14 0x03 0x178>; + phandle = <0x11c>; + }; + + pdm0m0-sdi0 { + rockchip,pins = <0x01 0x1d 0x03 0x178>; + phandle = <0x11d>; + }; + + pdm0m0-sdi1 { + rockchip,pins = <0x01 0x19 0x03 0x178>; + phandle = <0x11e>; + }; + + pdm0m0-sdi2 { + rockchip,pins = <0x01 0x1a 0x03 0x178>; + phandle = <0x11f>; + }; + + pdm0m0-sdi3 { + rockchip,pins = <0x01 0x1b 0x03 0x178>; + phandle = <0x120>; + }; + }; + + pdm1 { + + pdm1m0-clk { + rockchip,pins = <0x04 0x1d 0x02 0x178>; + phandle = <0x121>; + }; + + pdm1m0-clk1 { + rockchip,pins = <0x04 0x1c 0x02 0x178>; + phandle = <0x122>; + }; + + pdm1m0-sdi0 { + rockchip,pins = <0x04 0x1b 0x02 0x178>; + phandle = <0x123>; + }; + + pdm1m0-sdi1 { + rockchip,pins = <0x04 0x1a 0x02 0x178>; + phandle = <0x124>; + }; + + pdm1m0-sdi2 { + rockchip,pins = <0x04 0x19 0x02 0x178>; + phandle = <0x125>; + }; + + pdm1m0-sdi3 { + rockchip,pins = <0x04 0x18 0x02 0x178>; + phandle = <0x126>; + }; + }; + + pmic { + + pmic-pins { + rockchip,pins = <0x00 0x07 0x00 0x17e 0x00 0x02 0x01 0x178 0x00 0x03 0x01 0x178 0x00 0x11 0x01 0x178 0x00 0x12 0x01 0x178 0x00 0x13 0x01 0x178 0x00 0x1e 0x01 0x178>; + phandle = <0x13c>; + }; + }; + + pwm0 { + + pwm0m0-pins { + rockchip,pins = <0x00 0x0f 0x03 0x178>; + phandle = <0x66>; + }; + }; + + pwm1 { + + pwm1m0-pins { + rockchip,pins = <0x00 0x10 0x03 0x178>; + phandle = <0x67>; + }; + }; + + pwm2 { + + pwm2m0-pins { + rockchip,pins = <0x00 0x14 0x03 0x178>; + phandle = <0x68>; + }; + }; + + pwm3 { + + pwm3m0-pins { + rockchip,pins = <0x00 0x1c 0x03 0x178>; + phandle = <0x69>; + }; + }; + + pwm4 { + + pwm4m0-pins { + rockchip,pins = <0x00 0x15 0x0b 0x178>; + phandle = <0x150>; + }; + }; + + pwm5 { + + pwm5m0-pins { + rockchip,pins = <0x00 0x09 0x03 0x178>; + phandle = <0x151>; + }; + }; + + pwm6 { + + pwm6m0-pins { + rockchip,pins = <0x00 0x17 0x0b 0x178>; + phandle = <0x152>; + }; + }; + + pwm7 { + + pwm7m0-pins { + rockchip,pins = <0x00 0x18 0x0b 0x178>; + phandle = <0x153>; + }; + }; + + pwm8 { + + pwm8m0-pins { + rockchip,pins = <0x03 0x07 0x0b 0x178>; + phandle = <0x154>; + }; + }; + + pwm9 { + + pwm9m0-pins { + rockchip,pins = <0x03 0x08 0x0b 0x178>; + phandle = <0x155>; + }; + }; + + pwm10 { + + pwm10m0-pins { + rockchip,pins = <0x03 0x00 0x0b 0x178>; + phandle = <0x156>; + }; + }; + + pwm11 { + + pwm11m0-pins { + rockchip,pins = <0x03 0x01 0x0b 0x178>; + phandle = <0x157>; + }; + }; + + pwm12 { + + pwm12m0-pins { + rockchip,pins = <0x03 0x0d 0x0b 0x178>; + phandle = <0x158>; + }; + }; + + pwm13 { + + pwm13m0-pins { + rockchip,pins = <0x03 0x0e 0x0b 0x178>; + phandle = <0x159>; + }; + }; + + pwm14 { + + pwm14m0-pins { + rockchip,pins = <0x03 0x12 0x0b 0x178>; + phandle = <0x15a>; + }; + }; + + pwm15 { + + pwm15m2-pins { + rockchip,pins = <0x01 0x16 0x0b 0x178>; + phandle = <0x15b>; + }; + }; + + sdio { + + sdiom1-pins { + rockchip,pins = <0x03 0x05 0x02 0x178 0x03 0x04 0x02 0x17e 0x03 0x00 0x02 0x17e 0x03 0x01 0x02 0x17e 0x03 0x02 0x02 0x17e 0x03 0x03 0x02 0x17e>; + phandle = <0x103>; + }; + }; + + sdmmc { + + sdmmc-bus4 { + rockchip,pins = <0x04 0x18 0x01 0x179 0x04 0x19 0x01 0x179 0x04 0x1a 0x01 0x179 0x04 0x1b 0x01 0x179>; + phandle = <0x101>; + }; + + sdmmc-clk { + rockchip,pins = <0x04 0x1d 0x01 0x179>; + phandle = <0xfe>; + }; + + sdmmc-cmd { + rockchip,pins = <0x04 0x1c 0x01 0x179>; + phandle = <0xff>; + }; + + sdmmc-det { + rockchip,pins = <0x00 0x04 0x01 0x17e>; + phandle = <0x100>; + }; + }; + + spdif0 { + + spdif0m0-tx { + rockchip,pins = <0x01 0x0e 0x03 0x178>; + phandle = <0x127>; + }; + }; + + spdif1 { + + spdif1m0-tx { + rockchip,pins = <0x01 0x0f 0x03 0x178>; + phandle = <0x128>; + }; + }; + + spi0 { + + spi0m0-pins { + rockchip,pins = <0x00 0x16 0x08 0x17a 0x00 0x17 0x08 0x17a 0x00 0x10 0x08 0x17a>; + phandle = <0x135>; + }; + + spi0m0-cs0 { + rockchip,pins = <0x00 0x19 0x08 0x17a>; + phandle = <0x133>; + }; + + spi0m0-cs1 { + rockchip,pins = <0x00 0x0f 0x08 0x17a>; + phandle = <0x134>; + }; + }; + + spi1 { + + spi1m1-pins { + rockchip,pins = <0x03 0x11 0x08 0x17a 0x03 0x10 0x08 0x17a 0x03 0x0f 0x08 0x17a>; + phandle = <0x138>; + }; + + spi1m1-cs0 { + rockchip,pins = <0x03 0x12 0x08 0x17a>; + phandle = <0x136>; + }; + + spi1m1-cs1 { + rockchip,pins = <0x03 0x13 0x08 0x17a>; + phandle = <0x137>; + }; + }; + + spi2 { + + spi2m2-pins { + rockchip,pins = <0x00 0x05 0x01 0x17f 0x00 0x0b 0x01 0x17f 0x00 0x06 0x01 0x17f>; + phandle = <0x13a>; + }; + + spi2m2-cs0 { + rockchip,pins = <0x00 0x09 0x01 0x17f>; + phandle = <0x139>; + }; + }; + + spi3 { + + spi3m1-pins { + rockchip,pins = <0x04 0x0f 0x08 0x17a 0x04 0x0d 0x08 0x17a 0x04 0x0e 0x08 0x17a>; + phandle = <0x145>; + }; + + spi3m1-cs0 { + rockchip,pins = <0x04 0x10 0x08 0x17a>; + phandle = <0x143>; + }; + + spi3m1-cs1 { + rockchip,pins = <0x04 0x11 0x08 0x17a>; + phandle = <0x144>; + }; + }; + + spi4 { + + spi4m0-pins { + rockchip,pins = <0x01 0x12 0x08 0x17a 0x01 0x10 0x08 0x17a 0x01 0x11 0x08 0x17a>; + phandle = <0x16a>; + }; + + spi4m0-cs0 { + rockchip,pins = <0x01 0x13 0x08 0x17a>; + phandle = <0x168>; + }; + + spi4m0-cs1 { + rockchip,pins = <0x01 0x14 0x08 0x17a>; + phandle = <0x169>; + }; + }; + + tsadc { + + tsadc-shut { + rockchip,pins = <0x00 0x01 0x02 0x178>; + phandle = <0x15d>; + }; + }; + + uart0 { + + uart0m2-xfer { + rockchip,pins = <0x04 0x04 0x0a 0x17e 0x04 0x03 0x0a 0x17e>; + phandle = <0x65>; + }; + }; + + uart1 { + + uart1m1-xfer { + rockchip,pins = <0x01 0x0f 0x0a 0x17e 0x01 0x0e 0x0a 0x17e>; + phandle = <0x146>; + }; + }; + + uart2 { + + uart2m0-xfer { + rockchip,pins = <0x00 0x0e 0x0a 0x17e 0x00 0x0d 0x0a 0x17e>; + phandle = <0x1ab>; + }; + + uart2m1-xfer { + rockchip,pins = <0x04 0x19 0x0a 0x17e 0x04 0x18 0x0a 0x17e>; + phandle = <0x147>; + }; + }; + + uart3 { + + uart3m1-xfer { + rockchip,pins = <0x03 0x0e 0x0a 0x17e 0x03 0x0d 0x0a 0x17e>; + phandle = <0x148>; + }; + }; + + uart4 { + + uart4m1-xfer { + rockchip,pins = <0x03 0x18 0x0a 0x17e 0x03 0x19 0x0a 0x17e>; + phandle = <0x149>; + }; + }; + + uart5 { + + uart5m1-xfer { + rockchip,pins = <0x03 0x15 0x0a 0x17e 0x03 0x14 0x0a 0x17e>; + phandle = <0x14a>; + }; + }; + + uart6 { + + uart6m1-xfer { + rockchip,pins = <0x01 0x00 0x0a 0x17e 0x01 0x01 0x0a 0x17e>; + phandle = <0x14b>; + }; + + uart6m1-ctsn { + rockchip,pins = <0x01 0x03 0x0a 0x178>; + phandle = <0x14c>; + }; + + uart6m1-rtsn { + rockchip,pins = <0x01 0x02 0x0a 0x178>; + phandle = <0x1c1>; + }; + }; + + uart7 { + + uart7m1-xfer { + rockchip,pins = <0x03 0x11 0x0a 0x17e 0x03 0x10 0x0a 0x17e>; + phandle = <0x14d>; + }; + }; + + uart8 { + + uart8m1-xfer { + rockchip,pins = <0x03 0x03 0x0a 0x17e 0x03 0x02 0x0a 0x17e>; + phandle = <0x14e>; + }; + }; + + uart9 { + + uart9m1-xfer { + rockchip,pins = <0x04 0x0d 0x0a 0x17e 0x04 0x0c 0x0a 0x17e>; + phandle = <0x14f>; + }; + }; + + gpio-func { + + tsadc-gpio-func { + rockchip,pins = <0x00 0x01 0x00 0x178>; + phandle = <0x15c>; + }; + }; + + gmac0 { + + gmac0-miim { + rockchip,pins = <0x04 0x14 0x01 0x178 0x04 0x15 0x01 0x178>; + phandle = <0xef>; + }; + + gmac0-rx-bus2 { + rockchip,pins = <0x02 0x11 0x01 0x178 0x02 0x12 0x01 0x178 0x04 0x12 0x01 0x178>; + phandle = <0xf1>; + }; + + gmac0-tx-bus2 { + rockchip,pins = <0x02 0x0e 0x01 0x17a 0x02 0x0f 0x01 0x17a 0x02 0x10 0x01 0x178>; + phandle = <0xf0>; + }; + + gmac0-rgmii-clk { + rockchip,pins = <0x02 0x08 0x01 0x178 0x02 0x0b 0x01 0x178>; + phandle = <0xf2>; + }; + + gmac0-rgmii-bus { + rockchip,pins = <0x02 0x06 0x01 0x178 0x02 0x07 0x01 0x178 0x02 0x09 0x01 0x17a 0x02 0x0a 0x01 0x17a>; + phandle = <0xf3>; + }; + }; + + dp { + + dp1-hpd { + rockchip,pins = <0x01 0x04 0x00 0x178>; + phandle = <0x188>; + }; + }; + + leds { + + leds-gpio { + rockchip,pins = <0x01 0x0b 0x00 0x178>; + phandle = <0x1ac>; + }; + }; + + hdmirx { + + hdmirx-det { + rockchip,pins = <0x01 0x1d 0x00 0x17e>; + phandle = <0x19b>; + }; + }; + + headphone { + + hp-det { + rockchip,pins = <0x01 0x14 0x00 0x178>; + phandle = <0x1b6>; + }; + }; + + hym8563 { + + hym8563-int { + rockchip,pins = <0x00 0x08 0x00 0x17e>; + phandle = <0x160>; + }; + }; + + lcd { + + lcd-rst-gpio { + rockchip,pins = <0x02 0x0c 0x00 0x178>; + }; + }; + + touch { + + touch-gpio { + rockchip,pins = <0x00 0x1d 0x00 0x17e 0x00 0x16 0x00 0x178>; + }; + }; + + usb-typec { + + usbc0-int { + rockchip,pins = <0x00 0x1b 0x00 0x17e>; + phandle = <0x161>; + }; + }; + + wireless-bluetooth { + + uart6-gpios { + rockchip,pins = <0x01 0x02 0x00 0x178>; + phandle = <0x1c5>; + }; + + bt-reset-gpio { + rockchip,pins = <0x00 0x16 0x00 0x178>; + phandle = <0x1c2>; + }; + + bt-wake-gpio { + rockchip,pins = <0x00 0x15 0x00 0x178>; + phandle = <0x1c3>; + }; + + bt-irq-gpio { + rockchip,pins = <0x00 0x00 0x00 0x181>; + phandle = <0x1c4>; + }; + }; + + wireless-wlan { + + wifi-host-wake-irq { + rockchip,pins = <0x00 0x0a 0x00 0x181>; + }; + + wifi-poweren-gpio { + rockchip,pins = <0x00 0x14 0x00 0x17e>; + phandle = <0x1c6>; + }; + }; + }; + + csi2-dphy3 { + compatible = "rockchip,rk3568-csi2-dphy"; + rockchip,hw = <0x182>; + status = "disabled"; + }; + + csi2-dphy4 { + compatible = "rockchip,rk3568-csi2-dphy"; + rockchip,hw = <0x182>; + status = "disabled"; + }; + + csi2-dphy5 { + compatible = "rockchip,rk3568-csi2-dphy"; + rockchip,hw = <0x182>; + status = "disabled"; + }; + + rkcif-mipi-lvds4 { + compatible = "rockchip,rkcif-mipi-lvds"; + rockchip,hw = <0x3f>; + iommus = <0x40>; + status = "disabled"; + phandle = <0x183>; + }; + + rkcif-mipi-lvds4-sditf { + compatible = "rockchip,rkcif-sditf"; + rockchip,cif = <0x183>; + status = "disabled"; + }; + + rkcif-mipi-lvds4-sditf-vir1 { + compatible = "rockchip,rkcif-sditf"; + rockchip,cif = <0x183>; + status = "disabled"; + }; + + rkcif-mipi-lvds4-sditf-vir2 { + compatible = "rockchip,rkcif-sditf"; + rockchip,cif = <0x183>; + status = "disabled"; + }; + + rkcif-mipi-lvds4-sditf-vir3 { + compatible = "rockchip,rkcif-sditf"; + rockchip,cif = <0x183>; + status = "disabled"; + }; + + rkcif-mipi-lvds5 { + compatible = "rockchip,rkcif-mipi-lvds"; + rockchip,hw = <0x3f>; + iommus = <0x40>; + status = "disabled"; + phandle = <0x184>; + }; + + rkcif-mipi-lvds5-sditf { + compatible = "rockchip,rkcif-sditf"; + rockchip,cif = <0x184>; + status = "disabled"; + }; + + rkcif-mipi-lvds5-sditf-vir1 { + compatible = "rockchip,rkcif-sditf"; + rockchip,cif = <0x184>; + status = "disabled"; + }; + + rkcif-mipi-lvds5-sditf-vir2 { + compatible = "rockchip,rkcif-sditf"; + rockchip,cif = <0x184>; + status = "disabled"; + }; + + rkcif-mipi-lvds5-sditf-vir3 { + compatible = "rockchip,rkcif-sditf"; + rockchip,cif = <0x184>; + status = "disabled"; + }; + + usbdrd3_1 { + compatible = "rockchip,rk3588-dwc3\0rockchip,rk3399-dwc3"; + clocks = <0x02 0x1a6 0x02 0x1a5 0x02 0x1a4>; + clock-names = "ref\0suspend\0bus"; + #address-cells = <0x02>; + #size-cells = <0x02>; + ranges; + status = "okay"; + + usb@fc400000 { + compatible = "snps,dwc3"; + reg = <0x00 0xfc400000 0x00 0x400000>; + interrupts = <0x00 0xdd 0x04>; + power-domains = <0x4d 0x1f>; + resets = <0x02 0x2a7>; + reset-names = "usb3-otg"; + dr_mode = "host"; + phys = <0x185 0x186>; + phy-names = "usb2-phy\0usb3-phy"; + phy_type = "utmi_wide"; + snps,dis_enblslpm_quirk; + snps,dis-u2-freeclk-exists-quirk; + snps,dis-del-phy-power-chg-quirk; + snps,dis-tx-ipgap-linecheck-quirk; + snps,parkmode-disable-ss-quirk; + status = "okay"; + }; + }; + + syscon@fd5b8000 { + compatible = "rockchip,pcie30-phy-grf\0syscon"; + reg = <0x00 0xfd5b8000 0x00 0x10000>; + phandle = <0x1a9>; + }; + + syscon@fd5c0000 { + compatible = "rockchip,pipe-phy-grf\0syscon"; + reg = <0x00 0xfd5c0000 0x00 0x100>; + phandle = <0x1a8>; + }; + + syscon@fd5cc000 { + compatible = "rockchip,rk3588-usbdpphy-grf\0syscon"; + reg = <0x00 0xfd5cc000 0x00 0x4000>; + phandle = <0x1a5>; + }; + + syscon@fd5d4000 { + compatible = "rockchip,rk3588-usb2phy-grf\0syscon\0simple-mfd"; + reg = <0x00 0xfd5d4000 0x00 0x4000>; + #address-cells = <0x01>; + #size-cells = <0x01>; + phandle = <0x1a4>; + + usb2-phy@4000 { + compatible = "rockchip,rk3588-usb2phy"; + reg = <0x4000 0x10>; + interrupts = <0x00 0x18a 0x04>; + resets = <0x02 0xc0048 0x02 0x489>; + reset-names = "phy\0apb"; + clocks = <0x02 0x2b5>; + clock-names = "phyclk"; + clock-output-names = "usb480m_phy1"; + #clock-cells = <0x00>; + rockchip,usbctrl-grf = <0x5f>; + status = "okay"; + phandle = <0x1a6>; + + otg-port { + #phy-cells = <0x00>; + status = "okay"; + phy-supply = <0x60>; + phandle = <0x185>; + }; + }; + }; + + syscon@fd5e4000 { + compatible = "rockchip,rk3588-hdptxphy-grf\0syscon"; + reg = <0x00 0xfd5e4000 0x00 0x100>; + phandle = <0x1a3>; + }; + + mipi4-csi2@fdd50000 { + compatible = "rockchip,rk3588-mipi-csi2"; + reg = <0x00 0xfdd50000 0x00 0x10000>; + reg-names = "csihost_regs"; + interrupts = <0x00 0x97 0x04 0x00 0x98 0x04>; + interrupt-names = "csi-intr1\0csi-intr2"; + clocks = <0x02 0x1d3>; + clock-names = "pclk_csi2host"; + resets = <0x02 0x328 0x02 0x338>; + reset-names = "srst_csihost_p\0srst_csihost_vicap"; + status = "disabled"; + }; + + mipi5-csi2@fdd60000 { + compatible = "rockchip,rk3588-mipi-csi2"; + reg = <0x00 0xfdd60000 0x00 0x10000>; + reg-names = "csihost_regs"; + interrupts = <0x00 0x99 0x04 0x00 0x9a 0x04>; + interrupt-names = "csi-intr1\0csi-intr2"; + clocks = <0x02 0x1d4>; + clock-names = "pclk_csi2host"; + resets = <0x02 0x329 0x02 0x339>; + reset-names = "srst_csihost_p\0srst_csihost_vicap"; + status = "disabled"; + }; + + spdif-tx@fddb8000 { + compatible = "rockchip,rk3588-spdif\0rockchip,rk3568-spdif"; + reg = <0x00 0xfddb8000 0x00 0x1000>; + interrupts = <0x00 0xc6 0x04>; + dmas = <0xd3 0x16>; + dma-names = "tx"; + clock-names = "mclk\0hclk"; + clocks = <0x02 0x20f 0x02 0x20a>; + assigned-clocks = <0x02 0x20b>; + assigned-clock-parents = <0x02 0x05>; + power-domains = <0x4d 0x19>; + #sound-dai-cells = <0x00>; + status = "disabled"; + phandle = <0x1be>; + }; + + i2s@fddc8000 { + compatible = "rockchip,rk3588-i2s-tdm"; + reg = <0x00 0xfddc8000 0x00 0x1000>; + interrupts = <0x00 0xbc 0x04>; + clocks = <0x02 0x201 0x02 0x1fe>; + clock-names = "mclk_tx\0hclk"; + assigned-clocks = <0x02 0x1ff>; + assigned-clock-parents = <0x02 0x05>; + dmas = <0xd4 0x16>; + dma-names = "tx"; + power-domains = <0x4d 0x19>; + resets = <0x02 0x391>; + reset-names = "tx-m"; + rockchip,playback-only; + #sound-dai-cells = <0x00>; + status = "disabled"; + }; + + spdif-tx@fdde8000 { + compatible = "rockchip,rk3588-spdif\0rockchip,rk3568-spdif"; + reg = <0x00 0xfdde8000 0x00 0x1000>; + interrupts = <0x00 0xc5 0x04>; + dmas = <0xd3 0x08>; + dma-names = "tx"; + clock-names = "mclk\0hclk"; + clocks = <0x02 0x25c 0x02 0x258>; + assigned-clocks = <0x02 0x259>; + assigned-clock-parents = <0x02 0x05>; + power-domains = <0x4d 0x1a>; + #sound-dai-cells = <0x00>; + status = "disabled"; + }; + + i2s@fddf4000 { + compatible = "rockchip,rk3588-i2s-tdm"; + reg = <0x00 0xfddf4000 0x00 0x1000>; + interrupts = <0x00 0xba 0x04>; + clocks = <0x02 0x24c 0x02 0x24c 0x02 0x252>; + clock-names = "mclk_tx\0mclk_rx\0hclk"; + assigned-clocks = <0x02 0x249>; + assigned-clock-parents = <0x02 0x07>; + dmas = <0xd4 0x04>; + dma-names = "tx"; + power-domains = <0x4d 0x1a>; + resets = <0x02 0x3ef>; + reset-names = "tx-m"; + rockchip,always-on; + rockchip,hdmi-path; + rockchip,playback-only; + #sound-dai-cells = <0x00>; + status = "okay"; + phandle = <0x1bc>; + }; + + i2s@fddf8000 { + compatible = "rockchip,rk3588-i2s-tdm"; + reg = <0x00 0xfddf8000 0x00 0x1000>; + interrupts = <0x00 0xbb 0x04>; + clocks = <0x02 0x23c 0x02 0x23c 0x02 0x238>; + clock-names = "mclk_tx\0mclk_rx\0hclk"; + assigned-clocks = <0x02 0x239>; + assigned-clock-parents = <0x02 0x05>; + dmas = <0xd4 0x15>; + dma-names = "rx"; + power-domains = <0x4d 0x1a>; + resets = <0x02 0x3c3>; + reset-names = "rx-m"; + rockchip,capture-only; + #sound-dai-cells = <0x00>; + status = "okay"; + phandle = <0x1c8>; + }; + + i2s@fde00000 { + compatible = "rockchip,rk3588-i2s-tdm"; + reg = <0x00 0xfde00000 0x00 0x1000>; + interrupts = <0x00 0xbe 0x04>; + clocks = <0x02 0x237 0x02 0x237 0x02 0x233>; + clock-names = "mclk_tx\0mclk_rx\0hclk"; + assigned-clocks = <0x02 0x234>; + assigned-clock-parents = <0x02 0x05>; + dmas = <0xd4 0x18>; + dma-names = "rx"; + power-domains = <0x4d 0x1a>; + resets = <0x02 0x417>; + reset-names = "rx-m"; + rockchip,capture-only; + #sound-dai-cells = <0x00>; + status = "disabled"; + }; + + spdif-rx@fde10000 { + compatible = "rockchip,rk3588-spdifrx\0rockchip,rk3308-spdifrx"; + reg = <0x00 0xfde10000 0x00 0x1000>; + interrupts = <0x00 0xc8 0x04>; + clocks = <0x02 0x260 0x02 0x25f>; + clock-names = "mclk\0hclk"; + assigned-clocks = <0x02 0x260>; + assigned-clock-parents = <0x02 0x05>; + dmas = <0x64 0x16>; + dma-names = "rx"; + power-domains = <0x4d 0x1a>; + resets = <0x02 0x3ff>; + reset-names = "spdifrx-m"; + #sound-dai-cells = <0x00>; + status = "disabled"; + }; + + spdif-rx@fde18000 { + compatible = "rockchip,rk3588-spdifrx\0rockchip,rk3308-spdifrx"; + reg = <0x00 0xfde18000 0x00 0x1000>; + interrupts = <0x00 0xc9 0x04>; + clocks = <0x02 0x262 0x02 0x261>; + clock-names = "mclk\0hclk"; + assigned-clocks = <0x02 0x262>; + assigned-clock-parents = <0x02 0x05>; + dmas = <0x64 0x17>; + dma-names = "rx"; + power-domains = <0x4d 0x1a>; + resets = <0x02 0x401>; + reset-names = "spdifrx-m"; + #sound-dai-cells = <0x00>; + status = "disabled"; + }; + + dp@fde60000 { + compatible = "rockchip,rk3588-dp"; + reg = <0x00 0xfde60000 0x00 0x4000>; + interrupts = <0x00 0xa2 0x04>; + clocks = <0x02 0x1e7 0x02 0x2cd 0x02 0x201 0x02 0x20d 0x04>; + clock-names = "apb\0aux\0i2s\0spdif\0hclk"; + assigned-clocks = <0x02 0x2cd>; + assigned-clock-rates = <0xf42400>; + resets = <0x02 0x389>; + phys = <0x187>; + power-domains = <0x4d 0x19>; + #sound-dai-cells = <0x01>; + status = "disabled"; + pinctrl-names = "default"; + pinctrl-0 = <0x188>; + hpd-gpios = <0x189 0x04 0x00>; + phandle = <0x1bf>; + + ports { + #address-cells = <0x01>; + #size-cells = <0x00>; + + port@0 { + reg = <0x00>; + #address-cells = <0x01>; + #size-cells = <0x00>; + + endpoint@0 { + reg = <0x00>; + remote-endpoint = <0x18a>; + status = "disabled"; + phandle = <0xbf>; + }; + + endpoint@1 { + reg = <0x01>; + remote-endpoint = <0x18b>; + status = "disabled"; + phandle = <0xc5>; + }; + + endpoint@2 { + reg = <0x02>; + remote-endpoint = <0x37>; + status = "disabled"; + phandle = <0xcd>; + }; + }; + }; + }; + + hdmi@fdea0000 { + compatible = "rockchip,rk3588-dw-hdmi"; + reg = <0x00 0xfdea0000 0x00 0x20000>; + interrupts = <0x00 0xad 0x04 0x00 0xae 0x04 0x00 0xaf 0x04 0x00 0xb0 0x04 0x00 0x169 0x04>; + clocks = <0x02 0x224 0x02 0x266 0x02 0x225 0x02 0x226 0x02 0x24c 0x02 0x274 0x02 0x275 0x02 0x276 0x02 0x277 0x05 0x2f>; + clock-names = "pclk\0hpd\0earc\0hdmitx_ref\0aud\0dclk_vp0\0dclk_vp1\0dclk_vp2\0dclk_vp3\0hclk_vo1\0link_clk"; + resets = <0x02 0x3d7 0x02 0x49d>; + reset-names = "ref\0hdp"; + power-domains = <0x4d 0x1a>; + pinctrl-names = "default"; + pinctrl-0 = <0x18c 0x18d 0x18e 0x18f>; + reg-io-width = <0x04>; + rockchip,grf = <0xb7>; + rockchip,vo1_grf = <0xba>; + phys = <0x190>; + phy-names = "hdmi"; + #sound-dai-cells = <0x00>; + status = "disabled"; + enable-gpios = <0xe0 0x0a 0x00>; + phandle = <0x1bd>; + + ports { + #address-cells = <0x01>; + #size-cells = <0x00>; + + port@0 { + reg = <0x00>; + #address-cells = <0x01>; + #size-cells = <0x00>; + + endpoint@0 { + reg = <0x00>; + remote-endpoint = <0x191>; + status = "disabled"; + phandle = <0xc1>; + }; + + endpoint@1 { + reg = <0x01>; + remote-endpoint = <0x38>; + status = "disabled"; + phandle = <0xc7>; + }; + + endpoint@2 { + reg = <0x02>; + remote-endpoint = <0x192>; + status = "disabled"; + phandle = <0xcf>; + }; + }; + }; + }; + + edp@fded0000 { + compatible = "rockchip,rk3588-edp"; + reg = <0x00 0xfded0000 0x00 0x1000>; + interrupts = <0x00 0xa4 0x04>; + clocks = <0x02 0x214 0x02 0x213 0x02 0x215 0x05>; + clock-names = "dp\0pclk\0spdif\0hclk"; + resets = <0x02 0x3e4 0x02 0x3e3>; + reset-names = "dp\0apb"; + phys = <0x193>; + phy-names = "dp"; + power-domains = <0x4d 0x1a>; + rockchip,grf = <0xba>; + status = "disabled"; + + ports { + #address-cells = <0x01>; + #size-cells = <0x00>; + + port@0 { + reg = <0x00>; + #address-cells = <0x01>; + #size-cells = <0x00>; + + endpoint@0 { + reg = <0x00>; + remote-endpoint = <0x194>; + status = "disabled"; + phandle = <0xc0>; + }; + + endpoint@1 { + reg = <0x01>; + remote-endpoint = <0x195>; + status = "disabled"; + phandle = <0xc6>; + }; + + endpoint@2 { + reg = <0x02>; + remote-endpoint = <0x196>; + status = "disabled"; + phandle = <0xce>; + }; + }; + }; + }; + + hdmirx-controller@fdee0000 { + compatible = "rockchip,rk3588-hdmirx-ctrler\0rockchip,hdmirx-ctrler"; + reg = <0x00 0xfdee0000 0x00 0x6000>; + reg-names = "hdmirx_regs"; + power-domains = <0x4d 0x1a>; + rockchip,grf = <0xb7>; + rockchip,vo1_grf = <0xba>; + interrupts = <0x00 0xb1 0x04 0x00 0x1b4 0x04 0x00 0xb3 0x04>; + interrupt-names = "cec\0hdmi\0dma"; + clocks = <0x02 0x21a 0x02 0x21f 0x02 0x2b2 0x02 0x21b 0x02 0x21c 0x02 0x232 0x05>; + clock-names = "aclk\0audio\0cr_para\0pclk\0ref\0hclk_s_hdmirx\0hclk_vo1"; + resets = <0x02 0x3d9 0x02 0x3da 0x02 0x3db 0x02 0x3b7>; + reset-names = "rst_a\0rst_p\0rst_ref\0rst_biu"; + pinctrl-0 = <0x197 0x198 0x199 0x19a 0x19b>; + pinctrl-names = "default"; + status = "disabled"; + hpd-trigger-level = <0x01>; + hdmirx-det-gpios = <0x189 0x1d 0x01>; + }; + + pcie@fe150000 { + compatible = "rockchip,rk3588-pcie\0snps,dw-pcie"; + #address-cells = <0x03>; + #size-cells = <0x02>; + bus-range = <0x00 0x0f>; + clocks = <0x02 0x14e 0x02 0x153 0x02 0x149 0x02 0x158 0x02 0x15e 0x02 0x183>; + clock-names = "aclk_mst\0aclk_slv\0aclk_dbi\0pclk\0aux\0pipe"; + device_type = "pci"; + interrupts = <0x00 0x107 0x04 0x00 0x106 0x04 0x00 0x105 0x04 0x00 0x104 0x04 0x00 0x103 0x04>; + interrupt-names = "sys\0pmc\0msg\0legacy\0err"; + #interrupt-cells = <0x01>; + interrupt-map-mask = <0x00 0x00 0x00 0x07>; + interrupt-map = <0x00 0x00 0x00 0x01 0x19c 0x00 0x00 0x00 0x00 0x02 0x19c 0x01 0x00 0x00 0x00 0x03 0x19c 0x02 0x00 0x00 0x00 0x04 0x19c 0x03>; + linux,pci-domain = <0x00>; + num-ib-windows = <0x10>; + num-ob-windows = <0x10>; + num-viewport = <0x08>; + max-link-speed = <0x03>; + msi-map = <0x00 0x19d 0x00 0x1000>; + num-lanes = <0x04>; + phys = <0x19e>; + phy-names = "pcie-phy"; + power-domains = <0x4d 0x22>; + ranges = <0x800 0x00 0xf0000000 0x00 0xf0000000 0x00 0x100000 0x81000000 0x00 0xf0100000 0x00 0xf0100000 0x00 0x100000 0x82000000 0x00 0xf0200000 0x00 0xf0200000 0x00 0xe00000 0xc3000000 0x09 0x00 0x09 0x00 0x00 0x40000000>; + reg = <0x00 0xfe150000 0x00 0x10000 0x0a 0x40000000 0x00 0x400000>; + reg-names = "pcie-apb\0pcie-dbi"; + resets = <0x02 0x20d 0x02 0x21c>; + reset-names = "pcie\0periph"; + rockchip,pipe-grf = <0x61>; + status = "disabled"; + reset-gpios = <0xe0 0x0e 0x00>; + vpcie3v3-supply = <0x19f>; + + legacy-interrupt-controller { + interrupt-controller; + #address-cells = <0x00>; + #interrupt-cells = <0x01>; + interrupt-parent = <0x01>; + interrupts = <0x00 0x104 0x01>; + phandle = <0x19c>; + }; + }; + + pcie@fe160000 { + compatible = "rockchip,rk3588-pcie\0snps,dw-pcie"; + #address-cells = <0x03>; + #size-cells = <0x02>; + bus-range = <0x10 0x1f>; + clocks = <0x02 0x14f 0x02 0x154 0x02 0x14a 0x02 0x159 0x02 0x15f 0x02 0x184>; + clock-names = "aclk_mst\0aclk_slv\0aclk_dbi\0pclk\0aux\0pipe"; + device_type = "pci"; + interrupts = <0x00 0x102 0x04 0x00 0x101 0x04 0x00 0x100 0x04 0x00 0xff 0x04 0x00 0xfe 0x04>; + interrupt-names = "sys\0pmc\0msg\0legacy\0err"; + #interrupt-cells = <0x01>; + interrupt-map-mask = <0x00 0x00 0x00 0x07>; + interrupt-map = <0x00 0x00 0x00 0x01 0x1a0 0x00 0x00 0x00 0x00 0x02 0x1a0 0x01 0x00 0x00 0x00 0x03 0x1a0 0x02 0x00 0x00 0x00 0x04 0x1a0 0x03>; + linux,pci-domain = <0x01>; + num-ib-windows = <0x10>; + num-ob-windows = <0x10>; + num-viewport = <0x08>; + max-link-speed = <0x03>; + msi-map = <0x1000 0x19d 0x1000 0x1000>; + num-lanes = <0x02>; + phys = <0x19e>; + phy-names = "pcie-phy"; + power-domains = <0x4d 0x22>; + ranges = <0x800 0x00 0xf1000000 0x00 0xf1000000 0x00 0x100000 0x81000000 0x00 0xf1100000 0x00 0xf1100000 0x00 0x100000 0x82000000 0x00 0xf1200000 0x00 0xf1200000 0x00 0xe00000 0xc3000000 0x09 0x40000000 0x09 0x40000000 0x00 0x40000000>; + reg = <0x00 0xfe160000 0x00 0x10000 0x0a 0x40400000 0x00 0x400000>; + reg-names = "pcie-apb\0pcie-dbi"; + resets = <0x02 0x20e 0x02 0x21d>; + reset-names = "pcie\0periph"; + rockchip,pipe-grf = <0x61>; + status = "disabled"; + + legacy-interrupt-controller { + interrupt-controller; + #address-cells = <0x00>; + #interrupt-cells = <0x01>; + interrupt-parent = <0x01>; + interrupts = <0x00 0xff 0x01>; + phandle = <0x1a0>; + }; + }; + + pcie@fe170000 { + compatible = "rockchip,rk3588-pcie\0snps,dw-pcie"; + #address-cells = <0x03>; + #size-cells = <0x02>; + bus-range = <0x20 0x2f>; + clocks = <0x02 0x150 0x02 0x155 0x02 0x14b 0x02 0x15b 0x02 0x160 0x02 0x2c4>; + clock-names = "aclk_mst\0aclk_slv\0aclk_dbi\0pclk\0aux\0pipe"; + device_type = "pci"; + interrupts = <0x00 0xf3 0x04 0x00 0xf2 0x04 0x00 0xf1 0x04 0x00 0xf0 0x04 0x00 0xef 0x04>; + interrupt-names = "sys\0pmc\0msg\0legacy\0err"; + #interrupt-cells = <0x01>; + interrupt-map-mask = <0x00 0x00 0x00 0x07>; + interrupt-map = <0x00 0x00 0x00 0x01 0x1a1 0x00 0x00 0x00 0x00 0x02 0x1a1 0x01 0x00 0x00 0x00 0x03 0x1a1 0x02 0x00 0x00 0x00 0x04 0x1a1 0x03>; + linux,pci-domain = <0x02>; + num-ib-windows = <0x08>; + num-ob-windows = <0x08>; + num-viewport = <0x04>; + max-link-speed = <0x02>; + msi-map = <0x2000 0xe8 0x2000 0x1000>; + num-lanes = <0x01>; + phys = <0x1a2 0x02>; + phy-names = "pcie-phy"; + ranges = <0x800 0x00 0xf2000000 0x00 0xf2000000 0x00 0x100000 0x81000000 0x00 0xf2100000 0x00 0xf2100000 0x00 0x100000 0x82000000 0x00 0xf2200000 0x00 0xf2200000 0x00 0xe00000 0xc3000000 0x09 0x80000000 0x09 0x80000000 0x00 0x40000000>; + reg = <0x00 0xfe170000 0x00 0x10000 0x0a 0x40800000 0x00 0x400000>; + reg-names = "pcie-apb\0pcie-dbi"; + resets = <0x02 0x20f 0x02 0x21e>; + reset-names = "pcie\0periph"; + rockchip,pipe-grf = <0x61>; + status = "disabled"; + reset-gpios = <0x189 0x0c 0x00>; + rockchip,skip-scan-in-resume; + + legacy-interrupt-controller { + interrupt-controller; + #address-cells = <0x00>; + #interrupt-cells = <0x01>; + interrupt-parent = <0x01>; + interrupts = <0x00 0xf0 0x01>; + phandle = <0x1a1>; + }; + }; + + sata@fe220000 { + compatible = "rockchip,rk-ahci\0snps,dwc-ahci"; + reg = <0x00 0xfe220000 0x00 0x1000>; + clocks = <0x02 0x172 0x02 0x16f 0x02 0x175 0x02 0x164 0x02 0x17f>; + clock-names = "sata\0pmalive\0rxoob\0ref\0asic"; + interrupts = <0x00 0x112 0x04>; + interrupt-names = "hostc"; + phys = <0x1a2 0x01>; + phy-names = "sata-phy"; + ports-implemented = <0x01>; + status = "disabled"; + }; + + phy@fed70000 { + compatible = "rockchip,rk3588-hdptx-phy"; + reg = <0x00 0xfed70000 0x00 0x2000>; + clocks = <0x02 0x2b5 0x02 0x268>; + clock-names = "ref\0apb"; + resets = <0x02 0x486 0x02 0xc003f 0x02 0xc0040 0x02 0xc0041>; + reset-names = "apb\0init\0cmn\0lane"; + rockchip,grf = <0x1a3>; + #phy-cells = <0x00>; + status = "disabled"; + phandle = <0x193>; + }; + + hdmiphy@fed70000 { + compatible = "rockchip,rk3588-hdptx-phy-hdmi"; + reg = <0x00 0xfed70000 0x00 0x2000>; + clocks = <0x02 0x2b5 0x02 0x268>; + clock-names = "ref\0apb"; + resets = <0x02 0x491 0x02 0x486 0x02 0xc003f 0x02 0xc0040 0x02 0xc0041 0x02 0x48f 0x02 0x490>; + reset-names = "phy\0apb\0init\0cmn\0lane\0ropll\0lcpll"; + rockchip,grf = <0x1a3>; + #phy-cells = <0x00>; + status = "disabled"; + phandle = <0x190>; + + clk-port { + #clock-cells = <0x00>; + status = "okay"; + phandle = <0x2f>; + }; + }; + + phy@fed90000 { + compatible = "rockchip,rk3588-usbdp-phy"; + reg = <0x00 0xfed90000 0x00 0x10000>; + rockchip,u2phy-grf = <0x1a4>; + rockchip,usb-grf = <0x5f>; + rockchip,usbdpphy-grf = <0x1a5>; + rockchip,vo-grf = <0xd7>; + clocks = <0x02 0x2b6 0x02 0x280 0x02 0x26a 0x1a6>; + clock-names = "refclk\0immortal\0pclk\0utmi"; + resets = <0x02 0x2f 0x02 0x30 0x02 0x31 0x02 0x32 0x02 0x484>; + reset-names = "init\0cmn\0lane\0pcs_apb\0pma_apb"; + status = "okay"; + rockchip,dp-lane-mux = <0x00 0x01>; + + dp-port { + #phy-cells = <0x00>; + status = "okay"; + phandle = <0x187>; + }; + + u3-port { + #phy-cells = <0x00>; + status = "okay"; + phandle = <0x186>; + }; + }; + + csi2-dphy1-hw@fedc8000 { + compatible = "rockchip,rk3588-csi2-dphy-hw"; + reg = <0x00 0xfedc8000 0x00 0x8000>; + clocks = <0x02 0x10d>; + clock-names = "pclk"; + resets = <0x02 0x19 0x02 0x18>; + reset-names = "srst_csiphy1\0srst_p_csiphy1"; + rockchip,grf = <0x1a7>; + rockchip,sys_grf = <0xb7>; + status = "disabled"; + phandle = <0x182>; + }; + + phy@fee10000 { + compatible = "rockchip,rk3588-naneng-combphy"; + reg = <0x00 0xfee10000 0x00 0x100>; + #phy-cells = <0x01>; + clocks = <0x02 0x2be 0x02 0x186 0x02 0x166>; + clock-names = "refclk\0apbclk\0phpclk"; + assigned-clocks = <0x02 0x2be>; + assigned-clock-rates = <0x5f5e100>; + resets = <0x02 0x20006 0x02 0x4d7>; + reset-names = "combphy-apb\0combphy"; + rockchip,pipe-grf = <0x61>; + rockchip,pipe-phy-grf = <0x1a8>; + rockchip,pcie1ln-sel-bits = <0x100 0x00 0x00 0x00>; + status = "okay"; + phandle = <0x1a2>; + }; + + phy@fee80000 { + compatible = "rockchip,rk3588-pcie3-phy"; + reg = <0x00 0xfee80000 0x00 0x20000>; + #phy-cells = <0x00>; + clocks = <0x02 0x188>; + clock-names = "pclk"; + resets = <0x02 0x2000a>; + reset-names = "phy"; + rockchip,pipe-grf = <0x61>; + rockchip,phy-grf = <0x1a9>; + status = "disabled"; + phandle = <0x19e>; + }; + + test-power { + status = "okay"; + }; + + vcc12v-dcin { + compatible = "regulator-fixed"; + regulator-name = "vcc12v_dcin"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <0xb71b00>; + regulator-max-microvolt = <0xb71b00>; + phandle = <0x1aa>; + }; + + vcc5v0-sys { + compatible = "regulator-fixed"; + regulator-name = "vcc5v0_sys"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <0x4c4b40>; + regulator-max-microvolt = <0x4c4b40>; + vin-supply = <0x1aa>; + phandle = <0x63>; + }; + + vcc5v0-usbdcin { + compatible = "regulator-fixed"; + regulator-name = "vcc5v0_usbdcin"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <0x4c4b40>; + regulator-max-microvolt = <0x4c4b40>; + vin-supply = <0x1aa>; + }; + + vcc5v0-usb { + compatible = "regulator-fixed"; + regulator-name = "vcc5v0_usb"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <0x4c4b40>; + regulator-max-microvolt = <0x4c4b40>; + vin-supply = <0x1aa>; + phandle = <0x1b7>; + }; + + vcc-1v1-nldo-s3 { + compatible = "regulator-fixed"; + regulator-name = "vcc_1v1_nldo_s3"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <0x10c8e0>; + regulator-max-microvolt = <0x10c8e0>; + vin-supply = <0x63>; + phandle = <0x142>; + }; + + chosen { + bootargs = "storagemedia=emmc androidboot.storagemedia=emmc androidboot.mode=normal storagenode=/mmc@fe2e0000 androidboot.verifiedbootstate=orange rw rootwait earlycon=video,efifb,800x600,32 console=tty2 irqchip.gicv3_pseudo_nmi=0 root=PARTLABEL=rootfs rootfstype=ext4 overlayroot=device:dev=PARTLABEL=userdata,fstype=ext4,mkfs=1 coherent_pool=1m systemd.gpt_auto=0 cgroup_enable=memory swapaccount=1 loglevel=7 nokaslr"; + }; + + memory@40000000 { + device_type = "memory"; + reg = <0x00 0x9400000 0x00 0xe6c00000>; + }; + + cspmu@fd10c000 { + compatible = "rockchip,cspmu"; + reg = <0x00 0xfd10c000 0x00 0x1000 0x00 0xfd10d000 0x00 0x1000 0x00 0xfd10e000 0x00 0x1000 0x00 0xfd10f000 0x00 0x1000 0x00 0xfd12c000 0x00 0x1000 0x00 0xfd12d000 0x00 0x1000 0x00 0xfd12e000 0x00 0x1000 0x00 0xfd12f000 0x00 0x1000>; + }; + + debug@fd104000 { + compatible = "rockchip,debug"; + reg = <0x00 0xfd104000 0x00 0x1000 0x00 0xfd105000 0x00 0x1000 0x00 0xfd106000 0x00 0x1000 0x00 0xfd107000 0x00 0x1000 0x00 0xfd124000 0x00 0x1000 0x00 0xfd125000 0x00 0x1000 0x00 0xfd126000 0x00 0x1000 0x00 0xfd127000 0x00 0x1000>; + }; + + fiq-debugger { + compatible = "rockchip,fiq-debugger"; + rockchip,serial-id = <0x02>; + rockchip,wake-irq = <0x00>; + rockchip,irq-mode-enable = <0x01>; + rockchip,baudrate = <0x16e360>; + interrupts = <0x00 0x1a7 0x08>; + pinctrl-names = "default"; + pinctrl-0 = <0x1ab>; + status = "okay"; + }; + + reserved-memory { + #address-cells = <0x02>; + #size-cells = <0x02>; + ranges; + + cma { + compatible = "shared-dma-pool"; + reusable; + size = <0x00 0x800000>; + linux,cma-default; + reg = <0x00 0x49400000 0x00 0x10000000>; + }; + + drm-logo@00000000 { + compatible = "rockchip,drm-logo"; + reg = <0x00 0x00 0x00 0x00>; + phandle = <0x30>; + }; + + drm-cubic-lut@00000000 { + compatible = "rockchip,drm-cubic-lut"; + reg = <0x00 0x00 0x00 0x00>; + }; + + ramoops@110000 { + compatible = "ramoops"; + reg = <0x00 0x110000 0x00 0xf0000>; + record-size = <0x20000>; + console-size = <0x80000>; + ftrace-size = <0x00>; + pmsg-size = <0x50000>; + }; + }; + + leds { + compatible = "gpio-leds"; + status = "okay"; + pinctrl-names = "default"; + pinctrl-0 = <0x1ac>; + + power { + label = ":power"; + linux,default-trigger = "ir-power-click"; + default-state = "on"; + gpios = <0x189 0x0b 0x00>; + }; + }; + + hdmi0-sound { + status = "okay"; + compatible = "rockchip,hdmi"; + rockchip,mclk-fs = <0x80>; + rockchip,card-name = "rockchip-hdmi0"; + rockchip,cpu = <0x1ad>; + rockchip,codec = <0x1ae>; + rockchip,jack-det; + }; + + dp0-sound { + status = "disabled"; + compatible = "rockchip,hdmi"; + rockchip,card-name = "rockchip-dp0"; + rockchip,mclk-fs = <0x200>; + rockchip,cpu = <0x1af>; + rockchip,codec = <0x1b0 0x01>; + rockchip,jack-det; + }; + + spdif-tx1-dc { + status = "disabled"; + compatible = "linux,spdif-dit"; + #sound-dai-cells = <0x00>; + phandle = <0x1b2>; + }; + + spdif-tx1-sound { + status = "disabled"; + compatible = "simple-audio-card"; + simple-audio-card,mclk-fs = <0x80>; + simple-audio-card,name = "rockchip,spdif-tx1"; + + simple-audio-card,cpu { + sound-dai = <0x1b1>; + }; + + simple-audio-card,codec { + sound-dai = <0x1b2>; + }; + }; + + adc-keys { + status = "okay"; + compatible = "adc-keys"; + io-channels = <0x1b3 0x01>; + io-channel-names = "buttons"; + keyup-threshold-microvolt = <0x1b7740>; + poll-interval = <0x64>; + + recovery-key { + label = "F12"; + linux,code = <0x58>; + press-threshold-microvolt = <0x4268>; + }; + }; + + es8388-sound { + status = "disabled"; + compatible = "firefly,multicodecs-card"; + rockchip,card-name = "rockchip-es8388"; + hp-det-gpio = <0x189 0x14 0x01>; + io-channels = <0x1b3 0x03>; + io-channel-names = "adc-detect"; + spk-con-gpio = <0xee 0x0a 0x00>; + hp-con-gpio = <0xe0 0x08 0x00>; + linein-type = <0x00>; + rockchip,format = "i2s"; + rockchip,mclk-fs = <0x100>; + rockchip,cpu = <0x1b4>; + rockchip,codec = <0x1b5>; + rockchip,audio-routing = "Headphone\0LOUT1\0Headphone\0ROUT1\0Speaker\0LOUT2\0Speaker\0ROUT2\0Headphone\0Headphone Power\0Headphone\0Headphone Power\0Speaker\0Speaker Power\0Speaker\0Speaker Power\0LINPUT1\0Main Mic\0LINPUT2\0Main Mic\0RINPUT1\0Headset Mic\0RINPUT2\0Headset Mic"; + pinctrl-names = "default"; + pinctrl-0 = <0x1b6>; + firefly,not-use-dapm; + }; + + vcc5v0-host { + compatible = "regulator-fixed"; + regulator-name = "vcc5v0_host"; + regulator-boot-on; + regulator-always-on; + regulator-min-microvolt = <0x4c4b40>; + regulator-max-microvolt = <0x4c4b40>; + enable-active-high; + gpio = <0xe0 0x0e 0x00>; + vin-supply = <0x1b7>; + status = "okay"; + phandle = <0x60>; + }; + + vcc-hub-reset-regulator { + compatible = "regulator-fixed"; + regulator-name = "vcc_hub_reset"; + regulator-boot-on; + regulator-always-on; + enable-active-high; + status = "disabled"; + gpio = <0x1b8 0x04 0x00>; + }; + + vbus5v0-typec-pwr-en-regulator { + compatible = "regulator-fixed"; + regulator-name = "vbus5v0_typec_pwr_en"; + enable-active-high; + status = "disabled"; + gpio = <0xe0 0x0a 0x00>; + phandle = <0x162>; + }; + + vcc-hub3-reset-regulator { + compatible = "regulator-fixed"; + regulator-name = "vcc_hub3_reset"; + regulator-always-on; + enable-active-high; + status = "disabled"; + gpio = <0x1b8 0x06 0x00>; + }; + + vcc5v0-host3 { + compatible = "regulator-fixed"; + regulator-name = "vcc5v0_host3"; + regulator-boot-on; + regulator-always-on; + regulator-min-microvolt = <0x4c4b40>; + regulator-max-microvolt = <0x4c4b40>; + enable-active-high; + gpio = <0xe0 0x0a 0x00>; + vin-supply = <0x1b7>; + status = "disabled"; + }; + + vcc-sata-pwr-en-regulator { + compatible = "regulator-fixed"; + regulator-name = "vcc_sata_pwr_en"; + regulator-boot-on; + regulator-always-on; + enable-active-high; + status = "disabled"; + gpio = <0x1b8 0x0a 0x00>; + }; + + vcc-fan-pwr-en-regulator { + compatible = "regulator-fixed"; + regulator-name = "vcc_fan_pwr_en"; + regulator-boot-on; + regulator-always-on; + enable-active-high; + status = "okay"; + gpio = <0x1b8 0x0b 0x00>; + }; + + vcc-sdcard-pwr-en-regulator { + compatible = "regulator-fixed"; + regulator-name = "vcc_sdcard_pwr_en"; + regulator-boot-on; + regulator-always-on; + enable-active-high; + gpio = <0xee 0x11 0x00>; + status = "okay"; + }; + + vcc3v3-pcie30 { + compatible = "regulator-fixed"; + regulator-name = "vcc3v3_pcie30"; + regulator-min-microvolt = <0x325aa0>; + regulator-max-microvolt = <0x325aa0>; + enable-active-high; + gpios = <0x1b9 0x15 0x00>; + startup-delay-us = <0x1388>; + vin-supply = <0x1aa>; + status = "disabled"; + phandle = <0x19f>; + }; + + pcie30-avdd1v8 { + compatible = "regulator-fixed"; + regulator-name = "pcie30_avdd1v8"; + regulator-boot-on; + regulator-always-on; + regulator-min-microvolt = <0x1b7740>; + regulator-max-microvolt = <0x1b7740>; + vin-supply = <0x1ba>; + }; + + pcie30-avdd0v75 { + compatible = "regulator-fixed"; + regulator-name = "pcie30_avdd0v75"; + regulator-boot-on; + regulator-always-on; + regulator-min-microvolt = <0xb71b0>; + regulator-max-microvolt = <0xb71b0>; + vin-supply = <0x1bb>; + }; + + hdmi1-sound { + status = "disabled"; + compatible = "rockchip,hdmi"; + rockchip,mclk-fs = <0x80>; + rockchip,card-name = "rockchip-hdmi1"; + rockchip,cpu = <0x1bc>; + rockchip,codec = <0x1bd>; + rockchip,jack-det; + }; + + dp1-sound { + status = "disabled"; + compatible = "rockchip,hdmi"; + rockchip,card-name = "rockchip,dp1"; + rockchip,mclk-fs = <0x200>; + rockchip,cpu = <0x1be>; + rockchip,codec = <0x1bf 0x01>; + rockchip,jack-det; + }; + + wireless-bluetooth { + compatible = "bluetooth-platdata"; + clocks = <0x1c0>; + clock-names = "ext_clock"; + uart_rts_gpios = <0x189 0x02 0x01>; + pinctrl-names = "default\0rts_gpio"; + pinctrl-0 = <0x1c1 0x1c2 0x1c3 0x1c4>; + pinctrl-1 = <0x1c5>; + BT,reset_gpio = <0x13b 0x16 0x00>; + BT,wake_gpio = <0x13b 0x15 0x00>; + BT,wake_host_irq = <0x13b 0x00 0x00>; + status = "disabled"; + }; + + wireless-wlan { + compatible = "wlan-platdata"; + wifi_chip_type = "ap6275p"; + pinctrl-names = "default"; + pinctrl-0 = <0x1c6>; + WIFI,poweren_gpio = <0x13b 0x14 0x00>; + status = "disabled"; + }; + + hdmiin-dc { + compatible = "rockchip,dummy-codec"; + #sound-dai-cells = <0x00>; + phandle = <0x1c9>; + }; + + hdmiin-sound { + compatible = "simple-audio-card"; + simple-audio-card,format = "i2s"; + simple-audio-card,name = "rockchip,hdmiin"; + simple-audio-card,bitclock-master = <0x1c7>; + simple-audio-card,frame-master = <0x1c7>; + status = "disabled"; + + simple-audio-card,cpu { + sound-dai = <0x1c8>; + }; + + simple-audio-card,codec { + sound-dai = <0x1c9>; + phandle = <0x1c7>; + }; + }; + + pwm-fan { + compatible = "pwm-fan"; + #cooling-cells = <0x02>; + fan-supply = <0x1aa>; + pwms = <0x1ca 0x00 0xc350 0x01>; + }; +}; diff --git a/configs/vms/linux-aarch64-rk3588-smp8.toml b/configs/vms/linux-aarch64-rk3588-smp8.toml new file mode 100644 index 00000000..bc344126 --- /dev/null +++ b/configs/vms/linux-aarch64-rk3588-smp8.toml @@ -0,0 +1,122 @@ +# Vm base info configs +# +[base] +# Guest vm id. +id = 1 +# Guest vm name. +name = "linux" +# Virtualization type. +vm_type = 1 +# The number of virtual CPUs. +cpu_num = 8 +# Guest vm physical cpu sets. +phys_cpu_sets = [1, 2, 4, 8, 16, 32, 64, 128] +phys_cpu_ids = [0x00, 0x100, 0x200, 0x300, 0x400, 0x500, 0x600, 0x700] + + +# +# Vm kernel configs +# +[kernel] +# The entry point of the kernel image. +entry_point = 0x1008_0000 +# The load address of the kernel image. +kernel_load_addr = 0x1008_0000 +# The load address of the device tree blob (DTB). +dtb_load_addr = 0x1000_0000 +# The location of image: "memory" | "fs". +# load from memory +image_location = "memory" +# The file path of the kernel image. +kernel_path = "/path/to/kernel" +# The file path of the device tree blob (DTB). +dtb_path = "/path/to/dtb" + +# load from file system. +# image_location = "fs". +## The file path of the kernel image. +# kernel_path = "linux-arceos-aarch64.bin" +## The file path of the device tree blob (DTB). +# dtb_path = "linux-rk3588.dtb" + +## The file path of the ramdisk image. +# ramdisk_path = "" +## The load address of the ramdisk image. +# ramdisk_load_addr = 0 +## The path of the disk image. +# disk_path = "disk.img" + +# Memory regions with format (`base_paddr`, `size`, `flags`, `map_type`). +# For `map_type`, 0 means `MAP_ALLOC`, 1 means `MAP_IDENTICAL`. +memory_regions = [ + [0x940_0000, 0xd550_0000, 0x7, 1], # ram 3G MAP_IDENTICAL + [0x920_0000, 0x2000, 0x7, 1] +] + +# +# Device specifications +# +[devices] +# Emu_devices. +# Name Base-Ipa Ipa_len Alloc-Irq Emu-Type EmuConfig. +emu_devices = [] + + +interrupt_mode = "passthrough" +# Pass-through devices. +# Name Base-Ipa Base-Pa Length Alloc-Irq. +passthrough_devices = [ + [ + "ramoops", + 0x11_0000, + 0x11_0000, + 0xf_0000, + 0x17, + ], + [ + "sram", + 0x10_f000, + 0x10_f000, + 0x1000, + 0x17, + ], + [ + "gpu", + 0xfb00_0000, + 0xfb00_0000, + 0x20_0000, + 0x17, + ], + [ + "uart8250 UART", + 0xfd00_0000, + 0xfd00_0000, + 0x200_0000, + 0x17, + ], + [ + "usb", + 0xfc00_0000, + 0xfc00_0000, + 0x100_0000, + 0x17, + ], + [ + "uncached", + 0x0, + 0x0, + 0x10_f000, + 0x17, + ], + [ + "device", + 0x920_0000, + 0x920_0000, + 0x2000, + 0x17, + ], +] + +excluded_devices = [ + # ["/gic-v3"], +] \ No newline at end of file