^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) Binding for Broadcom BCM6348/BCM6358 SPI controller
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) Required properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) - compatible: must contain one of "brcm,bcm6348-spi", "brcm,bcm6358-spi".
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) - reg: Base address and size of the controllers memory area.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) - interrupts: Interrupt for the SPI block.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) - clocks: phandle of the SPI clock.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) - clock-names: has to be "spi".
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) - #address-cells: <1>, as required by generic SPI binding.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) - #size-cells: <0>, also as required by generic SPI binding.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) Optional properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) - num-cs: some controllers have less than 8 cs signals. Defaults to 8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) if absent.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) Child nodes as per the generic SPI binding.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) Example:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) spi@10000800 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) compatible = "brcm,bcm6368-spi", "brcm,bcm6358-spi";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) reg = <0x10000800 0x70c>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) interrupts = <1>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) clocks = <&clkctl 9>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) clock-names = "spi";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) num-cs = <5>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) #address-cells = <1>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) #size-cells = <0>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) };