Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
ed929a1
am335x-bone-common: split out am33xx_pinmux
RobertCNelson Sep 3, 2014
45aada5
am335x-boneblack: split out am33xx_pinmux
RobertCNelson Sep 3, 2014
450e224
am335x-boneblack: split out emmc
RobertCNelson Sep 3, 2014
a09b148
am335x-boneblack: split out nxp hdmi audio
RobertCNelson Sep 3, 2014
54c9a0d
am335x-bone: nxp hdmi no audio
RobertCNelson Sep 3, 2014
de3093e
am335x-bone-common: pinmux i2c1/i2c2
RobertCNelson Sep 3, 2014
c6ea081
am335x-bone-common: pinmux uart1/uart2/uart4/uart5
RobertCNelson Aug 26, 2014
c497707
am335x-bone-common: pinmux spi0-spidev
RobertCNelson Sep 3, 2014
4d4fd5b
am335x-bone-common: pinmux mcasp (audio cape revb)
john3909 Jul 16, 2014
5fefac1
am335x-bone: ti-tscadc-4-wire
RobertCNelson Aug 26, 2014
7fec8c1
am335x-bone-common: pinmux led (gpio1_18/gpio1_28/gpio3_19)
RobertCNelson Aug 26, 2014
bf5af10
am335x-bone-common: pinmux gpio-backlight (gpio1_18)
RobertCNelson Aug 26, 2014
d3ae20a
am335x-bone-common: pinmux keymaps
RobertCNelson Aug 26, 2014
647f6b7
am335x-bone-common: pinmux lcd panels
RobertCNelson Aug 26, 2014
6641b6e
am335x-bone: capes: lcd3/lcd4/lcd7/4dcape-43(t)/4dcape-70(t)
RobertCNelson Aug 26, 2014
47843cc
am335x-bone: cape: rtc-01-00a1
RobertCNelson Aug 26, 2014
7d938db
am335x-bone: cape: crypto-00a0
RobertCNelson Aug 26, 2014
e079caa
am335x-bone-common: pinmux spi1-spidev
RobertCNelson Aug 28, 2014
b8740cc
dts: am335x-bone-common: fixup leds to match 3.8
RobertCNelson Aug 27, 2014
43d1f98
cape: basic proto cape
RobertCNelson Aug 12, 2014
e08f6e4
cape: Argus UPS cape support
jdal Jun 16, 2014
31f9264
auto generated: cape: uarts
RobertCNelson Sep 4, 2014
715fa29
auto generated: cape: audio
RobertCNelson Sep 4, 2014
142c5ae
auto generated: cape: lcd
RobertCNelson Sep 4, 2014
de8dde1
auto generated: cape: argus
RobertCNelson Sep 4, 2014
60ea846
auto generated: cape: rtc-01-00a1
RobertCNelson Sep 4, 2014
6eb350d
auto generated: cape: crypto-00a0
RobertCNelson Sep 4, 2014
a8e0d9d
auto generated: cape: 4dcape
RobertCNelson Sep 4, 2014
b8d031d
auto generated: cape: basic-proto-cape
RobertCNelson Sep 4, 2014
92bdf64
auto generated: capes: add dtbs to makefile
RobertCNelson Sep 4, 2014
cab0fc4
DT doc: net: cpsw mac-address is optional
Aug 25, 2014
0464fe2
net: cpsw: Add missing return value
Aug 25, 2014
12feb2b
net: cpsw: header, Add missing include
Aug 25, 2014
186e5c3
net: cpsw: Replace pr_err by dev_err
Aug 25, 2014
d558349
net: cpsw: Add am33xx MACID readout
Aug 25, 2014
ce3aba4
am33xx: define syscon control module device node
Aug 25, 2014
03b8cb0
arm: dts: am33xx, Add syscon phandle to cpsw node
Aug 25, 2014
e20f82a
backport: gpio_backlight.c from: v3.15.10
RobertCNelson Aug 20, 2014
d0ae08a
firmware: am335x-pm-firmware.elf
RobertCNelson Aug 13, 2014
d8e9e94
packaging: sync with mainline
RobertCNelson Jul 9, 2014
dd21675
deb-pkg: install dtbs in linux-image package
RobertCNelson Jul 2, 2014
2553f1a
deb-pkg: no dtbs_install
RobertCNelson Jul 2, 2014
9c21470
3.14.17-ti-r17 patchset
RobertCNelson Sep 4, 2014
6e95621
3.14.17-ti-r17 bb.org_defconfig
RobertCNelson Sep 4, 2014
c7451e7
BeagleBone pinmux helper
pantoniou Dec 28, 2012
017b9bc
pinmux-helper: Add runtime configuration capability
pantoniou Mar 6, 2013
4211bc1
pinmux-helper: Switch to using kmalloc
pantoniou Mar 7, 2013
df42195
gpio: Introduce GPIO OF helper
pantoniou Jun 4, 2013
339da01
Add dir-changeable property to gpio-of-helper
cdsteinkuehler Jan 26, 2014
d7727fd
am33xx.dtsi: add ocp label
Sep 4, 2014
405c4f1
beaglebone: added expansion header to dtb
Sep 4, 2014
dd8ea6c
bb.org_defconfig: add GPIO_OF_HELPER
Sep 4, 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
6 changes: 5 additions & 1 deletion Documentation/devicetree/bindings/net/cpsw.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,18 @@ Optional properties:
- ti,hwmods : Must be "cpgmac0"
- no_bd_ram : Must be 0 or 1
- dual_emac : Specifies Switch to act as Dual EMAC
- syscon : Phandle to the system control device node, which is
the control module device of the am33x

