Skip to content

Commit

Permalink
add: lcd: am335x-boneblack-bbb-exp-c.dtb am335x-boneblack-bbb-exp-r.dtb
Browse files Browse the repository at this point in the history
Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
  • Loading branch information
RobertCNelson committed Apr 26, 2017
1 parent d74fd21 commit 11a2730
Show file tree
Hide file tree
Showing 14 changed files with 962 additions and 0 deletions.
45 changes: 45 additions & 0 deletions arch/arm/boot/dts/am335x-bone-pinmux-can0.dtsi
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
/*
* Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/

#include <dt-bindings/board/am335x-bbw-bbb-base.h>
#include "am335x-peripheral-can0.dtsi"

/* cape universal */

/*
*&ocp {
* P9_19_pinmux {
* mode = "can";
* };
* P9_20_pinmux {
* mode = "can";
* };
*};
*
*&dcan0 {
* pinctrl-0 = <>;
*};
*
*/

/* standard */

&am33xx_pinmux {
dcan0_pins: pinmux_dcan0_pins {
pinctrl-single,pins = <
/* P9_20: uart1_ctsn.d_can0_tx */
BONE_P9_20 (PIN_OUTPUT_PULLUP | MUX_MODE2)
/* P9_19: uart1_rtsn.d_can0_rx */
BONE_P9_19 (PIN_INPUT_PULLUP | MUX_MODE2)
>;
};
};

&dcan0 {
pinctrl-0 = <&dcan0_pins>;
};
151 changes: 151 additions & 0 deletions arch/arm/boot/dts/am335x-bone-pinmux-panel-1024x600-24bit.dtsi
Original file line number Diff line number Diff line change
@@ -0,0 +1,151 @@
/*
* Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/

#include <dt-bindings/board/am335x-bbw-bbb-base.h>
#include "am335x-peripheral-panel-1024x600-24bit.dtsi"

/* cape universal */

/*
*&ocp {
* P8_27_pinmux {
* state = "disabled";
* };
* P8_28_pinmux {
* state = "disabled";
* };
* P8_29_pinmux {
* state = "disabled";
* };
* P8_30_pinmux {
* state = "disabled";
* };
* P8_31_pinmux {
* state = "disabled";
* };
* P8_32_pinmux {
* state = "disabled";
* };
* P8_33_pinmux {
* state = "disabled";
* };
* P8_34_pinmux {
* state = "disabled";
* };
* P8_35_pinmux {
* state = "disabled";
* };
* P8_36_pinmux {
* state = "disabled";
* };
* P8_37_pinmux {
* state = "disabled";
* };
* P8_38_pinmux {
* state = "disabled";
* };
* P8_39_pinmux {
* state = "disabled";
* };
* P8_40_pinmux {
* state = "disabled";
* };
* P8_41_pinmux {
* state = "disabled";
* };
* P8_42_pinmux {
* state = "disabled";
* };
* P8_43_pinmux {
* state = "disabled";
* };
* P8_44_pinmux {
* state = "disabled";
* };
* P8_45_pinmux {
* state = "disabled";
* };
* P8_46_pinmux {
* state = "disabled";
* };
*};
*/

/* standard */

