From: andrew@lunn.ch (Andrew Lunn)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: dts: armada-385-synology-ds116: add support for Synology DS116 NAS
Date: Sun, 12 Feb 2017 01:40:31 +0100 [thread overview]
Message-ID: <20170212004031.GA7328@lunn.ch> (raw)
In-Reply-To: <1486805073-15534-1-git-send-email-w@1wt.eu>
> + serial at 12000 {
> + pinctrl-names = "default";
> + pinctrl-0 = <&uart0_pins>;
> + status = "okay";
> + };
> +
> + serial at 12100 {
> + /* A PIC16F1829 is connected to uart1 at 115200 bps,
> + * and takes single-character orders :
> + * "1" : power off
Hi Willy
The qnap-poweroff.c driver will support this. You need a new
compatible string, since 115200 is not the speed the current synology
devices use.
> + * "2" : short beep
> + * "3" : long beep
> + * "4" : turn the power LED ON
> + * "5" : flash the power LED
> + * "6" : turn the power LED OFF
> + * "7" : turn the status LED OFF
> + * "8" : turn the status LED ON
> + * "9" : flash the status LED
> + * "A" : flash the motherboard LED (D8)
> + * "B" : turn the motherboard LED OFF
> + * "C" : hard reset
> + */
> + pinctrl-names = "default";
> + pinctrl-0 = <&uart1_pins>;
> + status = "okay";
> + };
> + gpio-leds {
> + compatible = "gpio-leds";
> +
> + /* The greed part is on gpio0.20 which is also used by
green?
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Andrew
WARNING: multiple messages have this Message-ID (diff)
From: Andrew Lunn <andrew-g2DYL2Zd6BY@public.gmane.org>
To: Willy Tarreau <w@1wt.eu>
Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
Jason Cooper <jason-NLaQJdtUoK4Be96aLqz0jA@public.gmane.org>,
Gregory Clement
<gregory.clement-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>,
Thomas Petazzoni
<thomas.petazzoni-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>,
Arnaud Ebalard <arno-LkuqDEemtHBg9hUCZPvPmw@public.gmane.org>
Subject: Re: [PATCH] ARM: dts: armada-385-synology-ds116: add support for Synology DS116 NAS
Date: Sun, 12 Feb 2017 01:40:31 +0100 [thread overview]
Message-ID: <20170212004031.GA7328@lunn.ch> (raw)
In-Reply-To: <1486805073-15534-1-git-send-email-w-K+wRfnb2/UA@public.gmane.org>
> + serial@12000 {
> + pinctrl-names = "default";
> + pinctrl-0 = <&uart0_pins>;
> + status = "okay";
> + };
> +
> + serial@12100 {
> + /* A PIC16F1829 is connected to uart1 at 115200 bps,
> + * and takes single-character orders :
> + * "1" : power off
Hi Willy
The qnap-poweroff.c driver will support this. You need a new
compatible string, since 115200 is not the speed the current synology
devices use.
> + * "2" : short beep
> + * "3" : long beep
> + * "4" : turn the power LED ON
> + * "5" : flash the power LED
> + * "6" : turn the power LED OFF
> + * "7" : turn the status LED OFF
> + * "8" : turn the status LED ON
> + * "9" : flash the status LED
> + * "A" : flash the motherboard LED (D8)
> + * "B" : turn the motherboard LED OFF
> + * "C" : hard reset
> + */
> + pinctrl-names = "default";
> + pinctrl-0 = <&uart1_pins>;
> + status = "okay";
> + };
> + gpio-leds {
> + compatible = "gpio-leds";
> +
> + /* The greed part is on gpio0.20 which is also used by
green?
Reviewed-by: Andrew Lunn <andrew-g2DYL2Zd6BY@public.gmane.org>
Andrew
--
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:[~2017-02-12 0:40 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-11 9:24 [PATCH] ARM: dts: armada-385-synology-ds116: add support for Synology DS116 NAS Willy Tarreau
2017-02-11 9:24 ` Willy Tarreau
2017-02-12 0:40 ` Andrew Lunn [this message]
2017-02-12 0:40 ` Andrew Lunn
2017-02-12 0:53 ` Willy Tarreau
2017-02-12 0:53 ` Willy Tarreau
2017-02-12 1:17 ` Andrew Lunn
2017-02-12 1:17 ` Andrew Lunn
2017-02-12 1:24 ` Willy Tarreau
2017-02-12 1:24 ` Willy Tarreau
2017-02-12 15:38 ` Andrew Lunn
2017-02-12 15:38 ` Andrew Lunn
2017-02-12 15:44 ` Willy Tarreau
2017-02-12 15:44 ` Willy Tarreau
2017-02-12 17:27 ` Thomas Petazzoni
2017-02-12 17:27 ` Thomas Petazzoni
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=20170212004031.GA7328@lunn.ch \
--to=andrew@lunn.ch \
--cc=linux-arm-kernel@lists.infradead.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.