Thread (18 messages) 18 messages, 5 authors, 2017-02-03

Re: [PATCH 5/6] ARM: dts: TS-4600: add NBUS support

From: Linus Walleij <hidden>
Date: 2016-12-30 08:01:26
Also in: linux-arm-kernel, linux-watchdog, lkml

On Thu, Dec 15, 2016 at 12:12 AM, Sebastien Bourdelin
[off-list ref] wrote:
This commit enables the NBUS on the TS-4600, using the ts-nbus driver.

Signed-off-by: Sebastien Bourdelin <sebastien.bourdelin-4ysUXcep3aM1wj+D4I0NRVaTQe2KTcn/@public.gmane.org>
+       nbus {
+               compatible = "technologic,ts-nbus", "simple-bus";
+               pinctrl-0 = <&nbus_pins>;
+               #address-cells = <1>;
+               #size-cells = <0>;
+               pwms = <&pwm 2 83>;
+               data-gpios   = <&gpio0 0 GPIO_ACTIVE_HIGH
+                               &gpio0 1 GPIO_ACTIVE_HIGH
+                               &gpio0 2 GPIO_ACTIVE_HIGH
+                               &gpio0 3 GPIO_ACTIVE_HIGH
+                               &gpio0 4 GPIO_ACTIVE_HIGH
+                               &gpio0 5 GPIO_ACTIVE_HIGH
+                               &gpio0 6 GPIO_ACTIVE_HIGH
+                               &gpio0 7 GPIO_ACTIVE_HIGH>;
+               csn-gpios    = <&gpio0 16 GPIO_ACTIVE_HIGH>;
+               txrx-gpios   = <&gpio0 24 GPIO_ACTIVE_HIGH>;
+               strobe-gpios = <&gpio0 25 GPIO_ACTIVE_HIGH>;
+               ale-gpios    = <&gpio0 26 GPIO_ACTIVE_HIGH>;
+               rdy-gpios    = <&gpio0 21 GPIO_ACTIVE_HIGH>;
devm_gpiod_get(&pdev->dev, "csn", GPIOD_OUT_HIGH); etc will get these
from the spawned
platform device.

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-watchdog" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help