Re: [PATCH] ARM: dts: armada-385-synology-ds116: add support for Synology DS116 NAS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




> +			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@xxxxxxx>

    Andrew
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux