ARM: BCM5301X: Add DT entry for SPI controller and NOR flash
PATCH 1/1 ARM: BCM5301X: Add DT entry for SPI controller and NOR flash
Controller is present on every BCM4708* board but only few devices have serial flash attached so mark it as disabled by default.
Signed-off-by Rafa? Mi?ecki <[email protected]>
--- arch/arm/boot/dts/bcm4708-luxul-xwc-1000.dts | 4 ++++ arch/arm/boot/dts/bcm4708-smartrg-sr400ac.dts | 4 ++++ arch/arm/boot/dts/bcm5301x.dtsi | 14 ++++++++++++++ 3 files changed, 22 insertions(+)
arch/arm/boot/dts/bcm4708-luxul-xwc-1000.dts +4 -0
@@ -59,3 +59,7 @@ &uart0 { status = "okay"; }; + +&spi_nor { + status = "okay"; +};
arch/arm/boot/dts/bcm4708-smartrg-sr400ac.dts +4 -0
@@ -122,3 +122,7 @@ &uart0 { status = "okay"; }; + +&spi_nor { + status = "okay"; +};
arch/arm/boot/dts/bcm5301x.dtsi +14 -0
@@ -225,6 +225,20 @@ #address-cells = <1>; #size-cells = <1>; }; + + spi at 29000 { + reg = <0x00029000 0x1000>; + #address-cells = <1>; + #size-cells = <0>; + + spi_nor: spi-nor at 0 { + compatible = "jedec,spi-nor"; + reg = <0>; + spi-max-frequency = <20000000>; + linux,part-probe = "ofpart", "bcm47xxpart"; + status = "disabled"; + }; + }; }; lcpll0: lcpll0 at 1800c100 {
Signature · 1 line
1.8.4.5
Florian Fainelli
AppliedQuoted 4 lines · Rafa? Mi?ecki
Controller is present on every BCM4708* board but only few devices have serial flash attached so mark it as disabled by default.
Signed-off-by Rafa? Mi?ecki <[email protected]>
Applied to devicetree/next, thanks!
Signature · 1 line
Florian