andrewm@0: /* andrewm@0: * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ andrewm@0: * andrewm@0: * This program is free software; you can redistribute it and/or modify andrewm@0: * it under the terms of the GNU General Public License version 2 as andrewm@0: * published by the Free Software Foundation. andrewm@0: */ andrewm@0: /dts-v1/; andrewm@0: /plugin/; andrewm@0: andrewm@0: / { andrewm@154: compatible = "ti,beaglebone", "ti,beaglebone-black", "ti,beaglebone-green"; andrewm@0: andrewm@0: /* identification */ andrewm@0: part-number = "BB-BONE-BAREAUDI-02"; andrewm@0: version = "00A0", "A0"; andrewm@0: andrewm@0: /* state the resources this cape uses */ andrewm@0: exclusive-use = andrewm@0: /* the pin header uses */ andrewm@0: "P9.31", /* mcasp0: mcasp0_aclkx */ andrewm@0: "P9.29", /* mcasp0: mcasp0_fsx */ andrewm@0: "P9.28", /* mcasp0: mcasp0_axr2 */ andrewm@0: "P9.25", /* mcasp0: mcasp0_ahclkx */ andrewm@0: /* the hardware ip uses */ andrewm@0: "gpio1_18", "gpio1_19", andrewm@0: "mcasp0"; andrewm@0: andrewm@0: fragment@0 { andrewm@0: target = <&am33xx_pinmux>; andrewm@0: __overlay__ { andrewm@0: andrewm@0: i2c2_pins: pinmux_i2c2_pins { andrewm@0: pinctrl-single,pins = < andrewm@0: 0x150 0x72 /*spi0_scl.i2c2_sda,SLEWCTRL_SLOW | INPUT_PULLUP |MODE2*/ andrewm@0: 0x154 0x72 /*spi0_d0.i2c2_scl,SLEWCTRL_SLOW | INPUT_PULLUP | MODE2*/ andrewm@0: >; andrewm@0: }; andrewm@0: andrewm@0: bone_audio_cape_audio_pins: pinmux_bone_audio_cape_audio_pins { andrewm@0: pinctrl-single,pins = < andrewm@0: 0x1ac 0x00 /* mcasp0_ahclkx, MODE0 | INPUT */ andrewm@0: 0x19c 0x22 /* mcasp0_ahclkr, */ andrewm@0: 0x194 0x20 /* mcasp0_fsx, MODE0 | OUTPUT */ andrewm@0: 0x190 0x20 /* mcasp0_aclkr.mcasp0_aclkx, MODE0 | OUTPUT_PULLDOWN */ andrewm@0: 0x198 0x20 andrewm@0: >; andrewm@0: }; andrewm@0: }; andrewm@0: }; andrewm@0: andrewm@0: fragment@1 { andrewm@0: target = <&mcasp0>; andrewm@0: __overlay__ { andrewm@0: pinctrl-names = "default"; andrewm@0: pinctrl-0 = <&bone_audio_cape_audio_pins>; andrewm@0: andrewm@0: status = "okay"; andrewm@0: andrewm@0: op-mode = <0>; /* MCASP_IIS_MODE */ andrewm@0: tdm-slots = <2>; andrewm@0: num-serializer = <16>; andrewm@0: serial-dir = < /* 0: INACTIVE, 1: TX, 2: RX */ andrewm@0: 2 0 1 0 andrewm@0: 0 0 0 0 andrewm@0: 0 0 0 0 andrewm@0: 0 0 0 0 andrewm@0: >; andrewm@0: tx-num-evt = <1>; andrewm@0: rx-num-evt = <1>; andrewm@0: }; andrewm@0: }; andrewm@0: andrewm@0: };