mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-23 12:43:55 +08:00
d783738c00
Adds SPI device nodes to BCM7xxx MIPS based SoCs. Signed-off-by: Jaedon Shin <jaedon.shin@gmail.com> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Cc: Kevin Cernekee <cernekee@gmail.com> Cc: Rob Herring <robh+dt@kernel.org> Cc: linux-mips@linux-mips.org Cc: devicetree@vger.kernel.org Patchwork: https://patchwork.linux-mips.org/patch/14990/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
108 lines
1.2 KiB
Plaintext
108 lines
1.2 KiB
Plaintext
/dts-v1/;
|
|
|
|
/include/ "bcm7358.dtsi"
|
|
/include/ "bcm97xxx-nand-cs1-bch4.dtsi"
|
|
|
|
/ {
|
|
compatible = "brcm,bcm97358svmb", "brcm,bcm7358";
|
|
model = "Broadcom BCM97358SVMB";
|
|
|
|
memory@0 {
|
|
device_type = "memory";
|
|
reg = <0x00000000 0x10000000>;
|
|
};
|
|
|
|
chosen {
|
|
bootargs = "console=ttyS0,115200";
|
|
stdout-path = &uart0;
|
|
};
|
|
};
|
|
|
|
&uart0 {
|
|
status = "okay";
|
|
};
|
|
|
|
&uart1 {
|
|
status = "okay";
|
|
};
|
|
|
|
&uart2 {
|
|
status = "okay";
|
|
};
|
|
|
|
&bsca {
|
|
status = "okay";
|
|
};
|
|
|
|
&bscb {
|
|
status = "okay";
|
|
};
|
|
|
|
&bscc {
|
|
status = "okay";
|
|
};
|
|
|
|
&bscd {
|
|
status = "okay";
|
|
};
|
|
|
|
&pwma {
|
|
status = "okay";
|
|
};
|
|
|
|
&pwmb {
|
|
status = "okay";
|
|
};
|
|
|
|
&enet0 {
|
|
status = "okay";
|
|
};
|
|
|
|
&ehci0 {
|
|
status = "okay";
|
|
};
|
|
|
|
&ohci0 {
|
|
status = "okay";
|
|
};
|
|
|
|
&nand {
|
|
status = "okay";
|
|
};
|
|
|
|
&qspi {
|
|
status = "okay";
|
|
|
|
m25p80@0 {
|
|
compatible = "m25p80";
|
|
reg = <0>;
|
|
spi-max-frequency = <40000000>;
|
|
spi-cpol;
|
|
spi-cpha;
|
|
use-bspi;
|
|
m25p,fast-read;
|
|
|
|
partitions {
|
|
compatible = "fixed-partitions";
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
|
|
flash0.cfe@0 {
|
|
reg = <0x0 0x200000>;
|
|
};
|
|
|
|
flash0.mac@200000 {
|
|
reg = <0x200000 0x40000>;
|
|
};
|
|
|
|
flash0.nvram@240000 {
|
|
reg = <0x240000 0x10000>;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
&mspi {
|
|
status = "okay";
|
|
};
|