&am33xx_pinmux {
lcd_24bit_pins: pinmux_lcd_24bit_pins {
pinctrl-single,pins = <

/* P8_45: lcd_data0.lcd_data0 */
BONE_P8_45 (PIN_OUTPUT | MUX_MODE0)
/* P8_46: lcd_data1.lcd_data1 */
BONE_P8_46 (PIN_OUTPUT | MUX_MODE0)
/* P8_43: lcd_data2.lcd_data2 */
BONE_P8_43 (PIN_OUTPUT | MUX_MODE0)
/* P8_44: lcd_data3.lcd_data3 */
BONE_P8_44 (PIN_OUTPUT | MUX_MODE0)
/* P8_41: lcd_data4.lcd_data4 */
BONE_P8_41 (PIN_OUTPUT | MUX_MODE0)
/* P8_42: lcd_data5.lcd_data5 */
BONE_P8_42 (PIN_OUTPUT | MUX_MODE0)
/* P8_39: lcd_data6.lcd_data6 */
BONE_P8_39 (PIN_OUTPUT | MUX_MODE0)
/* P8_40: lcd_data7.lcd_data7 */
BONE_P8_40 (PIN_OUTPUT | MUX_MODE0)
/* P8_37: lcd_data8.lcd_data8 */
BONE_P8_37 (PIN_OUTPUT | MUX_MODE0)
/* P8_38: lcd_data9.lcd_data9 */
BONE_P8_38 (PIN_OUTPUT | MUX_MODE0)
/* P8_36: lcd_data10.lcd_data10 */
BONE_P8_36 (PIN_OUTPUT | MUX_MODE0)
/* P8_34: lcd_data11.lcd_data11 */
BONE_P8_34 (PIN_OUTPUT | MUX_MODE0)
/* P8_35: lcd_data12.lcd_data12 */
BONE_P8_35 (PIN_OUTPUT | MUX_MODE0)
/* P8_33: lcd_data13.lcd_data13 */
BONE_P8_33 (PIN_OUTPUT | MUX_MODE0)
/* P8_31: lcd_data14.lcd_data14 */
BONE_P8_31 (PIN_OUTPUT | MUX_MODE0)
/* P8_32: lcd_data15.lcd_data15 */
BONE_P8_32 (PIN_OUTPUT | MUX_MODE0)

/* gpmc_ad15.lcd_data16 */
BONE_P8_15 (PIN_OUTPUT | MUX_MODE1)
/* gpmc_ad14.lcd_data17 */
BONE_P8_16 (PIN_OUTPUT | MUX_MODE1)
/* gpmc_ad13.lcd_data18 */
BONE_P8_11 (PIN_OUTPUT | MUX_MODE1)
/* gpmc_ad12.lcd_data19 */
BONE_P8_12 (PIN_OUTPUT | MUX_MODE1)
/* gpmc_ad11.lcd_data20 */
BONE_P8_17 (PIN_OUTPUT | MUX_MODE1)
/* gpmc_ad10.lcd_data21 */
BONE_P8_14 (PIN_OUTPUT | MUX_MODE1)
/* gpmc_ad9.lcd_data22 */
BONE_P8_13 (PIN_OUTPUT | MUX_MODE1)
/* gpmc_ad8.lcd_data23 */
BONE_P8_19 (PIN_OUTPUT | MUX_MODE1)

/* P8_27: lcd_vsync.lcd_vsync */
BONE_P8_27 (PIN_OUTPUT | MUX_MODE0)
/* P8_29: lcd_hsync.lcd_hsync */
BONE_P8_29 (PIN_OUTPUT | MUX_MODE0)
/* P8_28: lcd_pclk.lcd_pclk*/
BONE_P8_28 (PIN_OUTPUT | MUX_MODE0)
/* P8_30: lcd_ac_bias_en.lcd_ac_bias_en */
BONE_P8_30 (PIN_OUTPUT | MUX_MODE0)
>;
};
};

/ {
panel {
pinctrl-0 = <&lcd_24bit_pins>;
};
};
48 changes: 48 additions & 0 deletions arch/arm/boot/dts/am335x-bone-pinmux-ttyS1.dtsi
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
/*
* Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/

/* Testing */
/* sudo /sbin/getty -L ttyS1 115200 vt102 */

#include <dt-bindings/board/am335x-bbw-bbb-base.h>
#include "am335x-peripheral-ttyS1.dtsi"

/* cape universal */

/*
*&ocp {
* P9_24_pinmux {
* mode = "uart";
* };
* P9_26_pinmux {
* mode = "uart";
* };
*};
*
*&uart1 {
* pinctrl-0 = <>;
*};
*
*/

