1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
#include "mt7622-ubnt-unifi-6-lr.dtsi" &i2c0 { pinctrl-names = "default"; pinctrl-0 = <&i2c0_pins>; status = "okay"; led-controller@30 { compatible = "ubnt,ledbar"; reg = <0x30>; enable-gpio = <&pio 59 0>; red { label = "red"; }; green { label = "green"; }; led_blue: blue { label = "blue"; }; }; };