andrewm@0
|
1 /*
|
andrewm@0
|
2 * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
|
andrewm@0
|
3 *
|
andrewm@0
|
4 * This program is free software; you can redistribute it and/or modify
|
andrewm@0
|
5 * it under the terms of the GNU General Public License version 2 as
|
andrewm@0
|
6 * published by the Free Software Foundation.
|
andrewm@0
|
7 */
|
andrewm@0
|
8 /dts-v1/;
|
andrewm@0
|
9 /plugin/;
|
andrewm@0
|
10
|
andrewm@0
|
11 / {
|
andrewm@154
|
12 compatible = "ti,beaglebone", "ti,beaglebone-black", "ti,beaglebone-green";
|
andrewm@0
|
13
|
andrewm@0
|
14 /* identification */
|
andrewm@0
|
15 part-number = "BB-BONE-BAREAUDI-02";
|
andrewm@0
|
16 version = "00A0", "A0";
|
andrewm@0
|
17
|
andrewm@0
|
18 /* state the resources this cape uses */
|
andrewm@0
|
19 exclusive-use =
|
andrewm@0
|
20 /* the pin header uses */
|
andrewm@0
|
21 "P9.31", /* mcasp0: mcasp0_aclkx */
|
andrewm@0
|
22 "P9.29", /* mcasp0: mcasp0_fsx */
|
andrewm@0
|
23 "P9.28", /* mcasp0: mcasp0_axr2 */
|
andrewm@0
|
24 "P9.25", /* mcasp0: mcasp0_ahclkx */
|
andrewm@0
|
25 /* the hardware ip uses */
|
andrewm@0
|
26 "gpio1_18", "gpio1_19",
|
andrewm@0
|
27 "mcasp0";
|
andrewm@0
|
28
|
andrewm@0
|
29 fragment@0 {
|
andrewm@0
|
30 target = <&am33xx_pinmux>;
|
andrewm@0
|
31 __overlay__ {
|
andrewm@0
|
32
|
andrewm@0
|
33 i2c2_pins: pinmux_i2c2_pins {
|
andrewm@0
|
34 pinctrl-single,pins = <
|
andrewm@0
|
35 0x150 0x72 /*spi0_scl.i2c2_sda,SLEWCTRL_SLOW | INPUT_PULLUP |MODE2*/
|
andrewm@0
|
36 0x154 0x72 /*spi0_d0.i2c2_scl,SLEWCTRL_SLOW | INPUT_PULLUP | MODE2*/
|
andrewm@0
|
37 >;
|
andrewm@0
|
38 };
|
andrewm@0
|
39
|
andrewm@0
|
40 bone_audio_cape_audio_pins: pinmux_bone_audio_cape_audio_pins {
|
andrewm@0
|
41 pinctrl-single,pins = <
|
andrewm@0
|
42 0x1ac 0x00 /* mcasp0_ahclkx, MODE0 | INPUT */
|
andrewm@0
|
43 0x19c 0x22 /* mcasp0_ahclkr, */
|
andrewm@0
|
44 0x194 0x20 /* mcasp0_fsx, MODE0 | OUTPUT */
|
andrewm@0
|
45 0x190 0x20 /* mcasp0_aclkr.mcasp0_aclkx, MODE0 | OUTPUT_PULLDOWN */
|
andrewm@0
|
46 0x198 0x20
|
andrewm@0
|
47 >;
|
andrewm@0
|
48 };
|
andrewm@0
|
49 };
|
andrewm@0
|
50 };
|
andrewm@0
|
51
|
andrewm@0
|
52 fragment@1 {
|
andrewm@0
|
53 target = <&mcasp0>;
|
andrewm@0
|
54 __overlay__ {
|
andrewm@0
|
55 pinctrl-names = "default";
|
andrewm@0
|
56 pinctrl-0 = <&bone_audio_cape_audio_pins>;
|
andrewm@0
|
57
|
andrewm@0
|
58 status = "okay";
|
andrewm@0
|
59
|
andrewm@0
|
60 op-mode = <0>; /* MCASP_IIS_MODE */
|
andrewm@0
|
61 tdm-slots = <2>;
|
andrewm@0
|
62 num-serializer = <16>;
|
andrewm@0
|
63 serial-dir = < /* 0: INACTIVE, 1: TX, 2: RX */
|
andrewm@0
|
64 2 0 1 0
|
andrewm@0
|
65 0 0 0 0
|
andrewm@0
|
66 0 0 0 0
|
andrewm@0
|
67 0 0 0 0
|
andrewm@0
|
68 >;
|
andrewm@0
|
69 tx-num-evt = <1>;
|
andrewm@0
|
70 rx-num-evt = <1>;
|
andrewm@0
|
71 };
|
andrewm@0
|
72 };
|
andrewm@0
|
73
|
andrewm@0
|
74 };
|