/* standard */

&am33xx_pinmux {
uart1_pins: pinmux_uart1_pins {
pinctrl-single,pins = <
/* P9_24: uart1_txd.uart1_txd */
BONE_P9_24 (PIN_OUTPUT_PULLDOWN | MUX_MODE0)
/* P9_26: uart1_rxd.uart1_rxd */
BONE_P9_26 (PIN_INPUT_PULLUP | MUX_MODE0)
>;
};
};

&uart1 {
pinctrl-0 = <&uart1_pins>;
};
48 changes: 48 additions & 0 deletions arch/arm/boot/dts/am335x-bone-pinmux-ttyS2.dtsi
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
/*
* Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/

/* Testing */
/* sudo /sbin/getty -L ttyS2 115200 vt102 */

#include <dt-bindings/board/am335x-bbw-bbb-base.h>
#include "am335x-peripheral-ttyS2.dtsi"

/* cape universal */

/*
*&ocp {
* P9_21_pinmux {
* mode = "uart";
* };
* P9_22_pinmux {
* mode = "uart";
* };
*};
*
*&uart2 {
* pinctrl-0 = <>;
*};
*
*/

/* standard */

&am33xx_pinmux {
uart2_pins: pinmux_uart2_pins {
pinctrl-single,pins = <
/* P9_21: spi0_d0.uart2_txd */
BONE_P9_21 (PIN_OUTPUT_PULLDOWN | MUX_MODE1)
/* P9_22: spi0_sclk.uart2_rxd */
BONE_P9_22 (PIN_INPUT_PULLUP | MUX_MODE1)
>;
};
};

&uart2 {
pinctrl-0 = <&uart2_pins>;
};
48 changes: 48 additions & 0 deletions arch/arm/boot/dts/am335x-bone-pinmux-ttyS4.dtsi
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
/*
* Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/

/* Testing */
/* sudo /sbin/getty -L ttyS4 115200 vt102 */

#include <dt-bindings/board/am335x-bbw-bbb-base.h>
#include "am335x-peripheral-ttyS4.dtsi"

/* cape universal */

/*
*&ocp {
* P9_11_pinmux {
* mode = "uart";
* };
* P9_13_pinmux {
* mode = "uart";
* };
*};
*
*&uart4 {
* pinctrl-0 = <>;
*};
*
*/

/* standard */

&am33xx_pinmux {
uart4_pins: pinmux_uart4_pins {
pinctrl-single,pins = <
/* P9_11: gpmc_wait0.uart4_rxd_mux2 */
BONE_P9_11 (PIN_INPUT_PULLUP | MUX_MODE6)
/* P9_13: gpmc_wpn.uart4_txd_mux2 */
BONE_P9_13 (PIN_OUTPUT_PULLDOWN | MUX_MODE6)
>;
};
};

&uart4 {
pinctrl-0 = <&uart4_pins>;
};
40 changes: 40 additions & 0 deletions arch/arm/boot/dts/am335x-boneblack-bbb-exp-c.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
/*
* Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
/dts-v1/;

#include "am33xx.dtsi"
#include "am335x-bone-common-no-capemgr.dtsi"

/ {
model = "TI AM335x BeagleBone Black";
compatible = "ti,am335x-bone-black", "ti,am335x-bone", "ti,am33xx";
};

&ldo3_reg {
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-always-on;
};

&mmc1 {
vmmc-supply = <&vmmcsd_fixed>;
};

&mmc2 {
vmmc-supply = <&vmmcsd_fixed>;
pinctrl-names = "default";
pinctrl-0 = <&emmc_pins>;
bus-width = <8>;
status = "okay";
};

&rtc {
system-power-controller;
};

#include "am335x-cape-bbb-exp-c.dtsi"
Loading

0 comments on commit 11a2730

Please sign in to comment.