arm64: dts: broadcom: bcm2712: adjust display status
PATCH 1/1 arm64: dts: broadcom: bcm2712: adjust display status
Typically non critical IP in a SoC are disabled by default in the SoC .dtsi and enabled on board specific configs. There are usecases, such as some CM5 carrier boards, where display output may not be desired or connected. So disable them on the SoC .dtsi and enable them on the RPi5 board.
--- .../dts/broadcom/bcm2712-rpi-5-b-ovl-rp1.dts | 31 +++++++++++++++++++ arch/arm64/boot/dts/broadcom/bcm2712.dtsi | 11 +++++++ 2 files changed, 42 insertions(+)
arch/arm64/boot/dts/broadcom/bcm2712-rpi-5-b-ovl-rp1.dts +31 -0
@@ -97,19 +97,42 @@ power: power { }; }; +&ddc0 { + status = "okay"; +}; + +&ddc1 { + status = "okay"; +}; + +&disp_intr { + status = "okay"; +}; + &hvs { clocks = <&firmware_clocks 4>, <&firmware_clocks 16>; clock-names = "core", "disp"; + status = "okay"; }; &hdmi0 { clocks = <&firmware_clocks 13>, <&firmware_clocks 14>, <&dvp 0>, <&clk_27MHz>; clock-names = "hdmi", "bvb", "audio", "cec"; + status = "okay"; }; &hdmi1 { clocks = <&firmware_clocks 13>, <&firmware_clocks 14>, <&dvp 1>, <&clk_27MHz>; clock-names = "hdmi", "bvb", "audio", "cec"; + status = "okay"; +}; + +&mop { + status = "okay"; +}; + +&moplet { + status = "okay"; }; &pcie1 {
@@ -119,3 +142,11 @@ &pcie1 { &pcie2 { status = "okay"; }; + +&pixelvalve0 { + status = "okay"; +}; + +&pixelvalve1 { + status = "okay"; +};
arch/arm64/boot/dts/broadcom/bcm2712.dtsi +11 -0
@@ -287,12 +287,14 @@ pixelvalve0: pixelvalve@7c410000 { compatible = "brcm,bcm2712-pixelvalve0"; reg = <0x7c410000 0x100>; interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>; + status = "disabled"; }; pixelvalve1: pixelvalve@7c411000 { compatible = "brcm,bcm2712-pixelvalve1"; reg = <0x7c411000 0x100>; interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>; + status = "disabled"; }; mop: mop@7c500000 {
@@ -300,6 +302,7 @@ mop: mop@7c500000 { reg = <0x7c500000 0x28>; interrupt-parent = <&disp_intr>; interrupts = <1>; + status = "disabled"; }; moplet: moplet@7c501000 {
@@ -307,6 +310,7 @@ moplet: moplet@7c501000 { reg = <0x7c501000 0x20>; interrupt-parent = <&disp_intr>; interrupts = <0>; + status = "disabled"; }; disp_intr: interrupt-controller@7c502000 {
@@ -315,6 +319,7 @@ disp_intr: interrupt-controller@7c502000 { interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>; interrupt-controller; #interrupt-cells = <1>; + status = "disabled"; }; dvp: clock@7c700000 {
@@ -333,6 +338,7 @@ ddc0: i2c@7d508200 { clock-frequency = <97500>; #address-cells = <1>; #size-cells = <0>; + status = "disabled"; }; ddc1: i2c@7d508280 {
@@ -343,6 +349,7 @@ ddc1: i2c@7d508280 { clock-frequency = <97500>; #address-cells = <1>; #size-cells = <0>; + status = "disabled"; }; bsc_irq: interrupt-controller@7d508380 {
@@ -388,6 +395,7 @@ hdmi0: hdmi@7c701400 { interrupt-names = "cec-tx", "cec-rx", "cec-low", "hpd-connected", "hpd-removed"; ddc = <&ddc0>; + status = "disabled"; }; hdmi1: hdmi@7c706400 {
@@ -417,6 +425,7 @@ hdmi1: hdmi@7c706400 { interrupt-names = "cec-tx", "cec-rx", "cec-low", "hpd-connected", "hpd-removed"; ddc = <&ddc1>; + status = "disabled"; }; };
@@ -439,6 +448,7 @@ axi: axi { vc4: gpu { compatible = "brcm,bcm2712-vc6"; + status = "disabled"; }; pcie0: pcie@1000100000 {
@@ -611,5 +621,6 @@ hvs: hvs@107c580000 { interrupt-parent = <&disp_intr>; interrupts = <2>, <9>, <16>; interrupt-names = "ch0-eof", "ch1-eof", "ch2-eof"; + status = "disabled"; }; };
Signature · 1 line
2.51.0
Hi Peter,
Am 24.09.25 um 10:57 schrieb Peter Robinson:
Quoted 11 lines
Typically non critical IP in a SoC are disabled by default in the SoC .dtsi and enabled on board specific configs. There are usecases, such as some CM5 carrier boards, where display output may not be desired or connected. So disable them on the SoC .dtsi and enable them on the RPi5 board.
Signed-off-by Peter Robinson <[email protected]>Cc Dave Stevenson <[email protected]>Cc Andrea della Porta <[email protected]>Fixes 25d77bdd7df2 ("arm64: dts: broadcom: Add display pipeline support to BCM2712")
I'm fine with this change in general, but I don't think this is a fix. Especially there is no CM5 support upstream yet.
Except of this:
Quoted 154 lines
--- .../dts/broadcom/bcm2712-rpi-5-b-ovl-rp1.dts | 31 +++++++++++++++++++ arch/arm64/boot/dts/broadcom/bcm2712.dtsi | 11 +++++++ 2 files changed, 42 insertions(+)arch/arm64/boot/dts/broadcom/bcm2712-rpi-5-b-ovl-rp1.dts +31
-0@@ -97,19 +97,42 @@ power: power { }; }; +&ddc0 { + status = "okay"; +}; + +&ddc1 { + status = "okay"; +}; + +&disp_intr { + status = "okay"; +}; + &hvs { clocks = <&firmware_clocks 4>, <&firmware_clocks 16>; clock-names = "core", "disp"; + status = "okay"; }; &hdmi0 { clocks = <&firmware_clocks 13>, <&firmware_clocks 14>, <&dvp 0>, <&clk_27MHz>; clock-names = "hdmi", "bvb", "audio", "cec"; + status = "okay"; }; &hdmi1 { clocks = <&firmware_clocks 13>, <&firmware_clocks 14>, <&dvp 1>, <&clk_27MHz>; clock-names = "hdmi", "bvb", "audio", "cec"; + status = "okay"; +}; + +&mop { + status = "okay"; +}; + +&moplet { + status = "okay"; }; &pcie1 {@@ -119,3 +142,11 @@ &pcie1 { &pcie2 { status = "okay"; }; + +&pixelvalve0 { + status = "okay"; +}; + +&pixelvalve1 { + status = "okay"; +};arch/arm64/boot/dts/broadcom/bcm2712.dtsi +11
-0@@ -287,12 +287,14 @@ pixelvalve0: pixelvalve@7c410000 { compatible = "brcm,bcm2712-pixelvalve0"; reg = <0x7c410000 0x100>; interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>; + status = "disabled"; }; pixelvalve1: pixelvalve@7c411000 { compatible = "brcm,bcm2712-pixelvalve1"; reg = <0x7c411000 0x100>; interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>; + status = "disabled"; }; mop: mop@7c500000 {@@ -300,6 +302,7 @@ mop: mop@7c500000 { reg = <0x7c500000 0x28>; interrupt-parent = <&disp_intr>; interrupts = <1>; + status = "disabled"; }; moplet: moplet@7c501000 {@@ -307,6 +310,7 @@ moplet: moplet@7c501000 { reg = <0x7c501000 0x20>; interrupt-parent = <&disp_intr>; interrupts = <0>; + status = "disabled"; }; disp_intr: interrupt-controller@7c502000 {@@ -315,6 +319,7 @@ disp_intr: interrupt-controller@7c502000 { interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>; interrupt-controller; #interrupt-cells = <1>; + status = "disabled"; }; dvp: clock@7c700000 {@@ -333,6 +338,7 @@ ddc0: i2c@7d508200 { clock-frequency = <97500>; #address-cells = <1>; #size-cells = <0>; + status = "disabled"; }; ddc1: i2c@7d508280 {@@ -343,6 +349,7 @@ ddc1: i2c@7d508280 { clock-frequency = <97500>; #address-cells = <1>; #size-cells = <0>; + status = "disabled"; }; bsc_irq: interrupt-controller@7d508380 {@@ -388,6 +395,7 @@ hdmi0: hdmi@7c701400 { interrupt-names = "cec-tx", "cec-rx", "cec-low", "hpd-connected", "hpd-removed"; ddc = <&ddc0>; + status = "disabled"; }; hdmi1: hdmi@7c706400 {@@ -417,6 +425,7 @@ hdmi1: hdmi@7c706400 { interrupt-names = "cec-tx", "cec-rx", "cec-low", "hpd-connected", "hpd-removed"; ddc = <&ddc1>; + status = "disabled"; }; };@@ -439,6 +448,7 @@ axi: axi { vc4: gpu { compatible = "brcm,bcm2712-vc6"; + status = "disabled"; }; pcie0: pcie@1000100000 {@@ -611,5 +621,6 @@ hvs: hvs@107c580000 { interrupt-parent = <&disp_intr>; interrupts = <2>, <9>, <16>; interrupt-names = "ch0-eof", "ch1-eof", "ch2-eof"; + status = "disabled"; }; };
Quoted 11 lines · Peter Robinson
Typically non critical IP in a SoC are disabled by default in the SoC .dtsi and enabled on board specific configs. There are usecases, such as some CM5 carrier boards, where display output may not be desired or connected. So disable them on the SoC .dtsi and enable them on the RPi5 board.
Signed-off-by Peter Robinson <[email protected]>Cc Dave Stevenson <[email protected]>Cc Andrea della Porta <[email protected]>Fixes 25d77bdd7df2 ("arm64: dts: broadcom: Add display pipeline support to BCM2712")
Applied to https://github.com/Broadcom/stblinux/commits/devicetree-arm64/next, thanks!
Signature · 1 line
Florian
Hey Florian,
Not sure what happened to this, you said it was applied almost a year ago but now I dig I don't see it upstream.
Was there a problem, or did it just fall through the cracks? Should I resend it?
Peter
Quoted 19 lines · Florian Fainelli
Quoted 11 lines · Peter Robinson
Typically non critical IP in a SoC are disabled by default in the SoC .dtsi and enabled on board specific configs. There are usecases, such as some CM5 carrier boards, where display output may not be desired or connected. So disable them on the SoC .dtsi and enable them on the RPi5 board.
Signed-off-by Peter Robinson <[email protected]>Cc Dave Stevenson <[email protected]>Cc Andrea della Porta <[email protected]>Fixes 25d77bdd7df2 ("arm64: dts: broadcom: Add display pipeline support to BCM2712")Applied to
https://github.com/Broadcom/stblinux/commits/devicetree-arm64/next, thanks! --
Florian
Florian Fainelli
maintainerQuoted 6 lines · Peter Robinson
Hey Florian,
Not sure what happened to this, you said it was applied almost a year ago but now I dig I don't see it upstream.
Was there a problem, or did it just fall through the cracks? Should I resend it?
Looks like it fell through the cracks during a rebase, sorry about that. Would you mind resending it since it no longer applies cleanly? Thanks!
Signature · 1 line
Florian
Quoted 11 lines · Florian Fainelli
Quoted 6 lines · Peter Robinson
Hey Florian,
Not sure what happened to this, you said it was applied almost a year ago but now I dig I don't see it upstream.
Was there a problem, or did it just fall through the cracks? Should I resend it?
Looks like it fell through the cracks during a rebase, sorry about that. Would you mind resending it since it no longer applies cleanly? Thanks!
No issues, new rev on it's way.
Thanks,
Peter