Back to home page

OSCL-LXR

 
 

    


0001 Binding for Broadcom BCM6348/BCM6358 SPI controller
0002 
0003 Required properties:
0004 - compatible: must contain one of "brcm,bcm6348-spi", "brcm,bcm6358-spi".
0005 - reg: Base address and size of the controllers memory area.
0006 - interrupts: Interrupt for the SPI block.
0007 - clocks: phandle of the SPI clock.
0008 - clock-names: has to be "spi".
0009 - #address-cells: <1>, as required by generic SPI binding.
0010 - #size-cells: <0>, also as required by generic SPI binding.
0011 
0012 Optional properties:
0013 - num-cs: some controllers have less than 8 cs signals. Defaults to 8
0014   if absent.
0015 
0016 Child nodes as per the generic SPI binding.
0017 
0018 Example:
0019 
0020         spi@10000800 {
0021                 compatible = "brcm,bcm6368-spi", "brcm,bcm6358-spi";
0022                 reg = <0x10000800 0x70c>;
0023 
0024                 interrupts = <1>;
0025 
0026                 clocks = <&clkctl 9>;
0027                 clock-names = "spi";
0028 
0029                 num-cs = <5>;
0030 
0031                 #address-cells = <1>;
0032                 #size-cells = <0>;
0033         };