Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

arm64: dts: mx8: hummingboard: add leds support #59

Open
wants to merge 1 commit into
base: solidrun-imx_4.9.x_imx8m_ga
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 23 additions & 2 deletions arch/arm64/boot/dts/freescale/fsl-imx8mq-hummingboard-pulse.dts
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,22 @@
clock-names = "mclk";
wlf,mute-gpios = <&gpio1 8 GPIO_ACTIVE_LOW>;
};

leds {
compatible = "gpio-leds";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_leds>;

red {
gpios = <&gpio5 8 GPIO_ACTIVE_LOW>;
default-state = "off";
};

greed {
gpios = <&gpio5 9 GPIO_ACTIVE_LOW>;
default-state = "off";
};
};
};

&clk {
Expand Down Expand Up @@ -267,8 +283,6 @@
fsl,pins = <
MX8MQ_IOMUXC_UART3_TXD_UART3_DCE_TX 0x49
MX8MQ_IOMUXC_UART3_RXD_UART3_DCE_RX 0x49
MX8MQ_IOMUXC_ECSPI1_MISO_UART3_DCE_CTS_B 0x49
MX8MQ_IOMUXC_ECSPI1_SS0_UART3_DCE_RTS_B 0x49
>;
};

Expand Down Expand Up @@ -318,6 +332,13 @@
MX8MQ_IOMUXC_GPIO1_IO04_USDHC2_VSELECT 0xc1
>;
};

pinctrl_leds: ledsgrp {
fsl,pins = <
MX8MQ_IOMUXC_ECSPI1_MISO_GPIO5_IO8 0x19
MX8MQ_IOMUXC_ECSPI1_SS0_GPIO5_IO9 0x19
>;
};
};
};

Expand Down