ARM: dts: sbc-t3x: add support for more boards
Subsystems (5)
cover ARM: dts: sbc-t3x: add support for more boards
Add support for CompuLab SBC-T3530 and SBC-T3517 boards:
https://compulab.co.il/products/sbcs/sbc-t3530/
https://compulab.co.il/products/sbcs/sbc-t3517/
along with respective CoMs - CM-T3530 and CM-T3517:
https://compulab.co.il/products/computer-on-modules/cm-t3530/
https://compulab.co.il/products/computer-on-modules/cm-t3517/
The device tree files have the following structure:
omap3-cm-t3x.dtsi
| |<-- omap3-cm-t3x30.dtsi | | | | | | ----- ------- ------------ | | | CoM | | Board | | Base board | | | ----- ------- ------------ | | omap3-sb-t35.dtsi | | | | |<-- omap3-cm-t3730.dts <-- omap3-sbc-t3730.dts -->| | | | | |<-- omap3-cm-t3530.dts <-- omap3-sbc-t3530.dts -->| | | |<-------- omap3-cm-t3517.dts <-- omap3-sbc-t3517.dts -->|
where omap3-cm-t3730.dts, omap3-cm-t3530.dts, omap3-cm-t3517.dts contain CoMs specific data, while omap3-sbc-t3730.dts, omap3-sbc-t3530.dts, omap3-sbc-t3517.dts represent eval boards with respective core modules.
This series is based on Tony's omap-for-v3.14/dt branch
Dmitry Lifshitz (11):
ARM: dts: sbc-t3x: refactor DT support
ARM: dts: sbc-t3x: disable mmc3
ARM: dts: sb-t35: fix Ethernet power supply
ARM: dts: cm-t3x: add gpio-led pinmux
ARM: dts: cm-t3x30: add twl4030 gpio pullups
ARM: dts: cm-t3x30: add HS USB Host support
ARM: dts: sbc-t3730: add pinmux for usb hub reset
ARM: dts: cm-t3x30: add USB OTG support
ARM: dts: sbc-t3530: add support for sbc-t3530
ARM: dts: sbc-t3517: add support for sbc-t3517
ARM: OMAP2+: make reset pulse for sbc-t3x usb hubs
arch/arm/boot/dts/Makefile | 4 + arch/arm/boot/dts/omap3-cm-t3517.dts | 137 +++++++++++++++++++++++++++++++++ arch/arm/boot/dts/omap3-cm-t3530.dts | 13 +++ arch/arm/boot/dts/omap3-cm-t3730.dts | 40 ---------- arch/arm/boot/dts/omap3-cm-t3x.dtsi | 112 +++++++++++++++++++++++++++ arch/arm/boot/dts/omap3-cm-t3x30.dtsi | 74 +++++++++++++----- arch/arm/boot/dts/omap3-sb-t35.dtsi | 30 +++++++- arch/arm/boot/dts/omap3-sbc-t3517.dts | 44 +++++++++++ arch/arm/boot/dts/omap3-sbc-t3530.dts | 37 +++++++++ arch/arm/boot/dts/omap3-sbc-t3730.dts | 24 +++--- arch/arm/mach-omap2/pdata-quirks.c | 67 ++++++++++++++++- 11 files changed, 506 insertions(+), 76 deletions(-) create mode 100644 arch/arm/boot/dts/omap3-cm-t3517.dts create mode 100644 arch/arm/boot/dts/omap3-cm-t3530.dts create mode 100644 arch/arm/boot/dts/omap3-cm-t3x.dtsi create mode 100644 arch/arm/boot/dts/omap3-sbc-t3517.dts create mode 100644 arch/arm/boot/dts/omap3-sbc-t3530.dts
Signature · 1 line
1.7.5.4
PATCH 1/12 ARM: dts: sbc-t3x: use omap specific pinctrl defines
Use omap specific pinctrl defines (OMAP3_CORE1_IOPAD) to configure the padconf register offset.
This simplify further support of CompuLab's boards based on omap36xx, omap34xx and am35x.
--- arch/arm/boot/dts/omap3-cm-t3730.dts | 36 ++++++++++++++++---------------- arch/arm/boot/dts/omap3-sbc-t3730.dts | 6 ++-- 2 files changed, 21 insertions(+), 21 deletions(-)
arch/arm/boot/dts/omap3-cm-t3730.dts +18 -18
@@ -34,44 +34,44 @@ &omap3_pmx_core { mmc1_pins: pinmux_mmc1_pins { pinctrl-single,pins = < - 0x114 (PIN_OUTPUT_PULLUP | MUX_MODE0) /* sdmmc1_clk.sdmmc1_clk */ - 0x116 (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_cmd.sdmmc1_cmd */ - 0x118 (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat0.sdmmc1_dat0 */ - 0x11a (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat1.sdmmc1_dat1 */ - 0x11c (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat2.sdmmc1_dat2 */ - 0x11e (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat3.sdmmc1_dat3 */ + OMAP3_CORE1_IOPAD(0x2144, PIN_OUTPUT_PULLUP | MUX_MODE0)/* sdmmc1_clk.sdmmc1_clk */ + OMAP3_CORE1_IOPAD(0x2146, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_cmd.sdmmc1_cmd */ + OMAP3_CORE1_IOPAD(0x2148, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat0.sdmmc1_dat0 */ + OMAP3_CORE1_IOPAD(0x214a, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat1.sdmmc1_dat1 */ + OMAP3_CORE1_IOPAD(0x214c, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat2.sdmmc1_dat2 */ + OMAP3_CORE1_IOPAD(0x214e, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat3.sdmmc1_dat3 */ >; }; mmc2_pins: pinmux_mmc2_pins { pinctrl-single,pins = < - 0x128 (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_clk.sdmmc2_clk */ - 0x12a (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_cmd.sdmmc2_cmd */ - 0x12c (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat0.sdmmc2_dat0 */ - 0x12e (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat1.sdmmc2_dat1 */ - 0x130 (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat2.sdmmc2_dat2 */ - 0x132 (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat3.sdmmc2_dat3 */ + OMAP3_CORE1_IOPAD(0x2158, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_clk.sdmmc2_clk */ + OMAP3_CORE1_IOPAD(0x215a, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_cmd.sdmmc2_cmd */ + OMAP3_CORE1_IOPAD(0x215c, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat0.sdmmc2_dat0 */ + OMAP3_CORE1_IOPAD(0x215e, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat1.sdmmc2_dat1 */ + OMAP3_CORE1_IOPAD(0x2160, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat2.sdmmc2_dat2 */ + OMAP3_CORE1_IOPAD(0x2162, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat3.sdmmc2_dat3 */ >; }; smsc1_pins: pinmux_smsc1_pins { pinctrl-single,pins = < - 0x88 (PIN_OUTPUT | MUX_MODE0) /* gpmc_ncs5.gpmc_ncs5 */ - 0x16a (PIN_INPUT_PULLUP | MUX_MODE4) /* uart3_cts_rctx.gpio_163 */ + OMAP3_CORE1_IOPAD(0x20b8, PIN_OUTPUT | MUX_MODE0) /* gpmc_ncs5.gpmc_ncs5 */ + OMAP3_CORE1_IOPAD(0x219a, PIN_INPUT_PULLUP | MUX_MODE4) /* uart3_cts_rctx.gpio_163 */ >; }; uart3_pins: pinmux_uart3_pins { pinctrl-single,pins = < - 0x16e (PIN_INPUT | MUX_MODE0) /* uart3_rx_irrx.uart3_rx_irrx */ - 0x170 (PIN_OUTPUT | MUX_MODE0) /* uart3_tx_irtx.uart3_tx_irtx */ + OMAP3_CORE1_IOPAD(0x219e, PIN_INPUT | MUX_MODE0) /* uart3_rx_irrx.uart3_rx_irrx */ + OMAP3_CORE1_IOPAD(0x21a0, PIN_OUTPUT | MUX_MODE0) /* uart3_tx_irtx.uart3_tx_irtx */ >; }; wl12xx_gpio: pinmux_wl12xx_gpio { pinctrl-single,pins = < - 0xb2 (PIN_OUTPUT | MUX_MODE4) /* dss_data3.gpio_73 */ - 0x134 (PIN_INPUT | MUX_MODE4) /* sdmmc2_dat4.gpio_136 */ + OMAP3_CORE1_IOPAD(0x20e2, PIN_OUTPUT | MUX_MODE4) /* dss_data3.gpio_73 */ + OMAP3_CORE1_IOPAD(0x2164, PIN_INPUT | MUX_MODE4) /* sdmmc2_dat4.gpio_136 */ >; }; };
arch/arm/boot/dts/omap3-sbc-t3730.dts +3 -3
@@ -23,8 +23,8 @@ &omap3_pmx_core { smsc2_pins: pinmux_smsc2_pins { pinctrl-single,pins = < - 0x86 (PIN_OUTPUT | MUX_MODE0) /* gpmc_ncs4.gpmc_ncs4 */ - 0xa2 (PIN_INPUT_PULLUP | MUX_MODE4) /* gpmc_wait3.gpio_65 */ + OMAP3_CORE1_IOPAD(0x20b6, PIN_OUTPUT | MUX_MODE0) /* gpmc_ncs4.gpmc_ncs4 */ + OMAP3_CORE1_IOPAD(0x20d2, PIN_INPUT_PULLUP | MUX_MODE4) /* gpmc_wait3.gpio_65 */ >; }; -}; +};
Signature · 1 line
1.7.5.4
PATCH 2/12 ARM: dts: sbc-t3x: refactor DT support
In reply to Dmitry LifshitzRefactor the sbc-t3x device tree as a preparation for additional (sbc-t3530, sbc-t3517, etc.) boards support.
No functional changes.
The device tree will have the following structure:
omap3-cm-t3x.dtsi
| |<-- omap3-cm-t3x30.dtsi | | | | | | ----- ------- ------------ | | | CoM | | Board | | Base board | | | ----- ------- ------------ | | omap3-sb-t35.dtsi | | | | |<-- omap3-cm-t3730.dts <-- omap3-sbc-t3730.dts -->| | | | | |<-- omap3-cm-t3530.dts <-- omap3-sbc-t3530.dts -->| | | |<-------- omap3-cm-t3517.dts <-- omap3-sbc-t3517.dts -->|
--- arch/arm/boot/dts/omap3-cm-t3730.dts | 41 ---------------------- arch/arm/boot/dts/omap3-cm-t3x.dtsi | 60 +++++++++++++++++++++++++++++++++ arch/arm/boot/dts/omap3-cm-t3x30.dtsi | 36 +++++++++---------- arch/arm/boot/dts/omap3-sb-t35.dtsi | 11 ++++++ arch/arm/boot/dts/omap3-sbc-t3730.dts | 14 -------- arch/arm/mach-omap2/pdata-quirks.c | 2 +- 6 files changed, 89 insertions(+), 75 deletions(-) create mode 100644 arch/arm/boot/dts/omap3-cm-t3x.dtsi
arch/arm/boot/dts/omap3-cm-t3730.dts +0 -41
@@ -32,16 +32,6 @@ }; &omap3_pmx_core { - mmc1_pins: pinmux_mmc1_pins { - pinctrl-single,pins = < - OMAP3_CORE1_IOPAD(0x2144, PIN_OUTPUT_PULLUP | MUX_MODE0)/* sdmmc1_clk.sdmmc1_clk */ - OMAP3_CORE1_IOPAD(0x2146, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_cmd.sdmmc1_cmd */ - OMAP3_CORE1_IOPAD(0x2148, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat0.sdmmc1_dat0 */ - OMAP3_CORE1_IOPAD(0x214a, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat1.sdmmc1_dat1 */ - OMAP3_CORE1_IOPAD(0x214c, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat2.sdmmc1_dat2 */ - OMAP3_CORE1_IOPAD(0x214e, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat3.sdmmc1_dat3 */ - >; - }; mmc2_pins: pinmux_mmc2_pins { pinctrl-single,pins = <
@@ -54,20 +44,6 @@ >; }; - smsc1_pins: pinmux_smsc1_pins { - pinctrl-single,pins = < - OMAP3_CORE1_IOPAD(0x20b8, PIN_OUTPUT | MUX_MODE0) /* gpmc_ncs5.gpmc_ncs5 */ - OMAP3_CORE1_IOPAD(0x219a, PIN_INPUT_PULLUP | MUX_MODE4) /* uart3_cts_rctx.gpio_163 */ - >; - }; - - uart3_pins: pinmux_uart3_pins { - pinctrl-single,pins = < - OMAP3_CORE1_IOPAD(0x219e, PIN_INPUT | MUX_MODE0) /* uart3_rx_irrx.uart3_rx_irrx */ - OMAP3_CORE1_IOPAD(0x21a0, PIN_OUTPUT | MUX_MODE0) /* uart3_tx_irtx.uart3_tx_irtx */ - >; - }; - wl12xx_gpio: pinmux_wl12xx_gpio { pinctrl-single,pins = < OMAP3_CORE1_IOPAD(0x20e2, PIN_OUTPUT | MUX_MODE4) /* dss_data3.gpio_73 */
@@ -76,13 +52,6 @@ }; }; -&mmc1 { - vmmc-supply = <&vmmc1>; - bus-width = <4>; - pinctrl-names = "default"; - pinctrl-0 = <&mmc1_pins>; -}; - &mmc2 { pinctrl-names = "default"; pinctrl-0 = <&mmc2_pins>;
@@ -92,13 +61,3 @@ bus-width = <4>; cap-power-off-card; }; - -&smsc1 { - pinctrl-names = "default"; - pinctrl-0 = <&smsc1_pins>; -}; - -&uart3 { - pinctrl-names = "default"; - pinctrl-0 = <&uart3_pins>; -};
arch/arm/boot/dts/omap3-cm-t3x.dtsi new file +60 -0
60 lines not on this page · raw message
arch/arm/boot/dts/omap3-cm-t3x30.dtsi +17 -19
@@ -1,28 +1,16 @@ /* - * Common support for CompuLab CM-T3530 and CM-T3730 + * Common support for CompuLab CM-T3x30 CoMs */ -/ { - memory { - device_type = "memory"; - reg = <0x80000000 0x10000000>; /* 256 MB */ - }; +#include "omap3-cm-t3x.dtsi" +/ { cpus { cpu at 0 { cpu0-supply = <&vcc>; }; }; - leds { - compatible = "gpio-leds"; - ledb { - label = "cm-t35:green"; - gpios = <&gpio6 26 GPIO_ACTIVE_HIGH>; /* gpio186 */ - linux,default-trigger = "heartbeat"; - }; - }; - vddvario: regulator-vddvario { compatible = "regulator-fixed"; regulator-name = "vddvario";
@@ -36,11 +24,23 @@ }; }; +&omap3_pmx_core { + + smsc1_pins: pinmux_smsc1_pins { + pinctrl-single,pins = < + OMAP3_CORE1_IOPAD(0x20b8, PIN_OUTPUT | MUX_MODE0) /* gpmc_ncs5.gpmc_ncs5 */ + OMAP3_CORE1_IOPAD(0x219a, PIN_INPUT_PULLUP | MUX_MODE4) /* uart3_cts_rctx.gpio_163 */ + >; + }; +}; + &gpmc { ranges = <5 0 0x2c000000 0x01000000>; smsc1: ethernet at 5,0 { compatible = "smsc,lan9221", "smsc,lan9115"; + pinctrl-names = "default"; + pinctrl-0 = <&smsc1_pins>; interrupt-parent = <&gpio6>; interrupts = <3 IRQ_TYPE_LEVEL_LOW>; reg = <5 0 0xff>;
@@ -74,8 +74,6 @@ }; &i2c1 { - clock-frequency = <400000>; - twl: twl at 48 { reg = <0x48>; interrupts = <7>; /* SYS_NIRQ cascaded to intc */
@@ -86,8 +84,8 @@ #include "twl4030.dtsi" #include "twl4030_omap3.dtsi" -&i2c3 { - clock-frequency = <400000>; +&mmc1 { + vmmc-supply = <&vmmc1>; }; &twl_gpio {
arch/arm/boot/dts/omap3-sb-t35.dtsi +11 -0
@@ -2,11 +2,22 @@ * Common support for CompuLab SB-T35 used on SBC-T3530, SBC-T3517 and SBC-T3730 */ +&omap3_pmx_core { + smsc2_pins: pinmux_smsc2_pins { + pinctrl-single,pins = < + OMAP3_CORE1_IOPAD(0x20b6, PIN_OUTPUT | MUX_MODE0) /* gpmc_ncs4.gpmc_ncs4 */ + OMAP3_CORE1_IOPAD(0x20d2, PIN_INPUT_PULLUP | MUX_MODE4) /* gpmc_wait3.gpio_65 */ + >; + }; +}; + &gpmc { ranges = <4 0 0x2d000000 0x01000000>; smsc2: ethernet at 4,0 { compatible = "smsc,lan9221", "smsc,lan9115"; + pinctrl-names = "default"; + pinctrl-0 = <&smsc2_pins>; interrupt-parent = <&gpio3>; interrupts = <1 IRQ_TYPE_LEVEL_LOW>; reg = <4 0 0xff>;
arch/arm/boot/dts/omap3-sbc-t3730.dts +0 -14
@@ -14,17 +14,3 @@ ranges = <5 0 0x2c000000 0x01000000>, <4 0 0x2d000000 0x01000000>; }; - -&smsc2 { - pinctrl-names = "default"; - pinctrl-0 = <&smsc2_pins>; -}; - -&omap3_pmx_core { - smsc2_pins: pinmux_smsc2_pins { - pinctrl-single,pins = < - OMAP3_CORE1_IOPAD(0x20b6, PIN_OUTPUT | MUX_MODE0) /* gpmc_ncs4.gpmc_ncs4 */ - OMAP3_CORE1_IOPAD(0x20d2, PIN_INPUT_PULLUP | MUX_MODE4) /* gpmc_wait3.gpio_65 */ - >; - }; -};
arch/arm/mach-omap2/pdata-quirks.c +1 -1
@@ -99,7 +99,7 @@ static int omap3_sbc_t3730_twl_callback(struct device *dev,int res; res =gpio_request_one (gpio +2 ,GPIOF_OUT_INIT_HIGH , -"wlan rst" ); +"wlan pwr" );if (res)return res;
Signature · 1 line
1.7.5.4
PATCH 3/12 ARM: dts: sbc-t3x: disable mmc3
In reply to Dmitry LifshitzDisable mmc3 interface, since is not used on sbc-t3x boards.
--- arch/arm/boot/dts/omap3-cm-t3x.dtsi | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)
arch/arm/boot/dts/omap3-cm-t3x.dtsi +4 -0
@@ -51,6 +51,10 @@ bus-width = <4>; }; +&mmc3 { + status = "disabled"; +}; + &i2c1 { clock-frequency = <400000>; };
Signature · 1 line
1.7.5.4
PATCH 4/12 ARM: dts: sb-t35: fix Ethernet power supply
In reply to Dmitry LifshitzSB-T35 baseboard features SMSC9220 Ethernet chip which requires its own power supply regulators.
Add baseboard specific regulators for the SB-T35 Ethernet chip.
--- arch/arm/boot/dts/omap3-sb-t35.dtsi | 18 ++++++++++++++++-- 1 files changed, 16 insertions(+), 2 deletions(-)
arch/arm/boot/dts/omap3-sb-t35.dtsi +16 -2
@@ -2,6 +2,20 @@ * Common support for CompuLab SB-T35 used on SBC-T3530, SBC-T3517 and SBC-T3730 */ +/ { + vddvario_sb_t35: regulator-vddvario-sb-t35 { + compatible = "regulator-fixed"; + regulator-name = "vddvario"; + regulator-always-on; + }; + + vdd33a_sb_t35: regulator-vdd33a-sb-t35 { + compatible = "regulator-fixed"; + regulator-name = "vdd33a"; + regulator-always-on; + }; +}; + &omap3_pmx_core { smsc2_pins: pinmux_smsc2_pins { pinctrl-single,pins = <
@@ -43,8 +57,8 @@ gpmc,wr-access-ns = <186>; gpmc,cycle2cycle-samecsen; gpmc,cycle2cycle-diffcsen; - vddvario-supply = <&vddvario>; - vdd33a-supply = <&vdd33a>; + vddvario-supply = <&vddvario_sb_t35>; + vdd33a-supply = <&vdd33a_sb_t35>; reg-io-width = <4>; smsc,save-mac-address; };
Signature · 1 line
1.7.5.4
PATCH 5/12 ARM: dts: cm-t3x: add gpio-led pinmux
In reply to Dmitry LifshitzGPIO186 is used for the heartbeat led.
Setup the pinmux for the GPIO186.
--- arch/arm/boot/dts/omap3-cm-t3x.dtsi | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-)
arch/arm/boot/dts/omap3-cm-t3x.dtsi +8 -0
@@ -11,6 +11,8 @@ leds { compatible = "gpio-leds"; + pinctrl-names = "default"; + pinctrl-0 = <&green_led_pins>; ledb { label = "cm-t3x:green"; gpios = <&gpio6 26 GPIO_ACTIVE_HIGH>; /* gpio186 */
@@ -38,6 +40,12 @@ OMAP3_CORE1_IOPAD(0x214e, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat3.sdmmc1_dat3 */ >; }; + + green_led_pins: pinmux_green_led_pins { + pinctrl-single,pins = < + OMAP3_CORE1_IOPAD(0x21e2, PIN_OUTPUT | MUX_MODE4) /* sys_clkout2.gpio_186 */ + >; + }; }; &uart3 {
Signature · 1 line
1.7.5.4
PATCH 6/12 ARM: dts: cm-t3x30: add twl4030 gpio pullups
In reply to Dmitry LifshitzAdd pullup for twl4030 GPIO_0 used as MMC1 card detect signal.
--- arch/arm/boot/dts/omap3-cm-t3x30.dtsi | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
arch/arm/boot/dts/omap3-cm-t3x30.dtsi +2 -0
@@ -90,4 +90,6 @@ &twl_gpio { ti,use-leds; + /* pullups: BIT(0) */ + ti,pullups = <0x000001>; };
Signature · 1 line
1.7.5.4
PATCH 7/12 ARM: dts: cm-t3x30: add HS USB Host support
In reply to Dmitry LifshitzAdd HS USB Host support along with USB PHYs and power supply regulators
--- arch/arm/boot/dts/omap3-cm-t3x.dtsi | 38 +++++++++++++++++++++++++++++++++ arch/arm/boot/dts/omap3-cm-t3x30.dtsi | 8 +++++++ 2 files changed, 46 insertions(+), 0 deletions(-)
arch/arm/boot/dts/omap3-cm-t3x.dtsi +38 -0
@@ -19,6 +19,36 @@ linux,default-trigger = "heartbeat"; }; }; + + /* HS USB Port 1 Power */ + hsusb1_power: hsusb1_power_reg { + compatible = "regulator-fixed"; + regulator-name = "hsusb1_vbus"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + startup-delay-us = <70000>; + }; + + /* HS USB Port 2 Power */ + hsusb2_power: hsusb2_power_reg { + compatible = "regulator-fixed"; + regulator-name = "hsusb2_vbus"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + startup-delay-us = <70000>; + }; + + /* HS USB Host PHY on PORT 1 */ + hsusb1_phy: hsusb1_phy { + compatible = "usb-nop-xceiv"; + vcc-supply = <&hsusb1_power>; + }; + + /* HS USB Host PHY on PORT 2 */ + hsusb2_phy: hsusb2_phy { + compatible = "usb-nop-xceiv"; + vcc-supply = <&hsusb2_power>; + }; }; &omap3_pmx_core {
@@ -70,3 +100,11 @@ &i2c3 { clock-frequency = <400000>; }; +&usbhshost { + port1-mode = "ehci-phy"; + port2-mode = "ehci-phy"; +}; + +&usbhsehci { + phys = <&hsusb1_phy &hsusb2_phy>; +};
arch/arm/boot/dts/omap3-cm-t3x30.dtsi +8 -0
@@ -93,3 +93,11 @@ /* pullups: BIT(0) */ ti,pullups = <0x000001>; }; + +&hsusb1_phy { + reset-gpios = <&twl_gpio 6 GPIO_ACTIVE_LOW>; +}; + +&hsusb2_phy { + reset-gpios = <&twl_gpio 7 GPIO_ACTIVE_LOW>; +};
Signature · 1 line
1.7.5.4
PATCH 8/12 ARM: dts: sbc-t3730: add pinmux for usb hub reset
In reply to Dmitry LifshitzGPIO167 is used as SB-T35 baseboard USB Hub reset. Add GPIO167 pinmux.
--- arch/arm/boot/dts/omap3-sbc-t3730.dts | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-)
arch/arm/boot/dts/omap3-sbc-t3730.dts +11 -0
@@ -10,6 +10,17 @@ compatible = "compulab,omap3-sbc-t3730", "compulab,omap3-cm-t3730", "ti,omap36xx", "ti,omap3"; }; +&omap3_pmx_core { + pinctrl-names = "default"; + pinctrl-0 = <&sb_t35_usb_hub_pins>; + + sb_t35_usb_hub_pins: pinmux_sb_t35_usb_hub_pins { + pinctrl-single,pins = < + OMAP3_CORE1_IOPAD(0x2130, PIN_OUTPUT | MUX_MODE4) /* ccdc_wen.gpio_167 - SB-T35 USB HUB RST */ + >; + }; +}; + &gpmc { ranges = <5 0 0x2c000000 0x01000000>, <4 0 0x2d000000 0x01000000>;
Signature · 1 line
1.7.5.4
PATCH 9/12 ARM: dts: cm-t3x30: add USB OTG support
In reply to Dmitry LifshitzAdd USB OTG support for cm-t3x30 CoMs.
--- arch/arm/boot/dts/omap3-cm-t3x30.dtsi | 28 ++++++++++++++++++++++++++++ 1 files changed, 28 insertions(+), 0 deletions(-)
arch/arm/boot/dts/omap3-cm-t3x30.dtsi +28 -0
@@ -32,6 +32,23 @@ OMAP3_CORE1_IOPAD(0x219a, PIN_INPUT_PULLUP | MUX_MODE4) /* uart3_cts_rctx.gpio_163 */ >; }; + + hsusb0_pins: pinmux_hsusb0_pins { + pinctrl-single,pins = < + OMAP3_CORE1_IOPAD(0x21a0, PIN_OUTPUT | MUX_MODE0) /* hsusb0_clk.hsusb0_clk */ + OMAP3_CORE1_IOPAD(0x21a2, PIN_OUTPUT | MUX_MODE0) /* hsusb0_stp.hsusb0_stp */ + OMAP3_CORE1_IOPAD(0x21a4, PIN_INPUT_PULLDOWN | MUX_MODE0) /* hsusb0_dir.hsusb0_dir */ + OMAP3_CORE1_IOPAD(0x21a6, PIN_INPUT_PULLDOWN | MUX_MODE0) /* hsusb0_nxt.hsusb0_nxt */ + OMAP3_CORE1_IOPAD(0x21a8, PIN_INPUT_PULLDOWN | MUX_MODE0) /* hsusb0_data0.hsusb2_data0 */ + OMAP3_CORE1_IOPAD(0x21aa, PIN_INPUT_PULLDOWN | MUX_MODE0) /* hsusb0_data1.hsusb0_data1 */ + OMAP3_CORE1_IOPAD(0x21ac, PIN_INPUT_PULLDOWN | MUX_MODE0) /* hsusb0_data2.hsusb0_data2 */ + OMAP3_CORE1_IOPAD(0x21ae, PIN_INPUT_PULLDOWN | MUX_MODE0) /* hsusb0_data7.hsusb0_data3 */ + OMAP3_CORE1_IOPAD(0x21b0, PIN_INPUT_PULLDOWN | MUX_MODE0) /* hsusb0_data7.hsusb0_data4 */ + OMAP3_CORE1_IOPAD(0x21b2, PIN_INPUT_PULLDOWN | MUX_MODE0) /* hsusb0_data7.hsusb0_data5 */ + OMAP3_CORE1_IOPAD(0x21b4, PIN_INPUT_PULLDOWN | MUX_MODE0) /* hsusb0_data7.hsusb0_data6 */ + OMAP3_CORE1_IOPAD(0x21b6, PIN_INPUT_PULLDOWN | MUX_MODE0) /* hsusb0_data7.hsusb0_data7 */ + >; + }; }; &gpmc {
@@ -101,3 +118,14 @@ &hsusb2_phy { reset-gpios = <&twl_gpio 7 GPIO_ACTIVE_LOW>; }; + +&usb_otg_hs { + pinctrl-names = "default"; + pinctrl-0 = <&hsusb0_pins>; + interface-type = <0>; + usb-phy = <&usb2_phy>; + phys = <&usb2_phy>; + phy-names = "usb2-phy"; + mode = <3>; + power = <50>; +};
Signature · 1 line
1.7.5.4
PATCH 10/12 ARM: dts: sbc-t3530: add support for sbc-t3530
In reply to Dmitry LifshitzAdd support for CM-T3530 CoM and SBC-T3530 board.
--- arch/arm/boot/dts/Makefile | 2 + arch/arm/boot/dts/omap3-cm-t3530.dts | 12 +++++++++++ arch/arm/boot/dts/omap3-sbc-t3530.dts | 36 +++++++++++++++++++++++++++++++++ arch/arm/mach-omap2/pdata-quirks.c | 6 +++++ 4 files changed, 56 insertions(+), 0 deletions(-) create mode 100644 arch/arm/boot/dts/omap3-cm-t3530.dts create mode 100644 arch/arm/boot/dts/omap3-sbc-t3530.dts
arch/arm/boot/dts/Makefile +2 -0
@@ -179,6 +179,8 @@ dtb-$(CONFIG_ARCH_OMAP2PLUS) += omap2420-h4.dtb \ omap2420-n810-wimax.dtb \ omap3430-sdp.dtb \ omap3-beagle.dtb \ + omap3-cm-t3530.dtb \ + omap3-sbc-t3530.dtb \ omap3-cm-t3730.dtb \ omap3-sbc-t3730.dtb \ omap3-devkit8000.dtb \
arch/arm/boot/dts/omap3-cm-t3530.dts new file +12 -0
@@ -0,0 +1,12 @@ +/* + * Support for CompuLab CM-T3530 + */ +/dts-v1/; + +#include "omap34xx.dtsi" +#include "omap3-cm-t3x30.dtsi" + +/ { + model = "CompuLab CM-T3530"; + compatible = "compulab,omap3-cm-t3530", "ti,omap34xx", "ti,omap3"; +};
arch/arm/boot/dts/omap3-sbc-t3530.dts new file +36 -0
@@ -0,0 +1,36 @@ +/* + * Suppport for CompuLab SBC-T3530 with CM-T3530 + */ + +#include "omap3-cm-t3530.dts" +#include "omap3-sb-t35.dtsi" + +/ { + model = "CompuLab SBC-T3530 with CM-T3530"; + compatible = "compulab,omap3-sbc-t3530", "compulab,omap3-cm-t3530", "ti,omap34xx", "ti,omap3"; +}; + +&omap3_pmx_core { + pinctrl-names = "default"; + pinctrl-0 = <&sb_t35_usb_hub_pins>; + + sb_t35_usb_hub_pins: pinmux_sb_t35_usb_hub_pins { + pinctrl-single,pins = < + OMAP3_CORE1_IOPAD(0x2130, PIN_OUTPUT | MUX_MODE4) /* ccdc_wen.gpio_167 - SB-T35 USB HUB RST */ + >; + }; +}; + +/* + * The following ranges correspond to SMSC9x eth chips on CM-T3530 CoM and + * SB-T35 baseboard respectively. + * This setting includes both chips in SBC-T3530 board device tree. + */ +&gpmc { + ranges = <5 0 0x2c000000 0x01000000>, + <4 0 0x2d000000 0x01000000>; +}; + +&mmc1 { + cd-gpios = <&twl_gpio 0 GPIO_ACTIVE_HIGH>; +};
arch/arm/mach-omap2/pdata-quirks.c +6 -0
@@ -119,6 +119,11 @@ static void __init omap3_sbc_t3730_legacy_init(void)omap_ads7846_init (1 ,57 ,0 ,NULL ); } +static void __init omap3_sbc_t3530_legacy_init (void ) +{ +omap_ads7846_init (1 ,57 ,0 ,NULL ); +} +static void __init omap3_igep0020_legacy_init (void ) {omap3_igep2_display_init_of ();
@@ -258,6 +263,7 @@ struct of_dev_auxdata omap_auxdata_lookup[] __initdata = {*/ static struct pdata_init pdata_quirks[] __initdata = {#ifdef CONFIG_ARCH_OMAP3 + { "compulab,omap3-sbc-t3530", omap3_sbc_t3530_legacy_init, }, { "compulab,omap3-sbc-t3730", omap3_sbc_t3730_legacy_init, }, { "nokia,omap3-n900", hsmmc2_internal_input_clk, }, { "nokia,omap3-n9", hsmmc2_internal_input_clk, },
Signature · 1 line
1.7.5.4
PATCH 11/12 ARM: dts: sbc-t3517: add support for sbc-t3517
In reply to Dmitry LifshitzAdd support for CM-T3517 CoM and SBC-T3517 board.
reused common support for sbc-t3x boards
(omap3-cm-t3x.dtsi, omap3-sb-t35.dtsi):
* SB-T35 baseboard eth
* MMC1, UART3
* HS USB Port 1/2
* I2C1/3
* Heartbit led
Added basic support for:
* MMC1 wp/cd signals
* CM-T3517 Usb Hub
* WL12xx WiFi chip
* Davinci EMAC
* AM35X OTG
--- arch/arm/boot/dts/Makefile | 2 + arch/arm/boot/dts/omap3-cm-t3517.dts | 136 +++++++++++++++++++++++++++++++++ arch/arm/boot/dts/omap3-sbc-t3517.dts | 43 ++++++++++ arch/arm/mach-omap2/pdata-quirks.c | 38 +++++++++- 4 files changed, 218 insertions(+), 1 deletions(-) create mode 100644 arch/arm/boot/dts/omap3-cm-t3517.dts create mode 100644 arch/arm/boot/dts/omap3-sbc-t3517.dts
arch/arm/boot/dts/Makefile +2 -0
@@ -179,6 +179,8 @@ dtb-$(CONFIG_ARCH_OMAP2PLUS) += omap2420-h4.dtb \ omap2420-n810-wimax.dtb \ omap3430-sdp.dtb \ omap3-beagle.dtb \ + omap3-cm-t3517.dtb \ + omap3-sbc-t3517.dtb \ omap3-cm-t3530.dtb \ omap3-sbc-t3530.dtb \ omap3-cm-t3730.dtb \
arch/arm/boot/dts/omap3-cm-t3517.dts new file +136 -0
136 lines not on this page · raw message
arch/arm/boot/dts/omap3-sbc-t3517.dts new file +43 -0
43 lines not on this page · raw message
arch/arm/mach-omap2/pdata-quirks.c +37 -1
@@ -165,7 +165,7 @@ static struct emac_platform_data am35xx_emac_pdata = { .interrupt_disable = am35xx_disable_emac_int, }; -static void __init am3517_evm_legacy_init (void ) +static void __init am35xx_emac_reset (void ) {u32 v;
@@ -174,6 +174,41 @@ static void __init am3517_evm_legacy_init(void)omap_ctrl_writel (v,AM35XX_CONTROL_IP_SW_RESET );omap_ctrl_readl (AM35XX_CONTROL_IP_SW_RESET );/* OCP barrier */ } + +static struct gpio cm_t3517_wlan_gpios[]__initdata = { + {56 ,GPIOF_OUT_INIT_HIGH ,"wlan pwr" }, + {4 ,GPIOF_OUT_INIT_HIGH ,"xcvr noe" }, +}; + +static void __init omap3_sbc_t3517_wifi_init (void ) +{ +int err =gpio_request_array (cm_t3517_wlan_gpios, +ARRAY_SIZE (cm_t3517_wlan_gpios)); +if (err) { +pr_err ("SBC-T3517: wl12xx gpios request failed: %d\n" , err); +return ; + } + +gpio_export (cm_t3517_wlan_gpios[0 ].gpio,0 ); +gpio_export (cm_t3517_wlan_gpios[1 ].gpio,0 ); + +msleep (100 ); +gpio_set_value (cm_t3517_wlan_gpios[1 ].gpio,0 ); +} + +static void __init omap3_sbc_t3517_legacy_init (void ) +{ +am35xx_emac_reset (); +hsmmc2_internal_input_clk (); +omap3_sbc_t3517_wifi_init (); +legacy_init_wl12xx (WL12XX_REFCLOCK_38 ,0 ,145 ); +omap_ads7846_init (1 ,57 ,0 ,NULL ); +} + +static void __init am3517_evm_legacy_init (void ) +{ +am35xx_emac_reset (); +}#endif /* CONFIG_ARCH_OMAP3 */ #ifdef CONFIG_ARCH_OMAP4
@@ -263,6 +298,7 @@ struct of_dev_auxdata omap_auxdata_lookup[] __initdata = {*/ static struct pdata_init pdata_quirks[] __initdata = {#ifdef CONFIG_ARCH_OMAP3 + { "compulab,omap3-sbc-t3517", omap3_sbc_t3517_legacy_init, }, { "compulab,omap3-sbc-t3530", omap3_sbc_t3530_legacy_init, }, { "compulab,omap3-sbc-t3730", omap3_sbc_t3730_legacy_init, }, { "nokia,omap3-n900", hsmmc2_internal_input_clk, },
Signature · 1 line
1.7.5.4
PATCH 12/12 ARM: OMAP2+: make reset pulse for sbc-t3x usb hubs
In reply to Dmitry Lifshitzsbc-t3x boards features two external USB ports on SB-T35 baseboard. The baseboardi USB hub reset signal should be de-asserted to make those ports functional.
sbc-t3517 features additional (assembled on CoM) USB hub which also requires reset signal handling.
Add quirks code to handle proper reset pulse signal.
--- arch/arm/mach-omap2/pdata-quirks.c | 21 +++++++++++++++++++++ 1 files changed, 21 insertions(+), 0 deletions(-)
arch/arm/mach-omap2/pdata-quirks.c +21 -0
@@ -108,6 +108,23 @@ static int omap3_sbc_t3730_twl_callback(struct device *dev,return 0 ; } +static void __init omap3_sbc_t3x_usb_hub_init (int gpio,char *hub_name) +{ +int err =gpio_request_one (gpio,GPIOF_OUT_INIT_LOW , hub_name); + +if (err) { +pr_err ("SBC-T3x: %s reset gpio request failed: %d\n" , + hub_name, err); +return ; + } + +gpio_export (gpio,0 ); + +udelay (10 ); +gpio_set_value (gpio,1 ); +msleep (1 ); +} +static void __init omap3_sbc_t3730_twl_init (void ) { twl_gpio_auxdata.setup = omap3_sbc_t3730_twl_callback;
@@ -115,12 +132,14 @@ static void __init omap3_sbc_t3730_twl_init(void)static void __init omap3_sbc_t3730_legacy_init (void ) { +omap3_sbc_t3x_usb_hub_init (167 ,"sb-t35 usb hub" );legacy_init_wl12xx (WL12XX_REFCLOCK_38 ,0 ,136 );omap_ads7846_init (1 ,57 ,0 ,NULL ); }static void __init omap3_sbc_t3530_legacy_init (void ) { +omap3_sbc_t3x_usb_hub_init (167 ,"sb-t35 usb hub" );omap_ads7846_init (1 ,57 ,0 ,NULL ); }
@@ -198,6 +217,8 @@ static void __init omap3_sbc_t3517_wifi_init(void)static void __init omap3_sbc_t3517_legacy_init (void ) { +omap3_sbc_t3x_usb_hub_init (152 ,"cm-t3517 usb hub" ); +omap3_sbc_t3x_usb_hub_init (98 ,"sb-t35 usb hub" );am35xx_emac_reset ();hsmmc2_internal_input_clk ();omap3_sbc_t3517_wifi_init ();
Signature · 1 line
1.7.5.4
cover ARM: dts: sbc-t3x: add support for more boards
In reply to Dmitry LifshitzThis is the fixed cover letter.
The previous one was not consistent with respect to the actual path set.
Add support for CompuLab SBC-T3530 and SBC-T3517 boards:
https://compulab.co.il/products/sbcs/sbc-t3530/
https://compulab.co.il/products/sbcs/sbc-t3517/
along with respective CoMs - CM-T3530 and CM-T3517:
https://compulab.co.il/products/computer-on-modules/cm-t3530/
https://compulab.co.il/products/computer-on-modules/cm-t3517/
The device tree files have the following structure:
omap3-cm-t3x.dtsi
| |<-- omap3-cm-t3x30.dtsi | | | | | | ----- ------- ------------ | | | CoM | | Board | | Base board | | | ----- ------- ------------ | | omap3-sb-t35.dtsi | | | | |<-- omap3-cm-t3730.dts <-- omap3-sbc-t3730.dts -->| | | | | |<-- omap3-cm-t3530.dts <-- omap3-sbc-t3530.dts -->| | | |<-------- omap3-cm-t3517.dts <-- omap3-sbc-t3517.dts -->|
where omap3-cm-t3730.dts, omap3-cm-t3530.dts, omap3-cm-t3517.dts contain CoMs specific data, while omap3-sbc-t3730.dts, omap3-sbc-t3530.dts, omap3-sbc-t3517.dts represent eval boards with respective core modules.
This series is based on Tony's omap-for-v3.14/dt branch
Dmitry Lifshitz (12):
ARM: dts: sbc-t3x: use omap specific pinctrl defines
ARM: dts: sbc-t3x: refactor DT support
ARM: dts: sbc-t3x: disable mmc3
ARM: dts: sb-t35: fix Ethernet power supply
ARM: dts: cm-t3x: add gpio-led pinmux
ARM: dts: cm-t3x30: add twl4030 gpio pullups
ARM: dts: cm-t3x30: add HS USB Host support
ARM: dts: sbc-t3730: add pinmux for usb hub reset
ARM: dts: cm-t3x30: add USB OTG support
ARM: dts: sbc-t3530: add support for sbc-t3530
ARM: dts: sbc-t3517: add support for sbc-t3517
ARM: OMAP2+: make reset pulse for sbc-t3x usb hubs
arch/arm/boot/dts/Makefile | 4 + arch/arm/boot/dts/omap3-cm-t3517.dts | 136 +++++++++++++++++++++++++++++++++ arch/arm/boot/dts/omap3-cm-t3530.dts | 12 +++ arch/arm/boot/dts/omap3-cm-t3730.dts | 57 ++------------ arch/arm/boot/dts/omap3-cm-t3x.dtsi | 110 ++++++++++++++++++++++++++ arch/arm/boot/dts/omap3-cm-t3x30.dtsi | 74 +++++++++++++----- arch/arm/boot/dts/omap3-sb-t35.dtsi | 29 +++++++- arch/arm/boot/dts/omap3-sbc-t3517.dts | 43 ++++++++++ arch/arm/boot/dts/omap3-sbc-t3530.dts | 36 +++++++++ arch/arm/boot/dts/omap3-sbc-t3730.dts | 23 +++--- arch/arm/mach-omap2/pdata-quirks.c | 67 ++++++++++++++++- 11 files changed, 506 insertions(+), 85 deletions(-) create mode 100644 arch/arm/boot/dts/omap3-cm-t3517.dts create mode 100644 arch/arm/boot/dts/omap3-cm-t3530.dts create mode 100644 arch/arm/boot/dts/omap3-cm-t3x.dtsi create mode 100644 arch/arm/boot/dts/omap3-sbc-t3517.dts create mode 100644 arch/arm/boot/dts/omap3-sbc-t3530.dts
Signature · 1 line
1.7.5.4
cover ARM: dts: sbc-t3x: add support for more boards
In reply to Dmitry Lifshitzping!
Quoted 66 lines · Dmitry Lifshitz
Add support for CompuLab SBC-T3530 and SBC-T3517 boards:
https://compulab.co.il/products/sbcs/sbc-t3530/
https://compulab.co.il/products/sbcs/sbc-t3517/along with respective CoMs - CM-T3530 and CM-T3517:
https://compulab.co.il/products/computer-on-modules/cm-t3530/
https://compulab.co.il/products/computer-on-modules/cm-t3517/The device tree files have the following structure:
omap3-cm-t3x.dtsi| |<-- omap3-cm-t3x30.dtsi | | | | | | ----- ------- ------------ | | | CoM | | Board | | Base board | | | ----- ------- ------------ | | omap3-sb-t35.dtsi | | | | |<-- omap3-cm-t3730.dts <-- omap3-sbc-t3730.dts -->| | | | | |<-- omap3-cm-t3530.dts <-- omap3-sbc-t3530.dts -->| | | |<-------- omap3-cm-t3517.dts <-- omap3-sbc-t3517.dts -->|where
omap3-cm-t3730.dts,omap3-cm-t3530.dts,omap3-cm-t3517.dtscontain CoMs specific data, whileomap3-sbc-t3730.dts,omap3-sbc-t3530.dts,omap3-sbc-t3517.dtsrepresent eval boards with respective core modules.This series is based on Tony's omap-for-v3.14/dt branch
Dmitry Lifshitz (11):
ARM: dts: sbc-t3x: refactor DT support
ARM: dts: sbc-t3x: disable mmc3
ARM: dts: sb-t35: fix Ethernet power supply
ARM: dts: cm-t3x: add gpio-led pinmux
ARM: dts: cm-t3x30: add twl4030 gpio pullups
ARM: dts: cm-t3x30: add HS USB Host support
ARM: dts: sbc-t3730: add pinmux for usb hub reset
ARM: dts: cm-t3x30: add USB OTG support
ARM: dts: sbc-t3530: add support for sbc-t3530
ARM: dts: sbc-t3517: add support for sbc-t3517
ARM: OMAP2+: make reset pulse for sbc-t3x usb hubsarch/arm/boot/dts/Makefile | 4 + arch/arm/boot/dts/omap3-cm-t3517.dts | 137 +++++++++++++++++++++++++++++++++ arch/arm/boot/dts/omap3-cm-t3530.dts | 13 +++ arch/arm/boot/dts/omap3-cm-t3730.dts | 40 ---------- arch/arm/boot/dts/omap3-cm-t3x.dtsi | 112 +++++++++++++++++++++++++++ arch/arm/boot/dts/omap3-cm-t3x30.dtsi | 74 +++++++++++++----- arch/arm/boot/dts/omap3-sb-t35.dtsi | 30 +++++++- arch/arm/boot/dts/omap3-sbc-t3517.dts | 44 +++++++++++ arch/arm/boot/dts/omap3-sbc-t3530.dts | 37 +++++++++ arch/arm/boot/dts/omap3-sbc-t3730.dts | 24 +++--- arch/arm/mach-omap2/pdata-quirks.c | 67 ++++++++++++++++- 11 files changed, 506 insertions(+), 76 deletions(-) create mode 100644 arch/arm/boot/dts/omap3-cm-t3517.dts create mode 100644 arch/arm/boot/dts/omap3-cm-t3530.dts create mode 100644 arch/arm/boot/dts/omap3-cm-t3x.dtsi create mode 100644 arch/arm/boot/dts/omap3-sbc-t3517.dts create mode 100644 arch/arm/boot/dts/omap3-sbc-t3530.dts
Signature · 2 lines
Regards, Igor.
cover ARM: dts: sbc-t3x: add support for more boards
ping x2!
Quoted 70 lines · Igor Grinberg
ping!
Quoted 66 lines · Dmitry Lifshitz
Add support for CompuLab SBC-T3530 and SBC-T3517 boards:
https://compulab.co.il/products/sbcs/sbc-t3530/
https://compulab.co.il/products/sbcs/sbc-t3517/along with respective CoMs - CM-T3530 and CM-T3517:
https://compulab.co.il/products/computer-on-modules/cm-t3530/
https://compulab.co.il/products/computer-on-modules/cm-t3517/The device tree files have the following structure:
omap3-cm-t3x.dtsi| |<-- omap3-cm-t3x30.dtsi | | | | | | ----- ------- ------------ | | | CoM | | Board | | Base board | | | ----- ------- ------------ | | omap3-sb-t35.dtsi | | | | |<-- omap3-cm-t3730.dts <-- omap3-sbc-t3730.dts -->| | | | | |<-- omap3-cm-t3530.dts <-- omap3-sbc-t3530.dts -->| | | |<-------- omap3-cm-t3517.dts <-- omap3-sbc-t3517.dts -->|where
omap3-cm-t3730.dts,omap3-cm-t3530.dts,omap3-cm-t3517.dtscontain CoMs specific data, whileomap3-sbc-t3730.dts,omap3-sbc-t3530.dts,omap3-sbc-t3517.dtsrepresent eval boards with respective core modules.This series is based on Tony's omap-for-v3.14/dt branch
Dmitry Lifshitz (11):
ARM: dts: sbc-t3x: refactor DT support
ARM: dts: sbc-t3x: disable mmc3
ARM: dts: sb-t35: fix Ethernet power supply
ARM: dts: cm-t3x: add gpio-led pinmux
ARM: dts: cm-t3x30: add twl4030 gpio pullups
ARM: dts: cm-t3x30: add HS USB Host support
ARM: dts: sbc-t3730: add pinmux for usb hub reset
ARM: dts: cm-t3x30: add USB OTG support
ARM: dts: sbc-t3530: add support for sbc-t3530
ARM: dts: sbc-t3517: add support for sbc-t3517
ARM: OMAP2+: make reset pulse for sbc-t3x usb hubsarch/arm/boot/dts/Makefile | 4 + arch/arm/boot/dts/omap3-cm-t3517.dts | 137 +++++++++++++++++++++++++++++++++ arch/arm/boot/dts/omap3-cm-t3530.dts | 13 +++ arch/arm/boot/dts/omap3-cm-t3730.dts | 40 ---------- arch/arm/boot/dts/omap3-cm-t3x.dtsi | 112 +++++++++++++++++++++++++++ arch/arm/boot/dts/omap3-cm-t3x30.dtsi | 74 +++++++++++++----- arch/arm/boot/dts/omap3-sb-t35.dtsi | 30 +++++++- arch/arm/boot/dts/omap3-sbc-t3517.dts | 44 +++++++++++ arch/arm/boot/dts/omap3-sbc-t3530.dts | 37 +++++++++ arch/arm/boot/dts/omap3-sbc-t3730.dts | 24 +++--- arch/arm/mach-omap2/pdata-quirks.c | 67 ++++++++++++++++- 11 files changed, 506 insertions(+), 76 deletions(-) create mode 100644 arch/arm/boot/dts/omap3-cm-t3517.dts create mode 100644 arch/arm/boot/dts/omap3-cm-t3530.dts create mode 100644 arch/arm/boot/dts/omap3-cm-t3x.dtsi create mode 100644 arch/arm/boot/dts/omap3-sbc-t3517.dts create mode 100644 arch/arm/boot/dts/omap3-sbc-t3530.dts
Signature · 2 lines
Regards, Igor.
Tony Lindgren
maintainercover ARM: dts: sbc-t3x: add support for more boards
Quoted 1 line · Igor Grinberg
ping x2!
Thanks applying into omap-for-v3.15/dt finally.
Is it OK to remove the board-cm-*.c files for v3.15?
Regards,
Tony
Quoted 75 lines · Igor Grinberg
Quoted 70 lines
ping!
Quoted 66 lines · Dmitry Lifshitz
Add support for CompuLab SBC-T3530 and SBC-T3517 boards:
https://compulab.co.il/products/sbcs/sbc-t3530/
https://compulab.co.il/products/sbcs/sbc-t3517/along with respective CoMs - CM-T3530 and CM-T3517:
https://compulab.co.il/products/computer-on-modules/cm-t3530/
https://compulab.co.il/products/computer-on-modules/cm-t3517/The device tree files have the following structure:
omap3-cm-t3x.dtsi| |<-- omap3-cm-t3x30.dtsi | | | | | | ----- ------- ------------ | | | CoM | | Board | | Base board | | | ----- ------- ------------ | | omap3-sb-t35.dtsi | | | | |<-- omap3-cm-t3730.dts <-- omap3-sbc-t3730.dts -->| | | | | |<-- omap3-cm-t3530.dts <-- omap3-sbc-t3530.dts -->| | | |<-------- omap3-cm-t3517.dts <-- omap3-sbc-t3517.dts -->|where
omap3-cm-t3730.dts,omap3-cm-t3530.dts,omap3-cm-t3517.dtscontain CoMs specific data, whileomap3-sbc-t3730.dts,omap3-sbc-t3530.dts,omap3-sbc-t3517.dtsrepresent eval boards with respective core modules.This series is based on Tony's omap-for-v3.14/dt branch
Dmitry Lifshitz (11):
ARM: dts: sbc-t3x: refactor DT support
ARM: dts: sbc-t3x: disable mmc3
ARM: dts: sb-t35: fix Ethernet power supply
ARM: dts: cm-t3x: add gpio-led pinmux
ARM: dts: cm-t3x30: add twl4030 gpio pullups
ARM: dts: cm-t3x30: add HS USB Host support
ARM: dts: sbc-t3730: add pinmux for usb hub reset
ARM: dts: cm-t3x30: add USB OTG support
ARM: dts: sbc-t3530: add support for sbc-t3530
ARM: dts: sbc-t3517: add support for sbc-t3517
ARM: OMAP2+: make reset pulse for sbc-t3x usb hubsarch/arm/boot/dts/Makefile | 4 + arch/arm/boot/dts/omap3-cm-t3517.dts | 137 +++++++++++++++++++++++++++++++++ arch/arm/boot/dts/omap3-cm-t3530.dts | 13 +++ arch/arm/boot/dts/omap3-cm-t3730.dts | 40 ---------- arch/arm/boot/dts/omap3-cm-t3x.dtsi | 112 +++++++++++++++++++++++++++ arch/arm/boot/dts/omap3-cm-t3x30.dtsi | 74 +++++++++++++----- arch/arm/boot/dts/omap3-sb-t35.dtsi | 30 +++++++- arch/arm/boot/dts/omap3-sbc-t3517.dts | 44 +++++++++++ arch/arm/boot/dts/omap3-sbc-t3530.dts | 37 +++++++++ arch/arm/boot/dts/omap3-sbc-t3730.dts | 24 +++--- arch/arm/mach-omap2/pdata-quirks.c | 67 ++++++++++++++++- 11 files changed, 506 insertions(+), 76 deletions(-) create mode 100644 arch/arm/boot/dts/omap3-cm-t3517.dts create mode 100644 arch/arm/boot/dts/omap3-cm-t3530.dts create mode 100644 arch/arm/boot/dts/omap3-cm-t3x.dtsi create mode 100644 arch/arm/boot/dts/omap3-sbc-t3517.dts create mode 100644 arch/arm/boot/dts/omap3-sbc-t3530.dtsSignature · 2 lines
Regards, Igor.
cover ARM: dts: sbc-t3x: add support for more boards
Quoted 4 lines · Tony Lindgren
Quoted 1 line · Igor Grinberg
ping x2!
Thanks applying into omap-for-v3.15/dt finally.
Thanks!
Quoted 2 lines
Is it OK to remove the board-cm-*.c files for v3.15?
Hmmm....
I thought we will have a transition release with both ways and similar functionality available...
For this to happen, we need to extend the DT support to the stuff board-cm-t*.c files cover before removing them...
We should be able to send additional patches in 3-5 weeks. Since rc4 is out a week ago, and rc5 is coming, we won't be able to prepare the extension in time for 3.15...
So, can we postpone the board-cm-t*.c files removal to 3.16? Or does it make too much trouble for you?
Signature · 2 lines
Regards, Igor.
Tony Lindgren
maintainercover ARM: dts: sbc-t3x: add support for more boards
Quoted 11 lines · Igor Grinberg
Quoted 4 lines · Tony Lindgren
Quoted 1 line · Igor Grinberg
ping x2!
Thanks applying into omap-for-v3.15/dt finally.
Thanks!
Quoted 2 lines
Is it OK to remove the board-cm-*.c files for v3.15?
Quoted 10 lines
Hmmm....
I thought we will have a transition release with both ways and similar functionality available...
For this to happen, we need to extend the DT support to the stuff board-cm-t*.c files cover before removing them...
We should be able to send additional patches in 3-5 weeks. Since rc4 is out a week ago, and rc5 is coming, we won't be able to prepare the extension in time for 3.15...
So, can we postpone the board-cm-t*.c files removal to 3.16? Or does it make too much trouble for you?
OK that sounds good to me thanks!
Tony