From: Milo Kim Date: Fri, 28 Oct 2016 06:54:09 +0000 (+0900) Subject: ARM: dts: sun8i: Add SPI pinctrl node in H3 X-Git-Tag: v4.10-rc1~82^2~14^2~15 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=eeeb2d64e8d656f879d7e1d54da3931b92962d3e;p=karo-tx-linux.git ARM: dts: sun8i: Add SPI pinctrl node in H3 H3 supports two SPI controllers. Four pins (MOSI, MISO, SCLK, SS) are configured through the pinctrl subsystem. Cc: Maxime Ripard Cc: Chen-Yu Tsai Signed-off-by: Milo Kim Signed-off-by: Maxime Ripard --- diff --git a/arch/arm/boot/dts/sun8i-h3.dtsi b/arch/arm/boot/dts/sun8i-h3.dtsi index 75a865406d3e..8a59d8dbeabd 100644 --- a/arch/arm/boot/dts/sun8i-h3.dtsi +++ b/arch/arm/boot/dts/sun8i-h3.dtsi @@ -381,6 +381,20 @@ allwinner,pull = ; }; + spi0_pins: spi0 { + allwinner,pins = "PC0", "PC1", "PC2", "PC3"; + allwinner,function = "spi0"; + allwinner,drive = ; + allwinner,pull = ; + }; + + spi1_pins: spi1 { + allwinner,pins = "PA15", "PA16", "PA14", "PA13"; + allwinner,function = "spi1"; + allwinner,drive = ; + allwinner,pull = ; + }; + uart0_pins_a: uart0@0 { allwinner,pins = "PA4", "PA5"; allwinner,function = "uart0";