This adds the Gumstix Pepper[1] single-board computer based on the
TI AM335x processor. Schematics are available [2].
[1] https://store.gumstix.com/index.php/products/344/
[2] https://pubs.gumstix.com/boards/PEPPER/
Signed-off-by: Ash Charles ashchar...@gmail.com
---
arch/arm/boot/dts/Makefile | 3 +-
arch/arm/boot/dts/am335x-pepper.dts | 653
2 files changed, 655 insertions(+), 1 deletion(-)
create mode 100644 arch/arm/boot/dts/am335x-pepper.dts
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index a81a24c..9e0352f 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -277,7 +277,8 @@ dtb-$(CONFIG_SOC_AM33XX) += am335x-base0033.dtb \
am335x-boneblack.dtb \
am335x-evm.dtb \
am335x-evmsk.dtb \
- am335x-nano.dtb
+ am335x-nano.dtb \
+ am335x-pepper.dtb
dtb-$(CONFIG_ARCH_OMAP4) += omap4-duovero-parlor.dtb \
omap4-panda.dtb \
omap4-panda-a4.dtb \
diff --git a/arch/arm/boot/dts/am335x-pepper.dts
b/arch/arm/boot/dts/am335x-pepper.dts
new file mode 100644
index 000..0d35ab6
--- /dev/null
+++ b/arch/arm/boot/dts/am335x-pepper.dts
@@ -0,0 +1,653 @@
+/*
+ * Copyright (C) 2014 Gumstix, Inc. - https://www.gumstix.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 dt-bindings/input/input.h
+#include am33xx.dtsi
+
+/ {
+ model = Gumstix Pepper;
+ compatible = gumstix,am335x-pepper, ti,am33xx;
+
+ cpus {
+ cpu@0 {
+ cpu0-supply = dcdc3_reg;
+ };
+ };
+
+ memory {
+ device_type = memory;
+ reg = 0x8000 0x2000; /* 512 MB */
+ };
+
+ buttons: user_buttons {
+ compatible = gpio-keys;
+ };
+
+ leds: user_leds {
+ compatible = gpio-leds;
+ };
+
+ panel: lcd_panel {
+ compatible = ti,tilcdc,panel;
+ };
+
+ sound: sound_iface {
+ compatible = ti,da830-evm-audio;
+ };
+
+ vbat: fixedregulator@0 {
+ compatible = regulator-fixed;
+ };
+
+ v3v3c_reg: fixedregulator@1 {
+ compatible = regulator-fixed;
+ };
+
+ vdd5_reg: fixedregulator@2 {
+ compatible = regulator-fixed;
+ };
+};
+
+/* I2C Busses */
+i2c0 {
+ status = okay;
+ pinctrl-names = default;
+ pinctrl-0 = i2c0_pins;
+
+ clock-frequency = 40;
+
+ tps: tps@24 {
+ reg = 0x24;
+ };
+
+ eeprom: eeprom@50 {
+ compatible = at,24c256;
+ reg = 0x50;
+ };
+
+ audio_codec: tlv320aic3106@1b {
+ compatible = ti,tlv320aic3106;
+ reg = 0x1b;
+ };
+
+ accel: lis331dlh@1d {
+ compatible = st,lis3lv02d;
+ reg = 0x1d;
+ };
+};
+
+i2c1 {
+ status = okay;
+ pinctrl-names = default;
+ pinctrl-0 = i2c1_pins;
+ clock-frequency = 40;
+};
+
+am33xx_pinmux {
+ i2c0_pins: pinmux_i2c0 {
+ pinctrl-single,pins =
+ 0x188 (PIN_INPUT_PULLUP | MUX_MODE0)/*
i2c0_sda.i2c0_sda */
+ 0x18c (PIN_INPUT_PULLUP | MUX_MODE0)/*
i2c0_scl.i2c0_scl */
+ ;
+ };
+ i2c1_pins: pinmux_i2c1 {
+ pinctrl-single,pins =
+ 0x10C (PIN_INPUT_PULLUP | MUX_MODE3)/*
mii1_crs,i2c1_sda */
+ 0x110 (PIN_INPUT_PULLUP | MUX_MODE3)/*
mii1_rxerr,i2c1_scl */
+ ;
+ };
+};
+
+/* Accelerometer */
+accel {
+ pinctrl-names = default;
+ pinctrl-0 = accel_pins;
+
+ Vdd-supply = ldo3_reg;
+ Vdd_IO-supply = ldo3_reg;
+ st,irq1-click;
+ st,wakeup-x-lo;
+ st,wakeup-x-hi;
+ st,wakeup-y-lo;
+ st,wakeup-y-hi;
+ st,wakeup-z-lo;
+ st,wakeup-z-hi;
+ st,min-limit-x = 92;
+ st,max-limit-x = 14;
+ st,min-limit-y = 14;
+ st,max-limit-y = 92;
+ st,min-limit-z = 92;
+ st,max-limit-z = 14;
+};
+
+am33xx_pinmux {
+ accel_pins: pinmux_accel {
+ pinctrl-single,pins =
+ 0x98 (PIN_INPUT | MUX_MODE7) /* gpmc_wen.gpio2_4 */
+ ;
+ };
+};
+
+/* Audio */
+audio_codec {
+ status = okay;
+
+ gpio-reset = gpio1 16 GPIO_ACTIVE_LOW;
+ AVDD-supply = ldo3_reg;
+ IOVDD-supply = ldo3_reg;
+ DRVDD-supply = ldo3_reg;
+ DVDD-supply = dcdc1_reg;
+};
+
+sound {
+ ti,model = AM335x-EVM;
+ ti,audio-codec = audio_codec;
+ ti,mcasp-controller = mcasp0;
+ ti,codec-clock-rate = 1200;
+ ti,audio-routing =
+ Headphone Jack, HPLOUT,
+