Skip to contentSkip to conversation

arm, am335x: add support for the bosch shc board

PATCH Superseded Heiko Schocher 2 participants 3 messages Nov 16, 2015

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm, am335x: add support for the bosch shc board

add support for the am335x based shc board.

UART: 0-2 and 4
DRAM: 512 MiB
MMC:  OMAP SD/MMC: 0 @ 26 MHz
      OMAP SD/MMC: 1 @ 26 MHz
I2C:  at24 eeprom, pcf8563
USB:  USB1 (host)

---
The following patches are needed to get all working for the shc board:
- disable clkout on pcf8563
accepted.
http://www.spinics.net/lists/devicetree/msg98542.html

- leds: leds-gpio: add shutdown function
accepted.
https://lkml.org/lkml/2015/10/13/169

- net: phy: smsc: disable energy detect mode accepted
[PATCH v2 2/2] net: phy: smsc: disable energy detect mode
https://lkml.org/lkml/2015/10/17/2
[PATCH v2 1/2] drivers: net: cpsw: add phy-handle parsing
https://lkml.org/lkml/2015/10/17/4

- ARM: OMAP2+: omap_hwmod: Introduce ti,no-init dt property
http://lists.infradead.org/pipermail/linux-arm-kernel/2015-March/328204.html
@Dave: What is the current state of this patch? I have the same problem here on this am335x based board

- [PATCH v2] regulator: tps65217: remove tps65217.dtsi file
http://www.kernelhub.org/?msg=868907&p=2

- bootlog and automated tests:
http://xeidos.ddns.net/buildbot/waterfall

 arch/arm/boot/dts/Makefile       |   3 +-
 arch/arm/boot/dts/am335x-shc.dts | 577 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 579 insertions(+), 1 deletion(-)
 create mode 100644 arch/arm/boot/dts/am335x-shc.dts
arch/arm/boot/dts/Makefile +2 -1
index 30bbc37..65d750f 100644
@@ -466,7 +466,8 @@ dtb-$(CONFIG_SOC_AM33XX) += \
 	am335x-pepper.dtb \
 	am335x-lxm.dtb \
 	am335x-chiliboard.dtb \
-	am335x-wega-rdk.dtb
+	am335x-wega-rdk.dtb \
+	am335x-shc.dtb
 dtb-$(CONFIG_ARCH_OMAP4) += \
 	omap4-duovero-parlor.dtb \
 	omap4-panda.dtb \
arch/arm/boot/dts/am335x-shc.dts new file +577 -0

577 lines not on this page · raw message

Signature · 1 line
2.1.0
#1 lore raw
Quoted 7 lines
arch/arm/boot/dts/am335x-shc.dts new file +7 -0
+
+       cpsw_default: cpsw_default {
+               pinctrl-single,pins = <
+                       /* Slave 1 */
+                       0x110 (PIN_INPUT_PULLDOWN | MUX_MODE0)
+                       0x114 (PIN_OUTPUT_PULLDOWN | MUX_MODE0)
+                       0x118 (PIN_INPUT_PULLDOWN | MUX_MODE0)

arch/arm/boot/dts/am335x-shc.dts line 407

Quoted 10 lines
arch/arm/boot/dts/am335x-shc.dts new file +10 -0
+                       0x11c (PIN_OUTPUT_PULLDOWN | MUX_MODE0)
+                       0x120 (PIN_OUTPUT_PULLDOWN | MUX_MODE0)
+                       0x124 (PIN_INPUT_PULLDOWN | MUX_MODE0)
+                       0x128 (PIN_INPUT_PULLDOWN | MUX_MODE0)
+                       0x12c (PIN_INPUT_PULLUP | MUX_MODE0)
+                       0x130 (PIN_INPUT_PULLDOWN | MUX_MODE0)
+                       0x134 (PIN_INPUT_PULLDOWN | MUX_MODE0)
+                       0x138 (PIN_INPUT_PULLDOWN | MUX_MODE0)
+                       0x13c (PIN_INPUT_PULLDOWN | MUX_MODE0)
+                       0x140 (PIN_INPUT_PULLDOWN | MUX_MODE0)

Please use the AM33XX_IOPAD pinmux macro:

All boards have recently be converted:

https://www.mail-archive.com/linux-omap at vger.kernel.org/msg121329.html

Regards,

Signature · 2 lines
Robert Nelson
https://rcn-ee.com/
#2 lore raw

Hello Robert,

Am 16.11.2015 um 14:23 schrieb Robert Nelson:

Quoted 18 lines
Quoted 7 lines
arch/arm/boot/dts/am335x-shc.dts new file +7 -0
+
+       cpsw_default: cpsw_default {
+               pinctrl-single,pins = <
+                       /* Slave 1 */
+                       0x110 (PIN_INPUT_PULLDOWN | MUX_MODE0)
+                       0x114 (PIN_OUTPUT_PULLDOWN | MUX_MODE0)
+                       0x118 (PIN_INPUT_PULLDOWN | MUX_MODE0)

arch/arm/boot/dts/am335x-shc.dts line 407

Quoted 10 lines
arch/arm/boot/dts/am335x-shc.dts new file +10 -0
+                       0x11c (PIN_OUTPUT_PULLDOWN | MUX_MODE0)
+                       0x120 (PIN_OUTPUT_PULLDOWN | MUX_MODE0)
+                       0x124 (PIN_INPUT_PULLDOWN | MUX_MODE0)
+                       0x128 (PIN_INPUT_PULLDOWN | MUX_MODE0)
+                       0x12c (PIN_INPUT_PULLUP | MUX_MODE0)
+                       0x130 (PIN_INPUT_PULLDOWN | MUX_MODE0)
+                       0x134 (PIN_INPUT_PULLDOWN | MUX_MODE0)
+                       0x138 (PIN_INPUT_PULLDOWN | MUX_MODE0)
+                       0x13c (PIN_INPUT_PULLDOWN | MUX_MODE0)
+                       0x140 (PIN_INPUT_PULLDOWN | MUX_MODE0)
Quoted 5 lines

Please use the AM33XX_IOPAD pinmux macro:

All boards have recently be converted:

https://www.mail-archive.com/linux-omap at vger.kernel.org/msg121329.html

Uh.. missed this, changed. Wait for more comments before posting v2.

Thanks!

bye,
Heiko

Signature · 2 lines
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany