comparison resources/BB-BONE-BAREAUDI-02-00A0.dts @ 0:8a575ba3ab52

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