diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-06-19 10:44:16 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2012-06-19 10:44:16 +0000 |
commit | 8d2d96fb1ec6385d405cb465dd5eac36fc1a107a (patch) | |
tree | c1939a21420fb8878169e17d66a7ad0c05377d14 /target/linux/generic/files/include | |
parent | dd8a1c622f44c4eaa9543380042bf4f1f751d9fa (diff) | |
download | upstream-8d2d96fb1ec6385d405cb465dd5eac36fc1a107a.tar.gz upstream-8d2d96fb1ec6385d405cb465dd5eac36fc1a107a.tar.bz2 upstream-8d2d96fb1ec6385d405cb465dd5eac36fc1a107a.zip |
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
Diffstat (limited to 'target/linux/generic/files/include')
-rw-r--r-- | target/linux/generic/files/include/linux/ar8216_platform.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/target/linux/generic/files/include/linux/ar8216_platform.h b/target/linux/generic/files/include/linux/ar8216_platform.h index 1ecb6e5bf2..f5c2ef065f 100644 --- a/target/linux/generic/files/include/linux/ar8216_platform.h +++ b/target/linux/generic/files/include/linux/ar8216_platform.h @@ -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 */
\ No newline at end of file |