diff options
| author | Álvaro Fernández Rojas <[email protected]> | 2018-01-23 17:15:02 +0100 |
|---|---|---|
| committer | Jagan Teki <[email protected]> | 2018-01-24 12:03:43 +0530 |
| commit | 1c2479a5fa17ae68dcf23fffebd4f467629e60c8 (patch) | |
| tree | cf271ef605d70c42c8b3b475ef0ffdbdb7dd5f08 | |
| parent | 076c1aacbacca87e576191d23eb2b516a7ef4e96 (diff) | |
mips: bmips: add bcm63xx-spi driver support for BCM3380
This driver manages the SPI controller present on this SoC.
Signed-off-by: Álvaro Fernández Rojas <[email protected]>
Reviewed-by: Daniel Schwierzeck <[email protected]>
Reviewed-by: Jagan Teki <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
| -rw-r--r-- | arch/mips/dts/brcm,bcm3380.dtsi | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/mips/dts/brcm,bcm3380.dtsi b/arch/mips/dts/brcm,bcm3380.dtsi index 64245eb048e..f83a6ea8df0 100644 --- a/arch/mips/dts/brcm,bcm3380.dtsi +++ b/arch/mips/dts/brcm,bcm3380.dtsi @@ -12,6 +12,10 @@ / { compatible = "brcm,bcm3380"; + aliases { + spi0 = &spi; + }; + cpus { reg = <0x14e00000 0x4>; #address-cells = <1>; @@ -142,6 +146,19 @@ status = "disabled"; }; + spi: spi@14e02000 { + compatible = "brcm,bcm6358-spi"; + reg = <0x14e02000 0x70c>; + #address-cells = <1>; + #size-cells = <0>; + clocks = <&periph_clk0 BCM3380_CLK0_SPI>; + resets = <&periph_rst0 BCM3380_RST0_SPI>; + spi-max-frequency = <25000000>; + num-cs = <6>; + + status = "disabled"; + }; + leds: led-controller@14e00f00 { compatible = "brcm,bcm6328-leds"; reg = <0x14e00f00 0x1c>; |
