x86/mm/pat: Don't report PAT on CPUs that don't support it
[linux/fpc-iii.git] / arch / arm / boot / dts / am335x-boneblack-common.dtsi
blob325daae40278a11fca64fa96d74fd64e991da546
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  */
9 #include <dt-bindings/display/tda998x.h>
11 &ldo3_reg {
12         regulator-min-microvolt = <1800000>;
13         regulator-max-microvolt = <1800000>;
14         regulator-always-on;
17 &mmc1 {
18         vmmc-supply = <&vmmcsd_fixed>;
21 &mmc2 {
22         vmmc-supply = <&vmmcsd_fixed>;
23         pinctrl-names = "default";
24         pinctrl-0 = <&emmc_pins>;
25         bus-width = <8>;
26         status = "okay";
29 &am33xx_pinmux {
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 */
53                 >;
54         };
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 */
59                 >;
60         };
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 */
69                 >;
70         };
73 &lcdc {
74         status = "okay";
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
79          * in tda19988 node.
80          */
81         blue-and-red-wiring = "straight";
83         port {
84                 lcdc_0: endpoint@0 {
85                         remote-endpoint = <&hdmi_0>;
86                 };
87         };
90 &i2c0 {
91         tda19988: tda19988 {
92                 compatible = "nxp,tda998x";
93                 reg = <0x70>;
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>;
105                 ports {
106                         port@0 {
107                                 hdmi_0: endpoint@0 {
108                                         remote-endpoint = <&lcdc_0>;
109                                 };
110                         };
111                 };
112         };
115 &rtc {
116         system-power-controller;
119 &mcasp0 {
120         #sound-dai-cells = <0>;
121         pinctrl-names = "default";
122         pinctrl-0 = <&mcasp0_pins>;
123         status = "okay";
124         op-mode = <0>;  /* MCASP_IIS_MODE */
125         tdm-slots = <2>;
126         serial-dir = <  /* 0: INACTIVE, 1: TX, 2: RX */
127                         0 0 1 0
128                 >;
129         tx-num-evt = <32>;
130         rx-num-evt = <32>;
133 / {
134         clk_mcasp0_fixed: clk_mcasp0_fixed {
135                 #clock-cells = <0>;
136                 compatible = "fixed-clock";
137                 clock-frequency = <24576000>;
138         };
140         clk_mcasp0: clk_mcasp0 {
141                 #clock-cells = <0>;
142                 compatible = "gpio-gate-clock";
143                 clocks = <&clk_mcasp0_fixed>;
144                 enable-gpios = <&gpio1 27 0>; /* BeagleBone Black Clk enable on GPIO1_27 */
145         };
147         sound {
148                 compatible = "simple-audio-card";
149                 simple-audio-card,name = "TI BeagleBone Black";
150                 simple-audio-card,format = "i2s";
151                 simple-audio-card,bitclock-master = <&dailink0_master>;
152                 simple-audio-card,frame-master = <&dailink0_master>;
154                 dailink0_master: simple-audio-card,cpu {
155                         sound-dai = <&mcasp0>;
156                         clocks = <&clk_mcasp0>;
157                 };
159                 simple-audio-card,codec {
160                         sound-dai = <&tda19988>;
161                 };
162         };