Slave Properties:
Required properties:
- phy_id : Specifies slave phy id
- phy-mode : The interface between the SoC and the PHY (a string
that of_get_phy_mode() can understand)
- mac-address : Specifies slave MAC address

Optional properties:
- dual_emac_res_vlan : Specifies VID to be used to segregate the ports
- mac-address : See ethernet.txt file in the same directory

Note: "ti,hwmods" field is used to fetch the base address and irq
resources from TI, omap hwmod data base during device registration.
Expand All @@ -58,6 +60,7 @@ Examples:
active_slave = <0>;
cpts_clock_mult = <0x80000000>;
cpts_clock_shift = <29>;
syscon = <&cm>;
cpsw_emac0: slave@0 {
phy_id = <&davinci_mdio>, <0>;
phy-mode = "rgmii-txid";
Expand Down Expand Up @@ -86,6 +89,7 @@ Examples:
active_slave = <0>;
cpts_clock_mult = <0x80000000>;
cpts_clock_shift = <29>;
syscon = <&cm>;
cpsw_emac0: slave@0 {
phy_id = <&davinci_mdio>, <0>;
phy-mode = "rgmii-txid";
Expand Down
28 changes: 28 additions & 0 deletions arch/arm/boot/dts/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,34 @@ 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-4dcape-70t.dtb \
am335x-boneblack-4dcape-70.dtb \
am335x-boneblack-4dcape-43t.dtb \
am335x-boneblack-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-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
28 changes: 28 additions & 0 deletions arch/arm/boot/dts/am335x-bone-4dcape-43.dtsi
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
/*
* 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.
*/

/* Led */
/* #include "am335x-bone-led-gpio1-18.dtsi" */
#include "am335x-bone-led-gpio1-28.dtsi"
/* #include "am335x-bone-led-gpio3-19.dtsi" */

/* Keypad */
/* #include "am335x-bone-keymap0.dtsi" */
#include "am335x-bone-keymap1.dtsi"
/* #include "am335x-bone-keymap2.dtsi" */

/* Backlight */
#include "am335x-bone-bl-gpio1-18.dtsi"

/* Touchscreen */
/* #include "am335x-bone-ti-tscadc-4-wire.dtsi" */

/* Panel */
/* #include "am335x-bone-panel-320x240.dtsi" */
#include "am335x-bone-panel-480x272.dtsi"
/* #include "am335x-bone-panel-800x480.dtsi" */
28 changes: 28 additions & 0 deletions arch/arm/boot/dts/am335x-bone-4dcape-43t.dtsi
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
/*
* 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.
*/

/* Led */
/* #include "am335x-bone-led-gpio1-18.dtsi" */
#include "am335x-bone-led-gpio1-28.dtsi"
/* #include "am335x-bone-led-gpio3-19.dtsi" */

/* Keypad */
/* #include "am335x-bone-keymap0.dtsi" */
#include "am335x-bone-keymap1.dtsi"
/* #include "am335x-bone-keymap2.dtsi" */

/* Backlight */
#include "am335x-bone-bl-gpio1-18.dtsi"

/* Touchscreen */
#include "am335x-bone-ti-tscadc-4-wire.dtsi"

/* Panel */
/* #include "am335x-bone-panel-320x240.dtsi" */
#include "am335x-bone-panel-480x272.dtsi"
/* #include "am335x-bone-panel-800x480.dtsi" */
28 changes: 28 additions & 0 deletions arch/arm/boot/dts/am335x-bone-4dcape-70.dtsi
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
/*
* 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.
*/

/* Led */
/* #include "am335x-bone-led-gpio1-18.dtsi" */
#include "am335x-bone-led-gpio1-28.dtsi"
/* #include "am335x-bone-led-gpio3-19.dtsi" */

/* Keypad */
#include "am335x-bone-keymap0.dtsi"
/* #include "am335x-bone-keymap1.dtsi" */
/* #include "am335x-bone-keymap2.dtsi" */

/* Backlight */
#include "am335x-bone-bl-gpio1-18.dtsi"

/* Touchscreen */
/* #include "am335x-bone-ti-tscadc-4-wire.dtsi" */

/* Panel */
/* #include "am335x-bone-panel-320x240.dtsi" */
/* #include "am335x-bone-panel-480x272.dtsi" */
#include "am335x-bone-panel-800x480.dtsi"
28 changes: 28 additions & 0 deletions arch/arm/boot/dts/am335x-bone-4dcape-70t.dtsi
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
/*
* 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.
*/

/* Led */
/* #include "am335x-bone-led-gpio1-18.dtsi" */
#include "am335x-bone-led-gpio1-28.dtsi"
/* #include "am335x-bone-led-gpio3-19.dtsi" */

/* Keypad */
#include "am335x-bone-keymap0.dtsi"
/* #include "am335x-bone-keymap1.dtsi" */
/* #include "am335x-bone-keymap2.dtsi" */

/* Backlight */
#include "am335x-bone-bl-gpio1-18.dtsi"

/* Touchscreen */
#include "am335x-bone-ti-tscadc-4-wire.dtsi"

/* Panel */
/* #include "am335x-bone-panel-320x240.dtsi" */
/* #include "am335x-bone-panel-480x272.dtsi" */
#include "am335x-bone-panel-800x480.dtsi"
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 */
>;
};
};
92 changes: 92 additions & 0 deletions arch/arm/boot/dts/am335x-bone-audio.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
/*
* 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 spi0_cs0 */
/* P9.18 spi0_d1 */
/* P9.21 spi0_d0 */
/* P9.22 spi0_sclk */
/* #include "am335x-bone-spi0-spidev.dtsi" */

/* spi1: */
/* P9.31 spi1_sclk */
/* P9.29 spi1_d0 */
/* P9.30 spi1_d1 */
/* P9.28 spi1_cs0 */
/* #include "am335x-bone-spi1-spidev.dtsi" */

/* spi1a: */
/* P9.42 spi1_sclk */
/* P9.29 spi1_d0 */
/* P9.30 spi1_d1 */
/* P9.20 spi1_cs0 */
/* #include "am335x-bone-spi1a-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-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";
};
};
Loading