^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) * Socionext Synquacer HS-SPI bindings
^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: should be "socionext,synquacer-spi"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) - reg: physical base address of the controller and length of memory mapped
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) region.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) - interrupts: should contain the "spi_rx", "spi_tx" and "spi_fault" interrupts.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) - clocks: core clock iHCLK. Optional rate clock iPCLK (default is iHCLK)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) - clock-names: Shall be "iHCLK" and "iPCLK" respectively
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) Optional Properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) - socionext,use-rtm: boolean, if required to use "retimed clock" for RX
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) - socionext,set-aces: boolean, if same active clock edges field to be set.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) Example:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) spi0: spi@ff110000 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) compatible = "socionext,synquacer-spi";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) reg = <0xff110000 0x1000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) interrupts = <GIC_SPI 160 IRQ_TYPE_LEVEL_HIGH>,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) <GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) <GIC_SPI 162 IRQ_TYPE_LEVEL_HIGH>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) clocks = <&clk_hsspi>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) clock-names = "iHCLK";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) socionext,use-rtm;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) socionext,set-aces;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) };