blob: 04664bce194e0a8bb02081d3e6ec23941bd78184 [file] [log] [blame]
Shawn Guo3143bbb2012-07-07 23:12:03 +08001/dts-v1/;
2/include/ "imx28.dtsi"
3
4/ {
5 model = "Bluegiga APX4 Development Kit";
6 compatible = "bluegiga,apx4devkit", "fsl,imx28";
7
8 memory {
9 reg = <0x40000000 0x04000000>;
10 };
11
12 apb@80000000 {
13 apbh@80000000 {
14 ssp0: ssp@80010000 {
15 compatible = "fsl,imx28-mmc";
16 pinctrl-names = "default";
17 pinctrl-0 = <&mmc0_8bit_pins_a
18 &mmc0_cd_cfg
19 &mmc0_sck_cfg>;
20 bus-width = <8>;
21 status = "okay";
22 };
23
24 pinctrl@80018000 {
25 pinctrl-names = "default";
26 pinctrl-0 = <&hog_pins_a>;
27
28 hog_pins_a: hog-gpios@0 {
29 reg = <0>;
30 fsl,pinmux-ids = <
31 0x31c3 /* MX28_PAD_PWM3__GPIO_3_28 */
32 >;
33 fsl,drive-strength = <0>;
34 fsl,voltage = <1>;
35 fsl,pull-up = <0>;
36 };
37 };
38 };
39
40 apbx@80040000 {
41 saif0: saif@80042000 {
42 pinctrl-names = "default";
43 pinctrl-0 = <&saif0_pins_a>;
44 status = "okay";
45 };
46
47 saif1: saif@80046000 {
48 pinctrl-names = "default";
49 pinctrl-0 = <&saif1_pins_a>;
50 fsl,saif-master = <&saif0>;
51 status = "okay";
52 };
53
54 i2c0: i2c@80058000 {
55 pinctrl-names = "default";
56 pinctrl-0 = <&i2c0_pins_a>;
57 status = "okay";
58
59 sgtl5000: codec@0a {
60 compatible = "fsl,sgtl5000";
61 reg = <0x0a>;
62 VDDA-supply = <&reg_3p3v>;
63 VDDIO-supply = <&reg_3p3v>;
64
65 };
66
67 pcf8563: rtc@51 {
68 compatible = "phg,pcf8563";
69 reg = <0x51>;
70 };
71 };
72
73 duart: serial@80074000 {
74 pinctrl-names = "default";
75 pinctrl-0 = <&duart_pins_a>;
76 status = "okay";
77 };
78
79 auart0: serial@8006a000 {
80 pinctrl-names = "default";
81 pinctrl-0 = <&auart0_pins_a>;
82 status = "okay";
83 };
84
85 auart1: serial@8006c000 {
86 pinctrl-names = "default";
87 pinctrl-0 = <&auart1_2pins_a>;
88 status = "okay";
89 };
90
91 auart2: serial@8006e000 {
92 pinctrl-names = "default";
93 pinctrl-0 = <&auart2_2pins_a>;
94 status = "okay";
95 };
96
97 auart3: serial@80070000 {
98 pinctrl-names = "default";
99 pinctrl-0 = <&auart3_2pins_a>;
100 status = "okay";
101 };
102 };
103 };
104
105 ahb@80080000 {
106 mac0: ethernet@800f0000 {
107 phy-mode = "rmii";
108 pinctrl-names = "default";
109 pinctrl-0 = <&mac0_pins_a>;
110 status = "okay";
111 };
112 };
113
114 regulators {
115 compatible = "simple-bus";
116
117 reg_3p3v: 3p3v {
118 compatible = "regulator-fixed";
119 regulator-name = "3P3V";
120 regulator-min-microvolt = <3300000>;
121 regulator-max-microvolt = <3300000>;
122 regulator-always-on;
123 };
124 };
125
126 sound {
127 compatible = "bluegiga,apx4devkit-sgtl5000",
128 "fsl,mxs-audio-sgtl5000";
129 model = "apx4devkit-sgtl5000";
130 saif-controllers = <&saif0 &saif1>;
131 audio-codec = <&sgtl5000>;
132 };
133
134 leds {
135 compatible = "gpio-leds";
136
137 user {
138 label = "Heartbeat";
139 gpios = <&gpio3 28 0>;
140 linux,default-trigger = "heartbeat";
141 };
142 };
143};