]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - arch/arm/boot/dts/imx6qdl-sabresd.dtsi
ddb6e9183ae579996843f60d7d19050673c53dea
[karo-tx-linux.git] / arch / arm / boot / dts / imx6qdl-sabresd.dtsi
1 /*
2  * Copyright 2012 Freescale Semiconductor, Inc.
3  * Copyright 2011 Linaro Ltd.
4  *
5  * The code contained herein is licensed under the GNU General Public
6  * License. You may obtain a copy of the GNU General Public License
7  * Version 2 or later at the following locations:
8  *
9  * http://www.opensource.org/licenses/gpl-license.html
10  * http://www.gnu.org/copyleft/gpl.html
11  */
12
13 / {
14         memory {
15                 reg = <0x10000000 0x40000000>;
16         };
17
18         regulators {
19                 compatible = "simple-bus";
20
21                 reg_usb_otg_vbus: usb_otg_vbus {
22                         compatible = "regulator-fixed";
23                         regulator-name = "usb_otg_vbus";
24                         regulator-min-microvolt = <5000000>;
25                         regulator-max-microvolt = <5000000>;
26                         gpio = <&gpio3 22 0>;
27                         enable-active-high;
28                 };
29
30                 reg_audio: wm8962_supply {
31                         compatible = "regulator-fixed";
32                         regulator-name = "wm8962-supply";
33                         gpio = <&gpio4 10 0>;
34                         enable-active-high;
35                 };
36         };
37
38         gpio-keys {
39                 compatible = "gpio-keys";
40
41                 volume-up {
42                         label = "Volume Up";
43                         gpios = <&gpio1 4 0>;
44                         linux,code = <115>; /* KEY_VOLUMEUP */
45                 };
46
47                 volume-down {
48                         label = "Volume Down";
49                         gpios = <&gpio1 5 0>;
50                         linux,code = <114>; /* KEY_VOLUMEDOWN */
51                 };
52         };
53 };
54
55 &fec {
56         pinctrl-names = "default";
57         pinctrl-0 = <&pinctrl_enet_1>;
58         phy-mode = "rgmii";
59         status = "okay";
60 };
61
62 &i2c1 {
63         clock-frequency = <100000>;
64         pinctrl-names = "default";
65         pinctrl-0 = <&pinctrl_i2c1_2>;
66         status = "okay";
67
68         codec: wm8962@1a {
69                 compatible = "wlf,wm8962";
70                 reg = <0x1a>;
71                 clocks = <&clks 169>;
72                 DCVDD-supply = <&reg_audio>;
73                 DBVDD-supply = <&reg_audio>;
74                 AVDD-supply = <&reg_audio>;
75                 CPVDD-supply = <&reg_audio>;
76                 MICVDD-supply = <&reg_audio>;
77                 PLLVDD-supply = <&reg_audio>;
78                 SPKVDD1-supply = <&reg_audio>;
79                 SPKVDD2-supply = <&reg_audio>;
80                 gpio-cfg = <
81                         0x0000 /* 0:Default */
82                         0x0000 /* 1:Default */
83                         0x0013 /* 2:FN_DMICCLK */
84                         0x0000 /* 3:Default */
85                         0x8014 /* 4:FN_DMICCDAT */
86                         0x0000 /* 5:Default */
87                 >;
88        };
89 };
90
91 &uart1 {
92         pinctrl-names = "default";
93         pinctrl-0 = <&pinctrl_uart1_1>;
94         status = "okay";
95 };
96
97 &usbh1 {
98         status = "okay";
99 };
100
101 &usbotg {
102         vbus-supply = <&reg_usb_otg_vbus>;
103         pinctrl-names = "default";
104         pinctrl-0 = <&pinctrl_usbotg_2>;
105         disable-over-current;
106         status = "okay";
107 };
108
109 &usdhc2 {
110         pinctrl-names = "default";
111         pinctrl-0 = <&pinctrl_usdhc2_1>;
112         cd-gpios = <&gpio2 2 0>;
113         wp-gpios = <&gpio2 3 0>;
114         status = "okay";
115 };
116
117 &usdhc3 {
118         pinctrl-names = "default";
119         pinctrl-0 = <&pinctrl_usdhc3_1>;
120         cd-gpios = <&gpio2 0 0>;
121         wp-gpios = <&gpio2 1 0>;
122         status = "okay";
123 };