Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Standing pull request from jadonk #4

Closed
wants to merge 35 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
3369b6e
am335x-bone-common: split out am33xx_pinmux
RobertCNelson Aug 12, 2014
bbacf01
am335x-boneblack: split out am33xx_pinmux
RobertCNelson Aug 20, 2014
5bb8f69
am335x-boneblack: split out emmc
RobertCNelson Aug 19, 2014
28af7d9
am335x-boneblack: split out nxp hdmi no audio
RobertCNelson Aug 19, 2014
ffcfc9c
am335x-bone-common: pinmux i2c2
RobertCNelson Aug 19, 2014
2215374
am335x-bone-common: pinmux uart
RobertCNelson Aug 19, 2014
e51a3fa
am335x-bone-common: pinmux spi0 spidev
RobertCNelson Aug 19, 2014
8d93925
am335x-bone-common: pinmux mcasp0
john3909 Jul 16, 2014
c30c2af
am335x-bone-common: pinmux lcd
RobertCNelson Aug 19, 2014
91bb963
am335x-bone-common: pinmux tscadc 4 wire
RobertCNelson Aug 20, 2014
9ea2dfc
am335x-bone-common: pinmux led/keys lcd4-01-00a1 & lcd7-01-00a3
RobertCNelson Aug 22, 2014
78e01b4
am335x-bone-common: pinmux i2c1: rtc-01-00a1
RobertCNelson Aug 22, 2014
6147db1
am335x-bone-common: pinmux led/keys lcd7-01-00a2
RobertCNelson Aug 23, 2014
1c46711
am335x-bone-common: pinmux cryptocape
RobertCNelson Aug 25, 2014
a6eb5d1
cape: lcd-4dcape-43 & lcd-4dcape-43t
RobertCNelson Aug 25, 2014
c505383
cape: lcd3-01-00a2 backlight/keys/led
RobertCNelson Aug 25, 2014
e210402
cape: basic proto cape
RobertCNelson Aug 12, 2014
a37622c
cape: Argus UPS cape support
jdal Jun 16, 2014
cb6bda2
auto generated: cape: uarts
RobertCNelson Aug 25, 2014
b82d1c8
auto generated: cape: audio
RobertCNelson Aug 25, 2014
7b6d144
auto generated: cape: lcd
RobertCNelson Aug 25, 2014
db2e588
auto generated: cape: argus
RobertCNelson Aug 25, 2014
ab049aa
auto generated: cape: rtc-01-00a1
RobertCNelson Aug 25, 2014
94f32b1
auto generated: cape: crypto-00a0
RobertCNelson Aug 25, 2014
27a4d7c
auto generated: cape: 4dcape-43
RobertCNelson Aug 25, 2014
e49ba1a
auto generated: cape: basic-proto-cape
RobertCNelson Aug 25, 2014
798fb93
auto generated: capes: add dtbs to makefile
RobertCNelson Aug 25, 2014
6f99698
backport: gpio_backlight.c from: v3.15.10
RobertCNelson Aug 20, 2014
b5b5624
firmware: am335x-pm-firmware.elf
RobertCNelson Aug 13, 2014
64baa3e
packaging: sync with mainline
RobertCNelson Jul 9, 2014
0b29fe2
deb-pkg: install dtbs in linux-image package
RobertCNelson Jul 2, 2014
6f8076d
deb-pkg: no dtbs_install
RobertCNelson Jul 2, 2014
ba49fd1
3.14.17-ti-r14 patchset
RobertCNelson Aug 25, 2014
d889496
3.14.17-ti-r14 bb.org_defconfig
RobertCNelson Aug 25, 2014
c05160c
cape-universal-00A0.dts: added
cdsteinkuehler Aug 25, 2014
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions arch/arm/boot/dts/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,33 @@ dtb-$(CONFIG_ARCH_OMAP2PLUS) += omap2420-h4.dtb \
am335x-evmsk.dtb \
am335x-bone.dtb \
am335x-boneblack.dtb \
am335x-boneblack-ttyO5.dtb \
am335x-boneblack-ttyO4.dtb \
am335x-boneblack-ttyO2.dtb \
am335x-boneblack-ttyO1.dtb \
am335x-boneblack-rtc-01-00a1.dtb \
am335x-boneblack-lcd7-01-00a3.dtb \
am335x-boneblack-lcd7-01-00a2.dtb \
am335x-boneblack-lcd4-01-00a1.dtb \
am335x-boneblack-lcd3-01-00a2.dtb \
am335x-boneblack-lcd-4dcape-43t.dtb \
am335x-boneblack-lcd-4dcape-43.dtb \
am335x-boneblack-crypto-00a0.dtb \
am335x-boneblack-cape-bone-argus.dtb \
am335x-boneblack-audio.dtb \
am335x-bone-ttyO5.dtb \
am335x-bone-ttyO4.dtb \
am335x-bone-ttyO2.dtb \
am335x-bone-ttyO1.dtb \
am335x-bone-rtc-01-00a1.dtb \
am335x-bone-lcd7-01-00a3.dtb \
am335x-bone-lcd7-01-00a2.dtb \
am335x-bone-lcd4-01-00a1.dtb \
am335x-bone-lcd4-01-00a0.dtb \
am335x-bone-lcd3-01-00a2.dtb \
am335x-bone-crypto-00a0.dtb \
am335x-bone-cape-bone-argus.dtb \
am335x-bone-audio.dtb \
am335x-nano.dtb \
am335x-base0033.dtb \
am3517-craneboard.dtb \
Expand Down
46 changes: 46 additions & 0 deletions arch/arm/boot/dts/am335x-bone-argus.dtsi
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
/*
* 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.
*/

/ {
argus-ups {
compatible = "argus-ups";
status = "okay";

pinctrl-names = "default";
pinctrl-0 = <&argus_ups_pins>; /* Refer to previous label */
/* This section communicates the gpio numbers to the driver module */
/* Note that gpio controllers appear to be numbered from 1-n here rather than 0-(n-1)????? */
gpios = <&gpio0 30 0>, /* Request */
<&gpio0 5 0>, /* Acknowledge */
<&gpio0 4 0>, /* Watchdog */
<&gpio2 2 0>, /* LED 1 Green */
<&gpio2 3 0>, /* LED 1 Red */
<&gpio2 5 0>, /* LED 2 Green */
<&gpio2 4 0>, /* LED 2 Red */
<&gpio0 20 0>, /* General Output #1 */
<&gpio0 7 0>; /* General Output #2 */
debug = <1>;
shutdown = <1>;
};
};

&am33xx_pinmux {
argus_ups_pins: pinmux_argus_ups_pins { /* Set up pinmux */
pinctrl-single,pins = <
0x070 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_wait0.gpio0_30 */
0x15c (PIN_OUTPUT_PULLUP | MUX_MODE7) /* spi0_cs0.gpio0_5 */
0x158 (PIN_OUTPUT_PULLUP | MUX_MODE7) /* spi0_d1.gpio0_4 */
0x090 (PIN_OUTPUT_PULLUP | MUX_MODE7) /* gpmc_advn_ale.gpio_2 */
0x094 (PIN_OUTPUT_PULLUP | MUX_MODE7) /* gpmc_oen_ren.gpio2_3 */
0x09c (PIN_OUTPUT_PULLUP | MUX_MODE7) /* gpmc_ben0_cle.gpio2_5 */
0x098 (PIN_OUTPUT_PULLUP | MUX_MODE7) /* gpmc_gpmc_wen.gpio2_4 */
0x1b4 (PIN_OUTPUT_PULLUP | MUX_MODE7) /* xdma_event_intr1.gpio0_20 */
0x164 (PIN_OUTPUT_PULLUP | MUX_MODE7) /* ecap0_in_pwm0_out.gpio0_7 */
>;
};
};
75 changes: 75 additions & 0 deletions arch/arm/boot/dts/am335x-bone-audio.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
/*
* 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.dtsi"
#include "am335x-bone-common-pinmux.dtsi"

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

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

&am33xx_pinmux {
pinctrl-names = "default";
pinctrl-0 = <&clkout2_pin>;
};

&sham {
status = "okay";
};

&aes {
status = "okay";
};

/* spi0: P9.17, P9.18, P9.21, P9.22 */
/* #include "am335x-bone-spi0-spidev.dtsi" */

/* uart1: P9.24, P9.26 */
/* #include "am335x-bone-ttyO1.dtsi" */
/* uart2: P9.21, P9.22 */
/* #include "am335x-bone-ttyO2.dtsi" */
/* uart4: P9.11, P9.13 */
/* #include "am335x-bone-ttyO4.dtsi" */
/* uart5: P8.37, P8.38 */
/* #include "am335x-bone-ttyO5.dtsi" */

/* Capes */
/* http://elinux.org/CircuitCo:Audio_Cape_RevB */
/* Pins: P9.24, P9.28, P9.29, P9.31, P9.30 */
/* #include "am335x-bone-audio.dtsi" */

/* http://elinux.org/CircuitCo:BeagleBone_LCD3 */
/* #include "am335x-bone-lcd3-01-00a2.dtsi" */

/* http://elinux.org/CircuitCo:BeagleBone_LCD4 */
/* #include "am335x-bone-lcd4-01-00a0.dtsi" */
/* #include "am335x-bone-lcd4-01-00a1.dtsi" */

/* http://elinux.org/CircuitCo:BeagleBone_LCD7 */
/* #include "am335x-bone-lcd7-01-00a2.dtsi" */
/* #include "am335x-bone-lcd7-01-00a3.dtsi" */

/* http://elinux.org/CircuitCo:RTC_Cape */
/* i2c1: P9.17, P9.18 */
/* gpio: P8.26 (mfp: wakeup) */
/* #include "am335x-bone-rtc-01-00a1.dtsi" */

