Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0173b2cd authored by Rafał Miłecki's avatar Rafał Miłecki Committed by Florian Fainelli
Browse files

ARM: BCM53573: Specify ports for USB LED for Tenda AC9



This uses trigger-sources documented in commit 80dc6e1c ("dt-bindings:
leds: document new trigger-sources property") to specify USB ports. Such an
information can be used by operating system to setup LEDs behavior.

Signed-off-by: default avatarRafał Miłecki <rafal@milecki.pl>
Signed-off-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
parent fdacf095
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -26,6 +26,8 @@
		usb {
		usb {
			label = "bcm53xx:blue:usb";
			label = "bcm53xx:blue:usb";
			gpios = <&chipcommon 1 GPIO_ACTIVE_HIGH>;
			gpios = <&chipcommon 1 GPIO_ACTIVE_HIGH>;
			trigger-sources = <&ohci_port1>, <&ehci_port1>;
			linux,default-trigger = "usbport";
		};
		};


		wps {
		wps {
+4 −0
Original line number Original line Diff line number Diff line
@@ -138,10 +138,12 @@


				ehci_port1: port@1 {
				ehci_port1: port@1 {
					reg = <1>;
					reg = <1>;
					#trigger-source-cells = <0>;
				};
				};


				ehci_port2: port@2 {
				ehci_port2: port@2 {
					reg = <2>;
					reg = <2>;
					#trigger-source-cells = <0>;
				};
				};
			};
			};


@@ -158,10 +160,12 @@


				ohci_port1: port@1 {
				ohci_port1: port@1 {
					reg = <1>;
					reg = <1>;
					#trigger-source-cells = <0>;
				};
				};


				ohci_port2: port@2 {
				ohci_port2: port@2 {
					reg = <2>;
					reg = <2>;
					#trigger-source-cells = <0>;
				};
				};
			};
			};
		};
		};