dt: bcm6858: add hsspi controller
This commit add a hsspi controller in the bcm6858 device tree. Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com> Reviewed-by: Kursad Oney <kursad.oney@broadcom.com>
This commit is contained in:
parent
2a6abc6197
commit
906af4a72b
@ -10,6 +10,10 @@
|
|||||||
#address-cells = <2>;
|
#address-cells = <2>;
|
||||||
#size-cells = <2>;
|
#size-cells = <2>;
|
||||||
|
|
||||||
|
aliases {
|
||||||
|
spi0 = &hsspi;
|
||||||
|
};
|
||||||
|
|
||||||
cpus {
|
cpus {
|
||||||
#address-cells = <2>;
|
#address-cells = <2>;
|
||||||
#size-cells = <0>;
|
#size-cells = <0>;
|
||||||
@ -67,6 +71,14 @@
|
|||||||
u-boot,dm-pre-reloc;
|
u-boot,dm-pre-reloc;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
hsspi_pll: hsspi-pll {
|
||||||
|
compatible = "fixed-factor-clock";
|
||||||
|
#clock-cells = <0>;
|
||||||
|
clocks = <&periph_osc>;
|
||||||
|
clock-mult = <2>;
|
||||||
|
clock-div = <1>;
|
||||||
|
};
|
||||||
|
|
||||||
refclk50mhz: refclk50mhz {
|
refclk50mhz: refclk50mhz {
|
||||||
compatible = "fixed-clock";
|
compatible = "fixed-clock";
|
||||||
#clock-cells = <0>;
|
#clock-cells = <0>;
|
||||||
@ -192,6 +204,19 @@
|
|||||||
status = "disabled";
|
status = "disabled";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
hsspi: spi-controller@ff801000 {
|
||||||
|
compatible = "brcm,bcm6328-hsspi";
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <0>;
|
||||||
|
reg = <0x0 0xff801000 0x0 0x600>;
|
||||||
|
clocks = <&hsspi_pll>, <&hsspi_pll>;
|
||||||
|
clock-names = "hsspi", "pll";
|
||||||
|
spi-max-frequency = <100000000>;
|
||||||
|
num-cs = <8>;
|
||||||
|
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
|
||||||
nand: nand-controller@ff801800 {
|
nand: nand-controller@ff801800 {
|
||||||
compatible = "brcm,nand-bcm6858",
|
compatible = "brcm,nand-bcm6858",
|
||||||
"brcm,brcmnand-v5.0",
|
"brcm,brcmnand-v5.0",
|
||||||
|
Loading…
Reference in New Issue
Block a user