diff options
author | David Lechner | 2016-04-16 19:00:17 +0200 |
---|---|---|
committer | Sekhar Nori | 2016-04-25 15:27:11 +0200 |
commit | 4be4b28a404e431660d8188f175c02dfee961399 (patch) | |
tree | 7c835bd1aec6b3e99f71e93a8a597108db366e19 /arch/arm/boot/dts/da850.dtsi | |
parent | ARM: davinci: da8xx-dt: add OF_DEV_AUXDATA entry for i2c1 (diff) | |
download | kernel-qcow2-linux-4be4b28a404e431660d8188f175c02dfee961399.tar.gz kernel-qcow2-linux-4be4b28a404e431660d8188f175c02dfee961399.tar.xz kernel-qcow2-linux-4be4b28a404e431660d8188f175c02dfee961399.zip |
ARM: dts: da850: add spi0 to device tree
Add device node and pinmux for SoC spi0.
Signed-off-by: David Lechner <david@lechnology.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Diffstat (limited to 'arch/arm/boot/dts/da850.dtsi')
-rw-r--r-- | arch/arm/boot/dts/da850.dtsi | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/da850.dtsi b/arch/arm/boot/dts/da850.dtsi index c9bf27d5ee9c..8880d577b931 100644 --- a/arch/arm/boot/dts/da850.dtsi +++ b/arch/arm/boot/dts/da850.dtsi @@ -120,7 +120,19 @@ 0x4 0x00000004 0x0000000f >; }; - spi1_pins: pinmux_spi_pins { + spi0_pins: pinmux_spi0_pins { + pinctrl-single,bits = < + /* SIMO, SOMI, CLK */ + 0xc 0x00001101 0x0000ff0f + >; + }; + spi0_cs0_pin: pinmux_spi0_cs0 { + pinctrl-single,bits = < + /* CS0 */ + 0x10 0x00000010 0x000000f0 + >; + }; + spi1_pins: pinmux_spi1_pins { pinctrl-single,bits = < /* SIMO, SOMI, CLK */ 0x14 0x00110100 0x00ff0f00 @@ -291,6 +303,16 @@ reg = <0x308000 0x80>; status = "disabled"; }; + spi0: spi@41000 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "ti,da830-spi"; + reg = <0x41000 0x1000>; + num-cs = <6>; + ti,davinci-spi-intr-line = <1>; + interrupts = <20>; + status = "disabled"; + }; spi1: spi@30e000 { #address-cells = <1>; #size-cells = <0>; |