Message ID | 20241202122602.30734-11-linux@fw-web.de (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | continue mt7988 devicetree work | expand |
Il 02/12/24 13:25, Frank Wunderlich ha scritto: > From: Frank Wunderlich <frank-w@public-files.de> > arm64: dts: mediatek: mt7988a-bpi-r4: Enable serial0 debug uart > Enable the debug uart on Bananapi R4 board. > > Signed-off-by: Frank Wunderlich <frank-w@public-files.de> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Am 3. Dezember 2024 10:40:45 MEZ schrieb AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>: >Il 02/12/24 13:25, Frank Wunderlich ha scritto: >> From: Frank Wunderlich <frank-w@public-files.de> >> > >arm64: dts: mediatek: mt7988a-bpi-r4: Enable serial0 debug uart You want new prefix here? That will change all r4 commits,right? >> Enable the debug uart on Bananapi R4 board. >> >> Signed-off-by: Frank Wunderlich <frank-w@public-files.de> > >Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> > regards Frank
Il 03/12/24 12:27, Frank Wunderlich ha scritto: > Am 3. Dezember 2024 10:40:45 MEZ schrieb AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>: >> Il 02/12/24 13:25, Frank Wunderlich ha scritto: >>> From: Frank Wunderlich <frank-w@public-files.de> >>> >> >> arm64: dts: mediatek: mt7988a-bpi-r4: Enable serial0 debug uart > > You want new prefix here? That will change all r4 commits,right? > Yeah - that prefix should be shortening the commit titles but mainly will make it more straightforward when reading the commit history with --oneline. Thanks, Angelo >>> Enable the debug uart on Bananapi R4 board. >>> >>> Signed-off-by: Frank Wunderlich <frank-w@public-files.de> >> >> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> >> > > > regards Frank
diff --git a/arch/arm64/boot/dts/mediatek/mt7988a-bananapi-bpi-r4.dts b/arch/arm64/boot/dts/mediatek/mt7988a-bananapi-bpi-r4.dts index 8a320d9da443..9037f35857a9 100644 --- a/arch/arm64/boot/dts/mediatek/mt7988a-bananapi-bpi-r4.dts +++ b/arch/arm64/boot/dts/mediatek/mt7988a-bananapi-bpi-r4.dts @@ -245,6 +245,10 @@ mux { }; }; +&serial0 { + status = "okay"; +}; + &watchdog { status = "okay"; }; diff --git a/arch/arm64/boot/dts/mediatek/mt7988a.dtsi b/arch/arm64/boot/dts/mediatek/mt7988a.dtsi index 5609e3619be9..abf81a7d02a5 100644 --- a/arch/arm64/boot/dts/mediatek/mt7988a.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt7988a.dtsi @@ -236,7 +236,7 @@ mcusys: mcusys@100e0000 { #clock-cells = <1>; }; - serial@11000000 { + serial0: serial@11000000 { compatible = "mediatek,mt7988-uart", "mediatek,mt6577-uart"; reg = <0 0x11000000 0 0x100>; interrupts = <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>;