Skip to content

Commit 109adf2

Browse files
Lin Huangrkhuangtao
authored andcommitted
arm: dts: rockchip: rk3288: fix console output to FIQ for linux
To keep consistent to other platform, we use FIQ as console output in rk3288 linux. Change-Id: I36c53b12a872d8f282addd16d0cad8cabfc8a5d6 Signed-off-by: Lin Huang <hl@rock-chips.com>
1 parent bfacad5 commit 109adf2

1 file changed

Lines changed: 13 additions & 1 deletion

File tree

arch/arm/boot/dts/rk3288-linux.dtsi

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
/ {
1010
chosen {
11-
bootargs = "earlyprintk console=tty1 console=ttyS2,115200n8 rw root=PARTUUID=614e0000-0000 rootfstype=ext4 rootwait";
11+
bootargs = "earlyprintk console=ttyFIQ0 rw root=PARTUUID=614e0000-0000 rootfstype=ext4 rootwait";
1212
};
1313

1414
/delete-node/ dmc@ff610000;
@@ -73,6 +73,18 @@
7373
};
7474
};
7575

76+
fiq-debugger {
77+
compatible = "rockchip,fiq-debugger";
78+
interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>;
79+
rockchip,serial-id = <2>;
80+
rockchip,wake-irq = <0>;
81+
/* If enable uart uses irq instead of fiq */
82+
rockchip,irq-mode-enable = <0>;
83+
rockchip,baudrate = <115200>; /* Only 115200 and 1500000 */
84+
pinctrl-names = "default";
85+
pinctrl-0 = <&uart2_xfer>;
86+
};
87+
7688
psci {
7789
compatible = "arm,psci-1.0";
7890
method = "smc";

0 commit comments

Comments
 (0)