* [PATCH 0/2] ARM: dts: AM4372: Add more nodes
@ 2013-10-10 19:14 Lokesh Vutla
2013-10-10 19:14 ` [PATCH 1/2] " Lokesh Vutla
` (3 more replies)
0 siblings, 4 replies; 7+ messages in thread
From: Lokesh Vutla @ 2013-10-10 19:14 UTC (permalink / raw)
To: bcousson, linux-omap
Cc: linux-arm-kernel, devicetree, mugunthanvnm, sourav.poddar, linux,
akpm, rnayak, afzal, nsekhar, r.sricharan, balajitk, balbi,
lokeshvutla
This patch series add nodes for l2-cache-controller, EDMA, mailbox, mmc, sham,
and updates the properties for cpsw, i2c0, matrix-keypad.
These patches are applied on top of Benoit's for_3.13/dts branch
git://git.kernel.org/pub/scm/linux/kernel/git/bcousson/linux-omap-dt.git for_3.13/dts
Testing:
Tested EDMA, mmc, sham, aes, des, i2c0, cpsw, matric-keypad on AM4372 EPOS EVM
with the addition of following two series:
-> Tero's V8 of OMAP DT clock conversion
http://www.mail-archive.com/linux-omap@vger.kernel.org/msg96769.html
-> Afzal's V5 of AM43x PRCM basic support
http://www.mail-archive.com/linux-omap@vger.kernel.org/msg96275.html
Lokesh Vutla (1):
ARM: dts: AM4372: Add more nodes
Mugunthan V N (1):
ARM: dts: AM4372: Update Support for EPOS EVM
arch/arm/boot/dts/am4372.dtsi | 210 +++++++++++++++++++++++++++++++++-
arch/arm/boot/dts/am43x-epos-evm.dts | 168 +++++++++++++++++++++++++++
include/dt-bindings/pinctrl/am43xx.h | 31 +++++
3 files changed, 408 insertions(+), 1 deletion(-)
create mode 100644 include/dt-bindings/pinctrl/am43xx.h
--
1.7.9.5
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH 1/2] ARM: dts: AM4372: Add more nodes
2013-10-10 19:14 [PATCH 0/2] ARM: dts: AM4372: Add more nodes Lokesh Vutla
@ 2013-10-10 19:14 ` Lokesh Vutla
2013-10-10 19:14 ` [PATCH 2/2] ARM: dts: AM4372: Update Support for EPOS EVM Lokesh Vutla
` (2 subsequent siblings)
3 siblings, 0 replies; 7+ messages in thread
From: Lokesh Vutla @ 2013-10-10 19:14 UTC (permalink / raw)
To: bcousson, linux-omap
Cc: linux-arm-kernel, devicetree, mugunthanvnm, sourav.poddar, linux,
akpm, rnayak, afzal, nsekhar, r.sricharan, balajitk, balbi,
lokeshvutla
Populate nodes for l2-cache-controller, EDMA, mailbox,
mmc, sham.
And also updating dt properties for epwmss, aes, des.
Few nodes are taken from a different tree that are added by
Suman Anna <s-anna@ti.com> (Mailbox)
Balaji T K <balajitk@ti.com> (MMC)
Mugunthan V N <mugunthanvnm@ti.com> (Pinmux, Ethernet)
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
---
arch/arm/boot/dts/am4372.dtsi | 210 ++++++++++++++++++++++++++++++++++++++++-
1 file changed, 209 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/am4372.dtsi b/arch/arm/boot/dts/am4372.dtsi
index a403172..c328d5c 100644
--- a/arch/arm/boot/dts/am4372.dtsi
+++ b/arch/arm/boot/dts/am4372.dtsi
@@ -19,6 +19,8 @@
aliases {
serial0 = &uart0;
+ ethernet0 = &cpsw_emac0;
+ ethernet1 = &cpsw_emac1;
};
cpus {
@@ -39,11 +41,42 @@
<0x48240100 0x0100>;
};
+ l2-cache-controller@48242000 {
+ compatible = "arm,pl310-cache";
+ reg = <0x48242000 0x1000>;
+ cache-unified;
+ cache-level = <2>;
+ };
+
+ am43xx_pinmux: pinmux@44e10800 {
+ compatible = "pinctrl-single";
+ reg = <0x44e10800 0x31c>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+ pinctrl-single,register-width = <32>;
+ pinctrl-single,function-mask = <0xffffffff>;
+ };
+
ocp {
compatible = "simple-bus";
#address-cells = <1>;
#size-cells = <1>;
ranges;
+ ti,hwmods = "l3_main";
+
+ edma: edma@49000000 {
+ compatible = "ti,edma3";
+ ti,hwmods = "tpcc", "tptc0", "tptc1", "tptc2";
+ reg = <0x49000000 0x10000>,
+ <0x44e10f90 0x10>;
+ interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
+ #dma-cells = <1>;
+ dma-channels = <64>;
+ ti,edma-regions = <4>;
+ ti,edma-slots = <256>;
+ };
uart0: serial@44e09000 {
compatible = "ti,am4372-uart","ti,omap2-uart";
@@ -92,6 +125,18 @@
status = "disabled";
};
+ mailbox: mailbox@480C8000 {
+ compatible = "ti,omap4-mailbox";
+ reg = <0x480C8000 0x200>;
+ interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
+ ti,hwmods = "mailbox";
+ ti,mbox-num-users = <4>;
+ ti,mbox-num-fifos = <8>;
+ ti,mbox-names = "wkup_m3";
+ ti,mbox-data = <0 0 0 0>;
+ status = "disabled";
+ };
+
timer1: timer@44e31000 {
compatible = "ti,am4372-timer-1ms","ti,am335x-timer-1ms";
reg = <0x44e31000 0x400>;
@@ -203,7 +248,6 @@
reg = <0x44e35000 0x1000>;
interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>;
ti,hwmods = "wd_timer2";
- status = "disabled";
};
gpio0: gpio@44e07000 {
@@ -318,6 +362,40 @@
status = "disabled";
};
+ mmc1: mmc@48060000 {
+ compatible = "ti,omap4-hsmmc";
+ reg = <0x48060000 0x1000>;
+ ti,hwmods = "mmc1";
+ ti,dual-volt;
+ ti,needs-special-reset;
+ dmas = <&edma 24
+ &edma 25>;
+ dma-names = "tx", "rx";
+ interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>;
+ status = "disabled";
+ };
+
+ mmc2: mmc@481d8000 {
+ compatible = "ti,omap4-hsmmc";
+ reg = <0x481d8000 0x1000>;
+ ti,hwmods = "mmc2";
+ ti,needs-special-reset;
+ dmas = <&edma 2
+ &edma 3>;
+ dma-names = "tx", "rx";
+ interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>;
+ status = "disabled";
+ };
+
+ mmc3: mmc@47810000 {
+ compatible = "ti,omap4-hsmmc";
+ reg = <0x47810000 0x1000>;
+ ti,hwmods = "mmc3";
+ ti,needs-special-reset;
+ interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
+ status = "disabled";
+ };
+
spi1: spi@481a0000 {
compatible = "ti,am4372-mcspi","ti,omap4-mcspi";
reg = <0x481a0000 0x400>;
@@ -366,50 +444,173 @@
GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH
GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH
GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>;
+ #address-cells = <1>;
+ #size-cells = <1>;
ti,hwmods = "cpgmac0";
status = "disabled";
+ cpdma_channels = <8>;
+ ale_entries = <1024>;
+ bd_ram_size = <0x2000>;
+ no_bd_ram = <0>;
+ rx_descs = <64>;
+ mac_control = <0x20>;
+ slaves = <2>;
+ active_slave = <0>;
+ cpts_clock_mult = <0x80000000>;
+ cpts_clock_shift = <29>;
+ ranges;
+
+ davinci_mdio: mdio@4a101000 {
+ compatible = "ti,am4372-mdio","ti,davinci_mdio";
+ reg = <0x4a101000 0x100>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+ ti,hwmods = "davinci_mdio";
+ bus_freq = <1000000>;
+ status = "disabled";
+ };
+
+ cpsw_emac0: slave@4a100200 {
+ /* Filled in by U-Boot */
+ mac-address = [ 00 00 00 00 00 00 ];
+ };
+
+ cpsw_emac1: slave@4a100300 {
+ /* Filled in by U-Boot */
+ mac-address = [ 00 00 00 00 00 00 ];
+ };
};
epwmss0: epwmss@48300000 {
compatible = "ti,am4372-pwmss","ti,am33xx-pwmss";
reg = <0x48300000 0x10>;
+ #address-cells = <1>;
+ #size-cells = <1>;
+ ranges;
ti,hwmods = "epwmss0";
status = "disabled";
+
+ ecap0: ecap@48300100 {
+ compatible = "ti,am4372-ecap","ti,am33xx-ecap";
+ reg = <0x48300100 0x80>;
+ ti,hwmods = "ecap0";
+ status = "disabled";
+ };
+
+ ehrpwm0: ehrpwm@48300200 {
+ compatible = "ti,am4372-ehrpwm","ti,am33xx-ehrpwm";
+ reg = <0x48300200 0x80>;
+ ti,hwmods = "ehrpwm0";
+ status = "disabled";
+ };
};
epwmss1: epwmss@48302000 {
compatible = "ti,am4372-pwmss","ti,am33xx-pwmss";
reg = <0x48302000 0x10>;
+ #address-cells = <1>;
+ #size-cells = <1>;
+ ranges;
ti,hwmods = "epwmss1";
status = "disabled";
+
+ ecap1: ecap@48302100 {
+ compatible = "ti,am4372-ecap","ti,am33xx-ecap";
+ reg = <0x48302100 0x80>;
+ ti,hwmods = "ecap1";
+ status = "disabled";
+ };
+
+ ehrpwm1: ehrpwm@48302200 {
+ compatible = "ti,am4372-ehrpwm","ti,am33xx-ehrpwm";
+ reg = <0x48302200 0x80>;
+ ti,hwmods = "ehrpwm1";
+ status = "disabled";
+ };
};
epwmss2: epwmss@48304000 {
compatible = "ti,am4372-pwmss","ti,am33xx-pwmss";
reg = <0x48304000 0x10>;
+ #address-cells = <1>;
+ #size-cells = <1>;
+ ranges;
ti,hwmods = "epwmss2";
status = "disabled";
+
+ ecap2: ecap@48304100 {
+ compatible = "ti,am4372-ecap","ti,am33xx-ecap";
+ reg = <0x48304100 0x80>;
+ ti,hwmods = "ecap2";
+ status = "disabled";
+ };
+
+ ehrpwm2: ehrpwm@48304200 {
+ compatible = "ti,am4372-ehrpwm","ti,am33xx-ehrpwm";
+ reg = <0x48304200 0x80>;
+ ti,hwmods = "ehrpwm2";
+ status = "disabled";
+ };
};
epwmss3: epwmss@48306000 {
compatible = "ti,am4372-pwmss","ti,am33xx-pwmss";
reg = <0x48306000 0x10>;
+ #address-cells = <1>;
+ #size-cells = <1>;
+ ranges;
ti,hwmods = "epwmss3";
status = "disabled";
+
+ ehrpwm3: ehrpwm@48306200 {
+ compatible = "ti,am4372-ehrpwm","ti,am33xx-ehrpwm";
+ reg = <0x48306200 0x80>;
+ ti,hwmods = "ehrpwm3";
+ status = "disabled";
+ };
};
epwmss4: epwmss@48308000 {
compatible = "ti,am4372-pwmss","ti,am33xx-pwmss";
reg = <0x48308000 0x10>;
+ #address-cells = <1>;
+ #size-cells = <1>;
+ ranges;
ti,hwmods = "epwmss4";
status = "disabled";
+
+ ehrpwm4: ehrpwm@48308200 {
+ compatible = "ti,am4372-ehrpwm","ti,am33xx-ehrpwm";
+ reg = <0x48308200 0x80>;
+ ti,hwmods = "ehrpwm4";
+ status = "disabled";
+ };
};
epwmss5: epwmss@4830a000 {
compatible = "ti,am4372-pwmss","ti,am33xx-pwmss";
reg = <0x4830a000 0x10>;
+ #address-cells = <1>;
+ #size-cells = <1>;
+ ranges;
ti,hwmods = "epwmss5";
status = "disabled";
+
+ ehrpwm5: ehrpwm@4830a200 {
+ compatible = "ti,am4372-ehrpwm","ti,am33xx-ehrpwm";
+ reg = <0x4830a200 0x80>;
+ ti,hwmods = "ehrpwm5";
+ status = "disabled";
+ };
+ };
+
+ sham: sham@53100000 {
+ compatible = "ti,omap5-sham";
+ ti,hwmods = "sham";
+ reg = <0x53100000 0x300>;
+ dmas = <&edma 36>;
+ dma-names = "rx";
+ interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>;
};
aes: aes@53501000 {
@@ -417,6 +618,9 @@
ti,hwmods = "aes";
reg = <0x53501000 0xa0>;
interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
+ dmas = <&edma 6
+ &edma 5>;
+ dma-names = "tx", "rx";
};
des: des@53701000 {
@@ -424,6 +628,10 @@
ti,hwmods = "des";
reg = <0x53701000 0xa0>;
interrupts = <GIC_SPI 130 IRQ_TYPE_LEVEL_HIGH>;
+ dmas = <&edma 34
+ &edma 33>;
+ dma-names = "tx", "rx";
};
+
};
};
--
1.7.9.5
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH 2/2] ARM: dts: AM4372: Update Support for EPOS EVM
2013-10-10 19:14 [PATCH 0/2] ARM: dts: AM4372: Add more nodes Lokesh Vutla
2013-10-10 19:14 ` [PATCH 1/2] " Lokesh Vutla
@ 2013-10-10 19:14 ` Lokesh Vutla
2013-10-10 19:18 ` [PATCH 0/2] ARM: dts: AM4372: Add more nodes Felipe Balbi
2013-10-18 3:49 ` Lokesh Vutla
3 siblings, 0 replies; 7+ messages in thread
From: Lokesh Vutla @ 2013-10-10 19:14 UTC (permalink / raw)
To: bcousson, linux-omap
Cc: linux-arm-kernel, devicetree, mugunthanvnm, sourav.poddar, linux,
akpm, rnayak, afzal, nsekhar, r.sricharan, balajitk, balbi,
lokeshvutla
From: Mugunthan V N <mugunthanvnm@ti.com>
-> Adding pinmux for cpsw, i2c0.
-> Enabling the modules that are present in AM4372 EPOS EVM
These modules are tested on AM4372 EPOS EVM.
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Sourav Poddar <sourav.poddar@ti.com>
Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
---
arch/arm/boot/dts/am43x-epos-evm.dts | 168 ++++++++++++++++++++++++++++++++++
include/dt-bindings/pinctrl/am43xx.h | 31 +++++++
2 files changed, 199 insertions(+)
create mode 100644 include/dt-bindings/pinctrl/am43xx.h
diff --git a/arch/arm/boot/dts/am43x-epos-evm.dts b/arch/arm/boot/dts/am43x-epos-evm.dts
index 74174d4..fbf9c4c 100644
--- a/arch/arm/boot/dts/am43x-epos-evm.dts
+++ b/arch/arm/boot/dts/am43x-epos-evm.dts
@@ -11,8 +11,176 @@
/dts-v1/;
#include "am4372.dtsi"
+#include <dt-bindings/pinctrl/am43xx.h>
+#include <dt-bindings/gpio/gpio.h>
/ {
model = "TI AM43x EPOS EVM";
compatible = "ti,am43x-epos-evm","ti,am4372","ti,am43";
+
+ vmmcsd_fixed: fixedregulator-sd {
+ compatible = "regulator-fixed";
+ regulator-name = "vmmcsd_fixed";
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+ enable-active-high;
+ };
+
+ am43xx_pinmux: pinmux@44e10800 {
+ cpsw_default: cpsw_default {
+ pinctrl-single,pins = <
+ /* Slave 1 */
+ 0x10c (PIN_INPUT_PULLDOWN | MUX_MODE1) /* mii1_crs.rmii1_crs */
+ 0x110 (PIN_INPUT_PULLDOWN | MUX_MODE1) /* mii1_rxerr.rmii1_rxerr */
+ 0x114 (PIN_OUTPUT_PULLDOWN | MUX_MODE1) /* mii1_txen.rmii1_txen */
+ 0x118 (PIN_INPUT_PULLDOWN | MUX_MODE1) /* mii1_rxdv.rmii1_rxdv */
+ 0x124 (PIN_OUTPUT_PULLDOWN | MUX_MODE1) /* mii1_txd1.rmii1_txd1 */
+ 0x128 (PIN_OUTPUT_PULLDOWN | MUX_MODE1) /* mii1_txd0.rmii1_txd0 */
+ 0x13c (PIN_INPUT_PULLDOWN | MUX_MODE1) /* mii1_rxd1.rmii1_rxd1 */
+ 0x140 (PIN_INPUT_PULLDOWN | MUX_MODE1) /* mii1_rxd0.rmii1_rxd0 */
+ 0x144 (PIN_INPUT_PULLDOWN | MUX_MODE0) /* rmii1_refclk.rmii1_refclk */
+ >;
+ };
+
+ cpsw_sleep: cpsw_sleep {
+ pinctrl-single,pins = <
+ /* Slave 1 reset value */
+ 0x10c (PIN_INPUT_PULLDOWN | MUX_MODE7)
+ 0x110 (PIN_INPUT_PULLDOWN | MUX_MODE7)
+ 0x114 (PIN_INPUT_PULLDOWN | MUX_MODE7)
+ 0x118 (PIN_INPUT_PULLDOWN | MUX_MODE7)
+ 0x124 (PIN_INPUT_PULLDOWN | MUX_MODE7)
+ 0x128 (PIN_INPUT_PULLDOWN | MUX_MODE7)
+ 0x13c (PIN_INPUT_PULLDOWN | MUX_MODE7)
+ 0x140 (PIN_INPUT_PULLDOWN | MUX_MODE7)
+ 0x144 (PIN_INPUT_PULLDOWN | MUX_MODE7)
+ >;
+ };
+
+ davinci_mdio_default: davinci_mdio_default {
+ pinctrl-single,pins = <
+ /* MDIO */
+ 0x148 (PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE0) /* mdio_data.mdio_data */
+ 0x14c (PIN_OUTPUT_PULLUP | MUX_MODE0) /* mdio_clk.mdio_clk */
+ >;
+ };
+
+ davinci_mdio_sleep: davinci_mdio_sleep {
+ pinctrl-single,pins = <
+ /* MDIO reset value */
+ 0x148 (PIN_INPUT_PULLDOWN | MUX_MODE7)
+ 0x14c (PIN_INPUT_PULLDOWN | MUX_MODE7)
+ >;
+ };
+
+ i2c0_pins: pinmux_i2c0_pins {
+ pinctrl-single,pins = <
+ 0x188 (PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE0) /* i2c0_sda.i2c0_sda */
+ 0x18c (PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE0) /* i2c0_scl.i2c0_scl */
+ >;
+ };
+ };
+
+ matrix_keypad: matrix_keypad@0 {
+ compatible = "gpio-matrix-keypad";
+ debounce-delay-ms = <5>;
+ col-scan-delay-us = <2>;
+
+ row-gpios = <&gpio0 12 GPIO_ACTIVE_HIGH /* Bank0, pin12 */
+ &gpio0 13 GPIO_ACTIVE_HIGH /* Bank0, pin13 */
+ &gpio0 14 GPIO_ACTIVE_HIGH /* Bank0, pin14 */
+ &gpio0 15 GPIO_ACTIVE_HIGH>; /* Bank0, pin15 */
+
+ col-gpios = <&gpio3 9 GPIO_ACTIVE_HIGH /* Bank3, pin9 */
+ &gpio3 10 GPIO_ACTIVE_HIGH /* Bank3, pin10 */
+ &gpio2 18 GPIO_ACTIVE_HIGH /* Bank2, pin18 */
+ &gpio2 19 GPIO_ACTIVE_HIGH>; /* Bank2, pin19 */
+
+ linux,keymap = <0x00000201 /* P1 */
+ 0x01000204 /* P4 */
+ 0x02000207 /* P7 */
+ 0x0300020a /* NUMERIC_STAR */
+ 0x00010202 /* P2 */
+ 0x01010205 /* P5 */
+ 0x02010208 /* P8 */
+ 0x03010200 /* P0 */
+ 0x00020203 /* P3 */
+ 0x01020206 /* P6 */
+ 0x02020209 /* P9 */
+ 0x0302020b /* NUMERIC_POUND */
+ 0x00030067 /* UP */
+ 0x0103006a /* RIGHT */
+ 0x0203006c /* DOWN */
+ 0x03030069>; /* LEFT */
+ };
+};
+
+&mmc1 {
+ status = "okay";
+ vmmc-supply = <&vmmcsd_fixed>;
+ bus-width = <4>;
+};
+
+&mac {
+ pinctrl-names = "default", "sleep";
+ pinctrl-0 = <&cpsw_default>;
+ pinctrl-1 = <&cpsw_sleep>;
+ status = "okay";
+};
+
+&davinci_mdio {
+ pinctrl-names = "default", "sleep";
+ pinctrl-0 = <&davinci_mdio_default>;
+ pinctrl-1 = <&davinci_mdio_sleep>;
+ status = "okay";
+};
+
+&cpsw_emac0 {
+ phy_id = <&davinci_mdio>, <16>;
+ phy-mode = "rmii";
+};
+
+&cpsw_emac1 {
+ phy_id = <&davinci_mdio>, <1>;
+ phy-mode = "rmii";
+};
+
+&i2c0 {
+ status = "okay";
+ pinctrl-names = "default";
+ pinctrl-0 = <&i2c0_pins>;
+
+ at24@50 {
+ compatible = "at24,24c256";
+ pagesize = <64>;
+ reg = <0x50>;
+ };
+
+ pixcir_ts@5c {
+ compatible = "pixcir,pixcir_ts";
+ reg = <0x5c>;
+ interrupt-parent = <&gpio1>;
+ interrupts = <17 0>;
+
+ attb-gpio = <&gpio1 17 GPIO_ACTIVE_HIGH>;
+
+ x-size = <1024>;
+ y-size = <768>;
+ };
+};
+
+&gpio0 {
+ status = "okay";
+};
+
+&gpio1 {
+ status = "okay";
+};
+
+&gpio2 {
+ status = "okay";
+};
+
+&gpio3 {
+ status = "okay";
};
diff --git a/include/dt-bindings/pinctrl/am43xx.h b/include/dt-bindings/pinctrl/am43xx.h
new file mode 100644
index 0000000..eb6c366a
--- /dev/null
+++ b/include/dt-bindings/pinctrl/am43xx.h
@@ -0,0 +1,31 @@
+/*
+ * This header provides constants specific to AM43XX pinctrl bindings.
+ */
+
+#ifndef _DT_BINDINGS_PINCTRL_AM43XX_H
+#define _DT_BINDINGS_PINCTRL_AM43XX_H
+
+#define MUX_MODE0 0
+#define MUX_MODE1 1
+#define MUX_MODE2 2
+#define MUX_MODE3 3
+#define MUX_MODE4 4
+#define MUX_MODE5 5
+#define MUX_MODE6 6
+#define MUX_MODE7 7
+
+#define PULL_DISABLE (1 << 16)
+#define PULL_UP (1 << 17)
+#define INPUT_EN (1 << 18)
+#define SLEWCTRL_FAST (1 << 19)
+#define DS0_PULL_UP_DOWN_EN (1 << 27)
+
+#define PIN_OUTPUT (PULL_DISABLE)
+#define PIN_OUTPUT_PULLUP (PULL_UP)
+#define PIN_OUTPUT_PULLDOWN 0
+#define PIN_INPUT (INPUT_EN | PULL_DISABLE)
+#define PIN_INPUT_PULLUP (INPUT_EN | PULL_UP)
+#define PIN_INPUT_PULLDOWN (INPUT_EN)
+
+#endif
+
--
1.7.9.5
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH 0/2] ARM: dts: AM4372: Add more nodes
2013-10-10 19:14 [PATCH 0/2] ARM: dts: AM4372: Add more nodes Lokesh Vutla
2013-10-10 19:14 ` [PATCH 1/2] " Lokesh Vutla
2013-10-10 19:14 ` [PATCH 2/2] ARM: dts: AM4372: Update Support for EPOS EVM Lokesh Vutla
@ 2013-10-10 19:18 ` Felipe Balbi
2013-10-18 3:49 ` Lokesh Vutla
3 siblings, 0 replies; 7+ messages in thread
From: Felipe Balbi @ 2013-10-10 19:18 UTC (permalink / raw)
To: Lokesh Vutla
Cc: bcousson, linux-omap, linux-arm-kernel, devicetree, mugunthanvnm,
sourav.poddar, linux, akpm, rnayak, afzal, nsekhar, r.sricharan,
balajitk, balbi
[-- Attachment #1: Type: text/plain, Size: 872 bytes --]
Hi,
On Fri, Oct 11, 2013 at 12:44:52AM +0530, Lokesh Vutla wrote:
> This patch series add nodes for l2-cache-controller, EDMA, mailbox,
> mmc, sham, and updates the properties for cpsw, i2c0, matrix-keypad.
>
> These patches are applied on top of Benoit's for_3.13/dts branch
> git://git.kernel.org/pub/scm/linux/kernel/git/bcousson/linux-omap-dt.git for_3.13/dts
>
> Testing:
> Tested EDMA, mmc, sham, aes, des, i2c0, cpsw, matric-keypad on AM4372 EPOS EVM
> with the addition of following two series:
> -> Tero's V8 of OMAP DT clock conversion
> http://www.mail-archive.com/linux-omap@vger.kernel.org/msg96769.html
> -> Afzal's V5 of AM43x PRCM basic support
> http://www.mail-archive.com/linux-omap@vger.kernel.org/msg96275.html
one extra piece of info:
all these patches are fresh out of Wakeup, tested on top of v3.12-rc3.
--
balbi
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 0/2] ARM: dts: AM4372: Add more nodes
2013-10-10 19:14 [PATCH 0/2] ARM: dts: AM4372: Add more nodes Lokesh Vutla
` (2 preceding siblings ...)
2013-10-10 19:18 ` [PATCH 0/2] ARM: dts: AM4372: Add more nodes Felipe Balbi
@ 2013-10-18 3:49 ` Lokesh Vutla
2013-10-18 6:56 ` Benoit Cousson
3 siblings, 1 reply; 7+ messages in thread
From: Lokesh Vutla @ 2013-10-18 3:49 UTC (permalink / raw)
To: Lokesh Vutla
Cc: bcousson, linux-omap, linux-arm-kernel, devicetree, mugunthanvnm,
sourav.poddar, linux, akpm, rnayak, afzal, nsekhar, r.sricharan,
balajitk, balbi
Hi Benoit,
On Friday 11 October 2013 12:44 AM, Lokesh Vutla wrote:
> This patch series add nodes for l2-cache-controller, EDMA, mailbox, mmc, sham,
> and updates the properties for cpsw, i2c0, matrix-keypad.
>
> These patches are applied on top of Benoit's for_3.13/dts branch
> git://git.kernel.org/pub/scm/linux/kernel/git/bcousson/linux-omap-dt.git for_3.13/dts
Can you take this patch series for 3.13?
Thanks and regards,
Lokesh
>
> Testing:
> Tested EDMA, mmc, sham, aes, des, i2c0, cpsw, matric-keypad on AM4372 EPOS EVM
> with the addition of following two series:
> -> Tero's V8 of OMAP DT clock conversion
> http://www.mail-archive.com/linux-omap@vger.kernel.org/msg96769.html
> -> Afzal's V5 of AM43x PRCM basic support
> http://www.mail-archive.com/linux-omap@vger.kernel.org/msg96275.html
>
> Lokesh Vutla (1):
> ARM: dts: AM4372: Add more nodes
>
> Mugunthan V N (1):
> ARM: dts: AM4372: Update Support for EPOS EVM
>
> arch/arm/boot/dts/am4372.dtsi | 210 +++++++++++++++++++++++++++++++++-
> arch/arm/boot/dts/am43x-epos-evm.dts | 168 +++++++++++++++++++++++++++
> include/dt-bindings/pinctrl/am43xx.h | 31 +++++
> 3 files changed, 408 insertions(+), 1 deletion(-)
> create mode 100644 include/dt-bindings/pinctrl/am43xx.h
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 0/2] ARM: dts: AM4372: Add more nodes
2013-10-18 3:49 ` Lokesh Vutla
@ 2013-10-18 6:56 ` Benoit Cousson
2013-10-18 6:58 ` Lokesh Vutla
0 siblings, 1 reply; 7+ messages in thread
From: Benoit Cousson @ 2013-10-18 6:56 UTC (permalink / raw)
To: Lokesh Vutla
Cc: linux-omap, linux-arm-kernel, devicetree, mugunthanvnm,
sourav.poddar, linux, akpm, rnayak, afzal, nsekhar, r.sricharan,
balajitk, balbi
Hi Lokesh,
On 18/10/2013 05:49, Lokesh Vutla wrote:
> Hi Benoit,
> On Friday 11 October 2013 12:44 AM, Lokesh Vutla wrote:
>> This patch series add nodes for l2-cache-controller, EDMA, mailbox, mmc, sham,
>> and updates the properties for cpsw, i2c0, matrix-keypad.
>>
>> These patches are applied on top of Benoit's for_3.13/dts branch
>> git://git.kernel.org/pub/scm/linux/kernel/git/bcousson/linux-omap-dt.git for_3.13/dts
> Can you take this patch series for 3.13?
I've just applied it after a sloght change in the subject and in the SoB
list.
ARM: dts: AM4372: Add L2, EDMA, mailbox, MMC and SHAM nodes
Populate nodes for l2-cache-controller, EDMA, mailbox,
mmc, sham.
Update as well DT properties for epwmss, aes, des.
Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Balaji T K <balajitk@ti.com>
Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Benoit Cousson <bcousson@baylibre.com>
I added all the author you listed in a more formal way.
Regards,
Benoit
>
> Thanks and regards,
> Lokesh
>>
>> Testing:
>> Tested EDMA, mmc, sham, aes, des, i2c0, cpsw, matric-keypad on AM4372 EPOS EVM
>> with the addition of following two series:
>> -> Tero's V8 of OMAP DT clock conversion
>> http://www.mail-archive.com/linux-omap@vger.kernel.org/msg96769.html
>> -> Afzal's V5 of AM43x PRCM basic support
>> http://www.mail-archive.com/linux-omap@vger.kernel.org/msg96275.html
>>
>> Lokesh Vutla (1):
>> ARM: dts: AM4372: Add more nodes
>>
>> Mugunthan V N (1):
>> ARM: dts: AM4372: Update Support for EPOS EVM
>>
>> arch/arm/boot/dts/am4372.dtsi | 210 +++++++++++++++++++++++++++++++++-
>> arch/arm/boot/dts/am43x-epos-evm.dts | 168 +++++++++++++++++++++++++++
>> include/dt-bindings/pinctrl/am43xx.h | 31 +++++
>> 3 files changed, 408 insertions(+), 1 deletion(-)
>> create mode 100644 include/dt-bindings/pinctrl/am43xx.h
>>
>
--
Benoît Cousson
BayLibre
Embedded Linux Technology Lab
www.baylibre.com
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 0/2] ARM: dts: AM4372: Add more nodes
2013-10-18 6:56 ` Benoit Cousson
@ 2013-10-18 6:58 ` Lokesh Vutla
0 siblings, 0 replies; 7+ messages in thread
From: Lokesh Vutla @ 2013-10-18 6:58 UTC (permalink / raw)
To: Benoit Cousson
Cc: linux-omap, linux-arm-kernel, devicetree, mugunthanvnm,
sourav.poddar, linux, akpm, rnayak, afzal, nsekhar, r.sricharan,
balajitk, balbi
Hi Benoit,
On Friday 18 October 2013 12:26 PM, Benoit Cousson wrote:
> Hi Lokesh,
>
> On 18/10/2013 05:49, Lokesh Vutla wrote:
>> Hi Benoit,
>> On Friday 11 October 2013 12:44 AM, Lokesh Vutla wrote:
>>> This patch series add nodes for l2-cache-controller, EDMA, mailbox, mmc, sham,
>>> and updates the properties for cpsw, i2c0, matrix-keypad.
>>>
>>> These patches are applied on top of Benoit's for_3.13/dts branch
>>> git://git.kernel.org/pub/scm/linux/kernel/git/bcousson/linux-omap-dt.git for_3.13/dts
>> Can you take this patch series for 3.13?
>
> I've just applied it after a sloght change in the subject and in the SoB list.
>
> ARM: dts: AM4372: Add L2, EDMA, mailbox, MMC and SHAM nodes
>
> Populate nodes for l2-cache-controller, EDMA, mailbox,
> mmc, sham.
>
> Update as well DT properties for epwmss, aes, des.
>
> Signed-off-by: Suman Anna <s-anna@ti.com>
> Signed-off-by: Balaji T K <balajitk@ti.com>
> Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
> Signed-off-by: Benoit Cousson <bcousson@baylibre.com>
>
>
> I added all the author you listed in a more formal way.
Thanks.
Regards,
Lokesh
>
> Regards,
> Benoit
>
>>
>> Thanks and regards,
>> Lokesh
>>>
>>> Testing:
>>> Tested EDMA, mmc, sham, aes, des, i2c0, cpsw, matric-keypad on AM4372 EPOS EVM
>>> with the addition of following two series:
>>> -> Tero's V8 of OMAP DT clock conversion
>>> http://www.mail-archive.com/linux-omap@vger.kernel.org/msg96769.html
>>> -> Afzal's V5 of AM43x PRCM basic support
>>> http://www.mail-archive.com/linux-omap@vger.kernel.org/msg96275.html
>>>
>>> Lokesh Vutla (1):
>>> ARM: dts: AM4372: Add more nodes
>>>
>>> Mugunthan V N (1):
>>> ARM: dts: AM4372: Update Support for EPOS EVM
>>>
>>> arch/arm/boot/dts/am4372.dtsi | 210 +++++++++++++++++++++++++++++++++-
>>> arch/arm/boot/dts/am43x-epos-evm.dts | 168 +++++++++++++++++++++++++++
>>> include/dt-bindings/pinctrl/am43xx.h | 31 +++++
>>> 3 files changed, 408 insertions(+), 1 deletion(-)
>>> create mode 100644 include/dt-bindings/pinctrl/am43xx.h
>>>
>>
>
>
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2013-10-18 6:58 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-10 19:14 [PATCH 0/2] ARM: dts: AM4372: Add more nodes Lokesh Vutla
2013-10-10 19:14 ` [PATCH 1/2] " Lokesh Vutla
2013-10-10 19:14 ` [PATCH 2/2] ARM: dts: AM4372: Update Support for EPOS EVM Lokesh Vutla
2013-10-10 19:18 ` [PATCH 0/2] ARM: dts: AM4372: Add more nodes Felipe Balbi
2013-10-18 3:49 ` Lokesh Vutla
2013-10-18 6:56 ` Benoit Cousson
2013-10-18 6:58 ` Lokesh Vutla
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).