/* http://elinux.org/Cryptotronix:CryptoCape */
/* uart4: P9.11, P9.13 */
/* gpio: gpio1 13 gpio1 17 (gpio NOT IMPLEMENTED YET) */
/* #include "am335x-bone-crypto-00a0.dtsi" */

#include "am335x-bone-audio.dtsi"
60 changes: 60 additions & 0 deletions arch/arm/boot/dts/am335x-bone-audio.dtsi
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
/*
* 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.
*/

&i2c2 {
tlv320aic3x: tlv320aic3x@18 {
compatible = "ti,tlv320aic3x";
reg = <0x18>;
ai3x-micbias-vg = <1>;
status = "okay";

/* Regulators */
AVDD-supply = <&ldo4_reg>;
IOVDD-supply = <&ldo4_reg>;
DRVDD-supply = <&ldo4_reg>;
DVDD-supply = <&vbat>;
};
};

&mcasp0 {
pinctrl-names = "default";
pinctrl-0 = <&mcasp0_pins_audio>;
status = "okay";
op-mode = <0>; /* MCASP_IIS_MODE */
tdm-slots = <2>;
num-serializer = <16>;
serial-dir = < /* 0: INACTIVE, 1: TX, 2: RX */
2 0 1 0
0 0 0 0
0 0 0 0
0 0 0 0
>;
tx-num-evt = <1>;
rx-num-evt = <1>;
};

/ {
sound {
compatible = "ti,da830-evm-audio";
ti,model = "DA830 EVM";
ti,audio-codec = <&tlv320aic3x>;
ti,mcasp-controller = <&mcasp0>;
ti,codec-clock-rate = <12000000>;
ti,audio-routing =
"Headphone Jack", "HPLOUT",
"Headphone Jack", "HPROUT",
"Line Out", "LLOUT",
"Line Out", "RLOUT",
"MIC3L", "Mic Jack",
"MIC3R", "Mic Jack",
"LINE1L", "Line In",
"LINE2L", "Line In",
"LINE1R", "Line In",
"LINE2R", "Line In";
};
};
17 changes: 17 additions & 0 deletions arch/arm/boot/dts/am335x-bone-basic-proto-cape.dtsi
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/*
* 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 "am335x-bone-spi0-spidev.dtsi"
#include "am335x-bone-ttyO1.dtsi"

&tscadc {
status = "okay";
adc {
ti,adc-channels = <4 5 6>;
};
};
75 changes: 75 additions & 0 deletions arch/arm/boot/dts/am335x-bone-cape-bone-argus.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
/*
* 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.dtsi"
#include "am335x-bone-common-pinmux.dtsi"

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

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

&am33xx_pinmux {
pinctrl-names = "default";
/* pinctrl-0 = <&clkout2_pin>; */
};

&sham {
status = "okay";
};

&aes {
status = "okay";
};

/* spi0: P9.17, P9.18, P9.21, P9.22 */
/* #include "am335x-bone-spi0-spidev.dtsi" */

/* uart1: P9.24, P9.26 */
/* #include "am335x-bone-ttyO1.dtsi" */
/* uart2: P9.21, P9.22 */
/* #include "am335x-bone-ttyO2.dtsi" */
/* uart4: P9.11, P9.13 */
/* #include "am335x-bone-ttyO4.dtsi" */
/* uart5: P8.37, P8.38 */
/* #include "am335x-bone-ttyO5.dtsi" */

/* Capes */
/* http://elinux.org/CircuitCo:Audio_Cape_RevB */
/* Pins: P9.24, P9.28, P9.29, P9.31, P9.30 */
/* #include "am335x-bone-audio.dtsi" */

/* http://elinux.org/CircuitCo:BeagleBone_LCD3 */
/* #include "am335x-bone-lcd3-01-00a2.dtsi" */

/* http://elinux.org/CircuitCo:BeagleBone_LCD4 */
/* #include "am335x-bone-lcd4-01-00a0.dtsi" */
/* #include "am335x-bone-lcd4-01-00a1.dtsi" */

/* http://elinux.org/CircuitCo:BeagleBone_LCD7 */
/* #include "am335x-bone-lcd7-01-00a2.dtsi" */
/* #include "am335x-bone-lcd7-01-00a3.dtsi" */

/* http://elinux.org/CircuitCo:RTC_Cape */
/* i2c1: P9.17, P9.18 */
/* gpio: P8.26 (mfp: wakeup) */
/* #include "am335x-bone-rtc-01-00a1.dtsi" */

/* http://elinux.org/Cryptotronix:CryptoCape */
/* uart4: P9.11, P9.13 */
/* gpio: gpio1 13 gpio1 17 (gpio NOT IMPLEMENTED YET) */
/* #include "am335x-bone-crypto-00a0.dtsi" */

#include "am335x-bone-argus.dtsi"
Loading