mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
generic: ar8216: allow to configure AR8327 LEDs via platform data
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32456 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -62,11 +62,20 @@ struct ar8327_port_cfg {
|
||||
int duplex:1;
|
||||
};
|
||||
|
||||
struct ar8327_led_cfg {
|
||||
u32 led_ctrl0;
|
||||
u32 led_ctrl1;
|
||||
u32 led_ctrl2;
|
||||
u32 led_ctrl3;
|
||||
bool open_drain;
|
||||
};
|
||||
|
||||
struct ar8327_platform_data {
|
||||
struct ar8327_pad_cfg *pad0_cfg;
|
||||
struct ar8327_pad_cfg *pad5_cfg;
|
||||
struct ar8327_pad_cfg *pad6_cfg;
|
||||
struct ar8327_port_cfg cpuport_cfg;
|
||||
struct ar8327_led_cfg *led_cfg;
|
||||
};
|
||||
|
||||
#endif /* AR8216_PLATFORM_H */
|
||||
Reference in New Issue
Block a user