Klaus H. Sorensen | e308da0 | 2020-02-11 15:20:22 +0000 | [diff] [blame] | 1 | MPC83xx SPISEL_BOOT gpio controller |
| 2 | |
| 3 | Provide access to MPC83xx SPISEL_BOOT signal as a gpio to allow it to be |
| 4 | easily bound as a SPI controller chip select. |
| 5 | |
| 6 | The SPISEL_BOOT signal is always an output. |
| 7 | |
| 8 | Required properties: |
| 9 | |
| 10 | - compatible: must be "fsl,mpc83xx-spisel-boot" or "fsl,mpc8309-spisel-boot". |
| 11 | - reg: must point to the SPI_CS register in the SoC register map. |
| 12 | - ngpios: number of gpios provided by driver, normally 1. |
| 13 | |
| 14 | Example: |
| 15 | |
| 16 | spisel_boot: spisel_boot@14c { |
| 17 | compatible = "fsl,mpc8309-spisel-boot"; |
| 18 | reg = <0x14c 0x04>; |
| 19 | #gpio-cells = <2>; |
| 20 | device_type = "gpio"; |
| 21 | ngpios = <1>; |
| 22 | }; |