Kunihiko Hayashi | 4dcd5c2 | 2018-08-01 16:29:11 +0900 | [diff] [blame] | 1 | Socionext UniPhier SPI controller driver |
| 2 | |
| 3 | UniPhier SoCs have SCSSI which supports SPI single channel. |
| 4 | |
| 5 | Required properties: |
| 6 | - compatible: should be "socionext,uniphier-scssi" |
| 7 | - reg: address and length of the spi master registers |
Keiji Hayashibara | 3511ba7 | 2018-10-24 18:34:29 +0900 | [diff] [blame] | 8 | - interrupts: a single interrupt specifier |
| 9 | - pinctrl-names: should be "default" |
| 10 | - pinctrl-0: pin control state for the default mode |
| 11 | - clocks: a phandle to the clock for the device |
| 12 | - resets: a phandle to the reset control for the device |
Kunihiko Hayashi | 4dcd5c2 | 2018-08-01 16:29:11 +0900 | [diff] [blame] | 13 | |
| 14 | Example: |
| 15 | |
| 16 | spi0: spi@54006000 { |
| 17 | compatible = "socionext,uniphier-scssi"; |
| 18 | reg = <0x54006000 0x100>; |
Keiji Hayashibara | 3511ba7 | 2018-10-24 18:34:29 +0900 | [diff] [blame] | 19 | interrupts = <0 39 4>; |
| 20 | pinctrl-names = "default"; |
| 21 | pinctrl-0 = <&pinctrl_spi0>; |
Kunihiko Hayashi | 4dcd5c2 | 2018-08-01 16:29:11 +0900 | [diff] [blame] | 22 | clocks = <&peri_clk 11>; |
| 23 | resets = <&peri_rst 11>; |
| 24 | }; |