From: Dinh Nguyen <dinguyen-EIB2kfCEclfQT0dZR+AlfA@public.gmane.org>
To: Rostislav Lisovy <lisovy-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
Shawn Guo <shawn.guo-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>,
pisa-/N2ztlQkxE7Ub/6JBqosbQ@public.gmane.org
Subject: Re: [PATCH 3/3] ARM: dts: i.MX53: Devicetree for Voipac Baseboard using x53-dmm-668 module
Date: Thu, 24 Oct 2013 19:55:45 -0500 [thread overview]
Message-ID: <1382662545.8819.0.camel@linux-builds1> (raw)
In-Reply-To: <1382651769-21238-4-git-send-email-lisovy-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
On Thu, 2013-10-24 at 23:56 +0200, Rostislav Lisovy wrote:
> Supported peripherals: Audio -- headphone output, LEDs, Buttons
> (using keyboard controller), SD-card.
>
> Signed-off-by: Rostislav Lisovy <lisovy-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
>
> create mode 100644 arch/arm/boot/dts/imx53-voipac-bsb.dts
>
> diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
> index 802720e..5571af6 100644
> --- a/arch/arm/boot/dts/Makefile
> +++ b/arch/arm/boot/dts/Makefile
> @@ -133,6 +133,7 @@ dtb-$(CONFIG_ARCH_MXC) += \
> imx53-mba53.dtb \
> imx53-qsb.dtb \
> imx53-smd.dtb \
> + imx53-voipac-bsb.dts \
I think this should be imx32-voipac-bsb.dtb.
Dinh
> imx6dl-sabreauto.dtb \
> imx6dl-sabresd.dtb \
> imx6dl-wandboard.dtb \
> diff --git a/arch/arm/boot/dts/imx53-voipac-bsb.dts b/arch/arm/boot/dts/imx53-voipac-bsb.dts
> new file mode 100644
> index 0000000..5c88c0e
> --- /dev/null
> +++ b/arch/arm/boot/dts/imx53-voipac-bsb.dts
> @@ -0,0 +1,135 @@
> +/*
> + * Copyright 2013 Rostislav Lisovy <lisovy-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>, PiKRON s.r.o.
> + *
> + * The code contained herein is licensed under the GNU General Public
> + * License. You may obtain a copy of the GNU General Public License
> + * Version 2 or later at the following locations:
> + *
> + * http://www.opensource.org/licenses/gpl-license.html
> + * http://www.gnu.org/copyleft/gpl.html
> + */
> +
> +/dts-v1/;
> +#include "imx53-voipac-dmm-668.dtsi"
> +
> +/ {
> + sound {
> + compatible = "fsl,imx53-voipac-sgtl5000",
> + "fsl,imx-audio-sgtl5000";
> + model = "imx53-voipac-sgtl5000";
> + ssi-controller = <&ssi2>;
> + audio-codec = <&sgtl5000>;
> + audio-routing =
> + "Headphone Jack", "HP_OUT";
> + mux-int-port = <2>;
> + mux-ext-port = <5>;
> + };
> +
> + leds {
> + compatible = "gpio-leds";
> + pinctrl-names = "default";
> + pinctrl-0 = <&led_pin_gpio>;
> +
> + led1 {
> + label = "led-red";
> + gpios = <&gpio3 29 0>;
> + default-state = "off";
> + };
> +
> + led2 {
> + label = "led-orange";
> + gpios = <&gpio2 31 0>;
> + default-state = "off";
> + };
> + };
> +};
> +
> +&iomuxc {
> + pinctrl-names = "default";
> + pinctrl-0 = <&pinctrl_hog>;
> +
> + hog {
> + pinctrl_hog: hoggrp {
> + fsl,pins = <
> + /* SD2_CD */
> + MX53_PAD_EIM_D25__GPIO3_25 0x80000000
> + /* SD2_WP */
> + MX53_PAD_EIM_A19__GPIO2_19 0x80000000
> + >;
> + };
> +
> + led_pin_gpio: led_gpio {
> + fsl,pins = <
> + MX53_PAD_EIM_D29__GPIO3_29 0x80000000
> + MX53_PAD_EIM_EB3__GPIO2_31 0x80000000
> + >;
> + };
> + };
> +
> + /* Keyboard controller */
> + kpp {
> + pinctrl_kpp_1: kppgrp-1 {
> + fsl,pins = <
> + MX53_PAD_GPIO_9__KPP_COL_6 0xe8
> + MX53_PAD_GPIO_4__KPP_COL_7 0xe8
> + MX53_PAD_KEY_COL2__KPP_COL_2 0xe8
> + MX53_PAD_KEY_COL3__KPP_COL_3 0xe8
> + MX53_PAD_KEY_COL4__KPP_COL_4 0xe8
> +
> + MX53_PAD_GPIO_2__KPP_ROW_6 0xe0
> + MX53_PAD_GPIO_5__KPP_ROW_7 0xe0
> + MX53_PAD_KEY_ROW2__KPP_ROW_2 0xe0
> + MX53_PAD_KEY_ROW3__KPP_ROW_3 0xe0
> + MX53_PAD_KEY_ROW4__KPP_ROW_4 0xe0
> + >;
> + };
> + };
> +};
> +
> +&audmux {
> + pinctrl-names = "default";
> + pinctrl-0 = <&pinctrl_audmux_1>; /* SSI1 */
> + status = "okay";
> +};
> +
> +&esdhc2 {
> + pinctrl-names = "default";
> + pinctrl-0 = <&pinctrl_esdhc2_1>;
> + cd-gpios = <&gpio3 25 0>;
> + wp-gpios = <&gpio2 19 0>;
> + vmmc-supply = <®_3p3v>;
> + status = "okay";
> +};
> +
> +&i2c3 {
> + pinctrl-names = "default";
> + pinctrl-0 = <&pinctrl_i2c3_2>;
> + status = "okay";
> +
> + sgtl5000: codec@0a {
> + compatible = "fsl,sgtl5000";
> + reg = <0x0a>;
> + VDDA-supply = <®_3p3v>;
> + VDDIO-supply = <®_3p3v>;
> + clocks = <&clks 150>;
> + };
> +};
> +
> +&kpp {
> + pinctrl-names = "default";
> + pinctrl-0 = <&pinctrl_kpp_1>;
> + linux,keymap = <
> + 0x0203003b /* KEY_F1 */
> + 0x0603003c /* KEY_F2 */
> + 0x0207003d /* KEY_F3 */
> + 0x0607003e /* KEY_F4 */
> + >;
> + keypad,num-rows = <8>;
> + keypad,num-columns = <1>;
> + status = "okay";
> +};
> +
> +&ssi2 {
> + fsl,mode = "i2s-slave";
> + status = "okay";
> +};
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2013-10-25 0:55 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-24 21:56 [PATCH 0/3 v3] Devicetree description for Voipac i.MX53 module Rostislav Lisovy
[not found] ` <1382651769-21238-1-git-send-email-lisovy-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2013-10-24 21:56 ` [PATCH 1/3] ARM: dts: Add vendor prefix for Voipac Technologies s.r.o Rostislav Lisovy
[not found] ` <1382651769-21238-2-git-send-email-lisovy-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2013-10-25 2:02 ` Shawn Guo
[not found] ` <20131025020213.GI14529-rvtDTF3kK1ictlrPMvKcciBecyulp+rMXqFh9Ls21Oc@public.gmane.org>
2013-10-31 7:37 ` Shawn Guo
2013-10-25 3:18 ` Kumar Gala
2013-10-24 21:56 ` [PATCH 2/3] ARM: dts: i.MX53: dts for Voipac x53-dmm-668 module Rostislav Lisovy
2013-10-24 21:56 ` [PATCH 3/3] ARM: dts: i.MX53: Devicetree for Voipac Baseboard using " Rostislav Lisovy
[not found] ` <1382651769-21238-4-git-send-email-lisovy-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2013-10-25 0:55 ` Dinh Nguyen [this message]
2013-10-25 6:25 ` Rostislav Lisovy
2013-10-31 7:35 ` Shawn Guo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1382662545.8819.0.camel@linux-builds1 \
--to=dinguyen-eib2kfceclfqt0dzr+alfa@public.gmane.org \
--cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
--cc=lisovy-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=pisa-/N2ztlQkxE7Ub/6JBqosbQ@public.gmane.org \
--cc=shawn.guo-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).