2 * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
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.
9 #include <dt-bindings/display/tda998x.h>
12 regulator-min-microvolt = <1800000>;
13 regulator-max-microvolt = <1800000>;
18 vmmc-supply = <&vmmcsd_fixed>;
22 vmmc-supply = <&vmmcsd_fixed>;
23 pinctrl-names = "default";
24 pinctrl-0 = <&emmc_pins>;
30 nxp_hdmi_bonelt_pins: nxp_hdmi_bonelt_pins {
31 pinctrl-single,pins = <
32 AM33XX_IOPAD(0x9b0, PIN_OUTPUT_PULLDOWN | MUX_MODE3) /* xdma_event_intr0 */
33 AM33XX_IOPAD(0x8a0, PIN_OUTPUT | MUX_MODE0) /* lcd_data0.lcd_data0 */
34 AM33XX_IOPAD(0x8a4, PIN_OUTPUT | MUX_MODE0) /* lcd_data1.lcd_data1 */
35 AM33XX_IOPAD(0x8a8, PIN_OUTPUT | MUX_MODE0) /* lcd_data2.lcd_data2 */
36 AM33XX_IOPAD(0x8ac, PIN_OUTPUT | MUX_MODE0) /* lcd_data3.lcd_data3 */
37 AM33XX_IOPAD(0x8b0, PIN_OUTPUT | MUX_MODE0) /* lcd_data4.lcd_data4 */
38 AM33XX_IOPAD(0x8b4, PIN_OUTPUT | MUX_MODE0) /* lcd_data5.lcd_data5 */
39 AM33XX_IOPAD(0x8b8, PIN_OUTPUT | MUX_MODE0) /* lcd_data6.lcd_data6 */
40 AM33XX_IOPAD(0x8bc, PIN_OUTPUT | MUX_MODE0) /* lcd_data7.lcd_data7 */
41 AM33XX_IOPAD(0x8c0, PIN_OUTPUT | MUX_MODE0) /* lcd_data8.lcd_data8 */
42 AM33XX_IOPAD(0x8c4, PIN_OUTPUT | MUX_MODE0) /* lcd_data9.lcd_data9 */
43 AM33XX_IOPAD(0x8c8, PIN_OUTPUT | MUX_MODE0) /* lcd_data10.lcd_data10 */
44 AM33XX_IOPAD(0x8cc, PIN_OUTPUT | MUX_MODE0) /* lcd_data11.lcd_data11 */
45 AM33XX_IOPAD(0x8d0, PIN_OUTPUT | MUX_MODE0) /* lcd_data12.lcd_data12 */
46 AM33XX_IOPAD(0x8d4, PIN_OUTPUT | MUX_MODE0) /* lcd_data13.lcd_data13 */
47 AM33XX_IOPAD(0x8d8, PIN_OUTPUT | MUX_MODE0) /* lcd_data14.lcd_data14 */
48 AM33XX_IOPAD(0x8dc, PIN_OUTPUT | MUX_MODE0) /* lcd_data15.lcd_data15 */
49 AM33XX_IOPAD(0x8e0, PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* lcd_vsync.lcd_vsync */
50 AM33XX_IOPAD(0x8e4, PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* lcd_hsync.lcd_hsync */
51 AM33XX_IOPAD(0x8e8, PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* lcd_pclk.lcd_pclk */
52 AM33XX_IOPAD(0x8ec, PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* lcd_ac_bias_en.lcd_ac_bias_en */
56 nxp_hdmi_bonelt_off_pins: nxp_hdmi_bonelt_off_pins {
57 pinctrl-single,pins = <
58 AM33XX_IOPAD(0x9b0, PIN_OUTPUT_PULLDOWN | MUX_MODE3) /* xdma_event_intr0 */
62 mcasp0_pins: mcasp0_pins {
63 pinctrl-single,pins = <
64 AM33XX_IOPAD(0x9ac, PIN_INPUT_PULLUP | MUX_MODE0) /* mcasp0_ahcklx.mcasp0_ahclkx */
65 AM33XX_IOPAD(0x99c, PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mcasp0_ahclkr.mcasp0_axr2*/
66 AM33XX_IOPAD(0x994, PIN_OUTPUT_PULLUP | MUX_MODE0) /* mcasp0_fsx.mcasp0_fsx */
67 AM33XX_IOPAD(0x990, PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* mcasp0_aclkx.mcasp0_aclkx */
68 AM33XX_IOPAD(0x86c, PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* gpmc_a11.GPIO1_27 */
76 /* If you want to get 24 bit RGB and 16 BGR mode instead of
77 * current 16 bit RGB and 24 BGR modes, set the propety
78 * below to "crossed" and uncomment the video-ports -property
81 blue-and-red-wiring = "straight";
85 remote-endpoint = <&hdmi_0>;
91 tda19988: tda19988@70 {
92 compatible = "nxp,tda998x";
95 pinctrl-names = "default", "off";
96 pinctrl-0 = <&nxp_hdmi_bonelt_pins>;
97 pinctrl-1 = <&nxp_hdmi_bonelt_off_pins>;
99 /* Convert 24bit BGR to RGB, e.g. cross red and blue wiring */
100 /* video-ports = <0x234501>; */
102 #sound-dai-cells = <0>;
103 audio-ports = < TDA998x_I2S 0x03>;
108 remote-endpoint = <&lcdc_0>;
116 system-power-controller;
120 #sound-dai-cells = <0>;
121 pinctrl-names = "default";
122 pinctrl-0 = <&mcasp0_pins>;
124 op-mode = <0>; /* MCASP_IIS_MODE */
126 serial-dir = < /* 0: INACTIVE, 1: TX, 2: RX */
135 device_type = "memory";
136 reg = <0x80000000 0x20000000>; /* 512 MB */
139 clk_mcasp0_fixed: clk_mcasp0_fixed {
141 compatible = "fixed-clock";
142 clock-frequency = <24576000>;
145 clk_mcasp0: clk_mcasp0 {
147 compatible = "gpio-gate-clock";
148 clocks = <&clk_mcasp0_fixed>;
149 enable-gpios = <&gpio1 27 0>; /* BeagleBone Black Clk enable on GPIO1_27 */
153 compatible = "simple-audio-card";
154 simple-audio-card,name = "TI BeagleBone Black";
155 simple-audio-card,format = "i2s";
156 simple-audio-card,bitclock-master = <&dailink0_master>;
157 simple-audio-card,frame-master = <&dailink0_master>;
159 dailink0_master: simple-audio-card,cpu {
160 sound-dai = <&mcasp0>;
161 clocks = <&clk_mcasp0>;
164 simple-audio-card,codec {
165 sound-dai = <&tda19988>;