On 17/03/2016 17:38, Reinhard Max wrote: > Hi, > > On Sun, 13 Mar 2016 at 22:22, Noble Pepper wrote: > >> + gpio-export { >> + compatible = "gpio-export"; >> + #size-cells = <0>; >> + >> + gpio11 { >> + /* blue led */ >> + gpio-export,name = "gpio11"; >> + gpio-export,direction_may_change = <1>; >> + gpio-export,output = <1>; >> + gpios = <&gpio0 11 0>; >> + }; >> + >> + gpio37 { >> + /* red led */ >> + gpio-export,name = "gpio37"; >> + gpio-export,direction_may_change = <1>; >> + gpio-export,output = <1>; >> + gpios = <&gpio1 5 0>; >> + }; >> + >> + gpio44 { >> + /* yellow led */ >> + gpio-export,name = "gpio44"; >> + gpio-export,direction_may_change = <1>; >> + gpio-export,output = <1>; >> + gpios = <&gpio1 12 0>; >> + }; >> + }; > > shouldn't LEDs be represented as what they really are in the device tree > (compatible = "gpio-leds";) rather than exported GPIOs. > > > cu > Reinhard
i missed that, please send a patch to fix the dts file i merged John > _______________________________________________ > openwrt-devel mailing list > openwrt-devel@lists.openwrt.org > https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel