]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: at91/dt: sama5d3 xplained: fill in mmc1 and set it to disabled
authorBen Dooks <ben.dooks@codethink.co.uk>
Mon, 27 Apr 2015 13:19:10 +0000 (15:19 +0200)
committerNicolas Ferre <nicolas.ferre@atmel.com>
Tue, 19 May 2015 13:04:54 +0000 (15:04 +0200)
The mmc1 channel is not populated on the SAM5D3 Xplained board, however
it is enabled and therefore the driver is attaching to it.

The node configuration for mmc1 is missing, so add an mmc1 node in the
device tree and set its status to disabled. Also add the vmmc and the
necessary slot configuration if this node were enabled to avoid the following
warnings from the driver:

atmel_mci f8000000.mmc: No vmmc regulator found
atmel_mci f8000000.mmc: No vqmmc regulator found

Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
arch/arm/boot/dts/at91-sama5d3_xplained.dts

index 64636974d7dd503633d46a210a8cc60db95bd9f2..df15587bedccbcbf008ecd38cb1d3352a98e2e3e 100644 (file)
                                };
                        };
 
+                       mmc1: mmc@f8000000 {
+                               vmmc-supply = <&vcc_3v3_reg>;
+                               vqmmc-supply = <&vcc_3v3_reg>;
+                               status = "disabled";
+                               slot@0 {
+                                       reg = <0>;
+                                       bus-width = <4>;
+                                       cd-gpios = <&pioE 1 GPIO_ACTIVE_LOW>;
+                               };
+                       };
+
                        spi0: spi@f0004000 {
                                cs-gpios = <&pioD 13 0>, <0>, <0>, <&pioD 16 0>;
                                status = "okay";