From f352f6f1a395ef8ffacde5bfe459f031d81c2786 Mon Sep 17 00:00:00 2001 From: "519561910@qq.com" <519561910@qq.com> Date: Sun, 20 Oct 2024 06:01:35 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=BB=91=E8=B1=B9x2=E5=92=8C?= =?UTF-8?q?=E8=8D=90=E7=89=87TV=E7=9B=92=E5=AD=90=E7=9A=84dts=E6=96=87?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- configfiles/rk3566-jp-tvbox.dts | 24 ++++++++++++++++++++++-- configfiles/rk3566-panther-x2.dts | 24 ++++++++++++++++++++++-- 2 files changed, 44 insertions(+), 4 deletions(-) diff --git a/configfiles/rk3566-jp-tvbox.dts b/configfiles/rk3566-jp-tvbox.dts index 73c9039..b1eed80 100644 --- a/configfiles/rk3566-jp-tvbox.dts +++ b/configfiles/rk3566-jp-tvbox.dts @@ -27,8 +27,28 @@ }; chosen: chosen { - bootargs = "earlycon=uart8250,mmio32,0xfe660000 console=ttyFIQ0 coherent_pool=1m"; - stdout-path = "serial2:1500000n8"; + bootargs = "earlycon=uart8250,mmio32,0xfe660000 console=ttyFIQ0 root=PARTUUID=614e0000-0000 rw rootwait"; + }; + + fiq_debugger: fiq-debugger { + compatible = "rockchip,fiq-debugger"; + rockchip,serial-id = <2>; + rockchip,wake-irq = <0>; + /* If enable uart uses irq instead of fiq */ + rockchip,irq-mode-enable = <1>; + rockchip,baudrate = <1500000>; /* Only 115200 and 1500000 */ + interrupts = ; + pinctrl-names = "default"; + pinctrl-0 = <&uart2m0_xfer>; + status = "okay"; + }; + + debug: debug@fd904000 { + compatible = "rockchip,debug"; + reg = <0x0 0xfd904000 0x0 0x1000>, + <0x0 0xfd905000 0x0 0x1000>, + <0x0 0xfd906000 0x0 0x1000>, + <0x0 0xfd907000 0x0 0x1000>; }; hdmi_sound: hdmi-sound { diff --git a/configfiles/rk3566-panther-x2.dts b/configfiles/rk3566-panther-x2.dts index 94e780b..33ea1e6 100644 --- a/configfiles/rk3566-panther-x2.dts +++ b/configfiles/rk3566-panther-x2.dts @@ -28,8 +28,28 @@ }; chosen: chosen { - bootargs = "earlycon=uart8250,mmio32,0xfe660000 console=ttyFIQ0 coherent_pool=1m"; - stdout-path = "serial2:1500000n8"; + bootargs = "earlycon=uart8250,mmio32,0xfe660000 console=ttyFIQ0 root=PARTUUID=614e0000-0000 rw rootwait"; + }; + + fiq_debugger: fiq-debugger { + compatible = "rockchip,fiq-debugger"; + rockchip,serial-id = <2>; + rockchip,wake-irq = <0>; + /* If enable uart uses irq instead of fiq */ + rockchip,irq-mode-enable = <1>; + rockchip,baudrate = <1500000>; /* Only 115200 and 1500000 */ + interrupts = ; + pinctrl-names = "default"; + pinctrl-0 = <&uart2m0_xfer>; + status = "okay"; + }; + + debug: debug@fd904000 { + compatible = "rockchip,debug"; + reg = <0x0 0xfd904000 0x0 0x1000>, + <0x0 0xfd905000 0x0 0x1000>, + <0x0 0xfd906000 0x0 0x1000>, + <0x0 0xfd907000 0x0 0x1000>; }; gmac1_clkin: external-gmac1-clock {