forked from Minki/linux
9943230c88
APQ8016 SBC board have 6 user controllable LED's. Add following devices: LED1 green LED triggered by system heartbeat. LED2 green LED triggered by access to eMMC device. LED3 green LED triggered by access to SD card. LED4 green LED no trigger assigned. LED5 yellow LED triggered by access to WLAN. LED6 blue LED triggered by access to Bluetooth. Signed-off-by: Ivan T. Ivanov <ivan.ivanov@linaro.org> Signed-off-by: Andy Gross <agross@codeaurora.org>
41 lines
663 B
Plaintext
41 lines
663 B
Plaintext
#include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
|
|
|
|
&pm8916_gpios {
|
|
|
|
usb_hub_reset_pm: usb_hub_reset_pm {
|
|
pinconf {
|
|
pins = "gpio3";
|
|
function = PMIC_GPIO_FUNC_NORMAL;
|
|
output-low;
|
|
};
|
|
};
|
|
|
|
usb_sw_sel_pm: usb_sw_sel_pm {
|
|
pinconf {
|
|
pins = "gpio4";
|
|
function = PMIC_GPIO_FUNC_NORMAL;
|
|
power-source = <PM8916_GPIO_VPH>;
|
|
input-disable;
|
|
};
|
|
};
|
|
|
|
pm8916_gpios_leds: pm8916_gpios_leds {
|
|
pinconf {
|
|
pins = "gpio1", "gpio2";
|
|
function = PMIC_GPIO_FUNC_NORMAL;
|
|
output-low;
|
|
};
|
|
};
|
|
};
|
|
|
|
&pm8916_mpps {
|
|
|
|
pm8916_mpps_leds: pm8916_mpps_leds {
|
|
pinconf {
|
|
pins = "mpp2", "mpp3";
|
|
function = PMIC_GPIO_FUNC_NORMAL;
|
|
output-low;
|
|
};
|
|
};
|
|
};
|