Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0-only
0002 /*
0003  * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/
0004  */
0005 /dts-v1/;
0006 
0007 #include "am33xx.dtsi"
0008 #include "am335x-bone-common.dtsi"
0009 #include "am335x-boneblack-common.dtsi"
0010 #include "am335x-boneblack-hdmi.dtsi"
0011 
0012 / {
0013         model = "TI AM335x BeagleBone Black";
0014         compatible = "ti,am335x-bone-black", "ti,am335x-bone", "ti,am33xx";
0015 };
0016 
0017 &cpu0_opp_table {
0018         /*
0019          * All PG 2.0 silicon may not support 1GHz but some of the early
0020          * BeagleBone Blacks have PG 2.0 silicon which is guaranteed
0021          * to support 1GHz OPP so enable it for PG 2.0 on this board.
0022          */
0023         oppnitro-1000000000 {
0024                 opp-supported-hw = <0x06 0x0100>;
0025         };
0026 };
0027 
0028 &gpio0 {
0029         gpio-line-names =
0030                 "[mdio_data]",
0031                 "[mdio_clk]",
0032                 "P9_22 [spi0_sclk]",
0033                 "P9_21 [spi0_d0]",
0034                 "P9_18 [spi0_d1]",
0035                 "P9_17 [spi0_cs0]",
0036                 "[mmc0_cd]",
0037                 "P8_42A [ecappwm0]",
0038                 "P8_35 [lcd d12]",
0039                 "P8_33 [lcd d13]",
0040                 "P8_31 [lcd d14]",
0041                 "P8_32 [lcd d15]",
0042                 "P9_20 [i2c2_sda]",
0043                 "P9_19 [i2c2_scl]",
0044                 "P9_26 [uart1_rxd]",
0045                 "P9_24 [uart1_txd]",
0046                 "[rmii1_txd3]",
0047                 "[rmii1_txd2]",
0048                 "[usb0_drvvbus]",
0049                 "[hdmi cec]",
0050                 "P9_41B",
0051                 "[rmii1_txd1]",
0052                 "P8_19 [ehrpwm2a]",
0053                 "P8_13 [ehrpwm2b]",
0054                 "NC",
0055                 "NC",
0056                 "P8_14",
0057                 "P8_17",
0058                 "[rmii1_txd0]",
0059                 "[rmii1_refclk]",
0060                 "P9_11 [uart4_rxd]",
0061                 "P9_13 [uart4_txd]";
0062 };
0063 
0064 &gpio1 {
0065         gpio-line-names =
0066                 "P8_25 [mmc1_dat0]",
0067                 "[mmc1_dat1]",
0068                 "P8_5 [mmc1_dat2]",
0069                 "P8_6 [mmc1_dat3]",
0070                 "P8_23 [mmc1_dat4]",
0071                 "P8_22 [mmc1_dat5]",
0072                 "P8_3 [mmc1_dat6]",
0073                 "P8_4 [mmc1_dat7]",
0074                 "NC",
0075                 "NC",
0076                 "NC",
0077                 "NC",
0078                 "P8_12",
0079                 "P8_11",
0080                 "P8_16",
0081                 "P8_15",
0082                 "P9_15A",
0083                 "P9_23",
0084                 "P9_14 [ehrpwm1a]",
0085                 "P9_16 [ehrpwm1b]",
0086                 "[emmc rst]",
0087                 "[usr0 led]",
0088                 "[usr1 led]",
0089                 "[usr2 led]",
0090                 "[usr3 led]",
0091                 "[hdmi irq]",
0092                 "[usb vbus oc]",
0093                 "[hdmi audio]",
0094                 "P9_12",
0095                 "P8_26",
0096                 "P8_21 [emmc]",
0097                 "P8_20 [emmc]";
0098 };
0099 
0100 &gpio2 {
0101         gpio-line-names =
0102                 "P9_15B",
0103                 "P8_18",
0104                 "P8_7",
0105                 "P8_8",
0106                 "P8_10",
0107                 "P8_9",
0108                 "P8_45 [hdmi]",
0109                 "P8_46 [hdmi]",
0110                 "P8_43 [hdmi]",
0111                 "P8_44 [hdmi]",
0112                 "P8_41 [hdmi]",
0113                 "P8_42 [hdmi]",
0114                 "P8_39 [hdmi]",
0115                 "P8_40 [hdmi]",
0116                 "P8_37 [hdmi]",
0117                 "P8_38 [hdmi]",
0118                 "P8_36 [hdmi]",
0119                 "P8_34 [hdmi]",
0120                 "[rmii1_rxd3]",
0121                 "[rmii1_rxd2]",
0122                 "[rmii1_rxd1]",
0123                 "[rmii1_rxd0]",
0124                 "P8_27 [hdmi]",
0125                 "P8_29 [hdmi]",
0126                 "P8_28 [hdmi]",
0127                 "P8_30 [hdmi]",
0128                 "[mmc0_dat3]",
0129                 "[mmc0_dat2]",
0130                 "[mmc0_dat1]",
0131                 "[mmc0_dat0]",
0132                 "[mmc0_clk]",
0133                 "[mmc0_cmd]";
0134 };
0135 
0136 &gpio3 {
0137         gpio-line-names =
0138                 "[mii col]",
0139                 "[mii crs]",
0140                 "[mii rx err]",
0141                 "[mii tx en]",
0142                 "[mii rx dv]",
0143                 "[i2c0 sda]",
0144                 "[i2c0 scl]",
0145                 "[jtag emu0]",
0146                 "[jtag emu1]",
0147                 "[mii tx clk]",
0148                 "[mii rx clk]",
0149                 "NC",
0150                 "NC",
0151                 "[usb vbus en]",
0152                 "P9_31 [spi1_sclk]",
0153                 "P9_29 [spi1_d0]",
0154                 "P9_30 [spi1_d1]",
0155                 "P9_28 [spi1_cs0]",
0156                 "P9_42B [ecappwm0]",
0157                 "P9_27",
0158                 "P9_41A",
0159                 "P9_25",
0160                 "NC",
0161                 "NC",
0162                 "NC",
0163                 "NC",
0164                 "NC",
0165                 "NC",
0166                 "NC",
0167                 "NC",
0168                 "NC",
0169                 "NC";
0170 };
0171 
0172 &baseboard_eeprom {
0173         vcc-supply = <&ldo4_reg>;
0174 };