]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - arch/arm/boot/dts/at91sam9g45.dtsi
ARM: dts: add pinctrl property for spi node for atmel SoC
[karo-tx-linux.git] / arch / arm / boot / dts / at91sam9g45.dtsi
index e085b8af9a52df3adf5bed22c8786a40c35adc21..cfdf429578b59dfc39e28a5f71309a9d59f3ef41 100644 (file)
                                        };
                                };
 
+                               spi0 {
+                                       pinctrl_spi0: spi0-0 {
+                                               atmel,pins =
+                                                       <1 0 0x1 0x0    /* PB0 periph A SPI0_MISO pin */
+                                                        1 1 0x1 0x0    /* PB1 periph A SPI0_MOSI pin */
+                                                        1 2 0x1 0x0>;  /* PB2 periph A SPI0_SPCK pin */
+                                       };
+                               };
+
+                               spi1 {
+                                       pinctrl_spi1: spi1-0 {
+                                               atmel,pins =
+                                                       <1 14 0x1 0x0   /* PB14 periph A SPI1_MISO pin */
+                                                        1 15 0x1 0x0   /* PB15 periph A SPI1_MOSI pin */
+                                                        1 16 0x1 0x0>; /* PB16 periph A SPI1_SPCK pin */
+                                       };
+                               };
+
                                pioA: gpio@fffff200 {
                                        compatible = "atmel,at91rm9200-gpio";
                                        reg = <0xfffff200 0x200>;
                                compatible = "atmel,at91rm9200-spi";
                                reg = <0xfffa4000 0x200>;
                                interrupts = <14 4 3>;
+                               pinctrl-names = "default";
+                               pinctrl-0 = <&pinctrl_spi0>;
                                status = "disabled";
                        };
 
                                compatible = "atmel,at91rm9200-spi";
                                reg = <0xfffa8000 0x200>;
                                interrupts = <15 4 3>;
+                               pinctrl-names = "default";
+                               pinctrl-0 = <&pinctrl_spi1>;
                                status = "disabled";
                        };
                };