]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: at91/dt: sama5d2 Xplained: add pdmic node
authorSongjun Wu <songjun.wu@atmel.com>
Tue, 22 Dec 2015 09:26:05 +0000 (17:26 +0800)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Tue, 22 Dec 2015 09:37:53 +0000 (10:37 +0100)
Add pdmic node on sama5d2-xplained board.The pdmic
pins conflict with ISC_D0 & ISC_D1 data pins.

Signed-off-by: Songjun Wu <songjun.wu@atmel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
arch/arm/boot/dts/at91-sama5d2_xplained.dts

index 80fdab72f4fa12396b6e54eb1264158573582fdd..787a166b0393ff5551ab9844d40fb55647fcfc17 100644 (file)
                                status = "okay";
                        };
 
+                       pdmic@f8018000 {
+                               pinctrl-names = "default";
+                               pinctrl-0 = <&pinctrl_pdmic_default>;
+                               atmel,model = "PDMIC @ sama5d2_xplained";
+                               atmel,mic-min-freq = <1000000>;
+                               atmel,mic-max-freq = <3246000>;
+                               atmel,mic-offset = <0x0>;
+                               status = "okay";
+                       };
+
                        uart1: serial@f8020000 {
                                pinctrl-names = "default";
                                pinctrl-0 = <&pinctrl_uart1_default>;
                                        bias-disable;
                                };
 
+                               pinctrl_pdmic_default: pdmic_default {
+                                       pinmux = <PIN_PB26__PDMIC_DAT>,
+                                               <PIN_PB27__PDMIC_CLK>;
+                                       bias-disable;
+                               };
+
                                pinctrl_sdmmc0_default: sdmmc0_default {
                                        cmd_data {
                                                pinmux = <PIN_PA1__SDMMC0_CMD>,