diff options
author | Fabio Estevam <festevam@gmail.com> | 2018-12-02 22:18:08 +0100 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2018-12-10 03:03:05 +0100 |
commit | cb430d971a568b4de940ef3aebd6e75e413283fd (patch) | |
tree | 4413c6394fa55f2aac80d586089230a46b51956d /arch/arm/boot/dts/imx6ul-pico-hobbit.dts | |
parent | ARM: dts: imx6ul-pico-hobbit: Make the child led nodes standard (diff) | |
download | linux-cb430d971a568b4de940ef3aebd6e75e413283fd.tar.xz linux-cb430d971a568b4de940ef3aebd6e75e413283fd.zip |
ARM: dts: imx6ul-pico-hobbit: Extend peripherals support
This adds following peripherals support:
- ADC
- GPIO LED
- GPIOs
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm/boot/dts/imx6ul-pico-hobbit.dts')
-rw-r--r-- | arch/arm/boot/dts/imx6ul-pico-hobbit.dts | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx6ul-pico-hobbit.dts b/arch/arm/boot/dts/imx6ul-pico-hobbit.dts index 8656ccbb5a06..39eeeddac39e 100644 --- a/arch/arm/boot/dts/imx6ul-pico-hobbit.dts +++ b/arch/arm/boot/dts/imx6ul-pico-hobbit.dts @@ -14,6 +14,8 @@ leds { compatible = "gpio-leds"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_gpio_leds>; led { label = "gpio-led"; @@ -67,4 +69,32 @@ touchscreen-size-x = <800>; touchscreen-size-y = <480>; }; + + adc081c: adc@50 { + compatible = "ti,adc081c"; + reg = <0x50>; + vref-supply = <®_3p3v>; + }; +}; + +&iomuxc { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_hog>; + + pinctrl_hog: hoggrp { + fsl,pins = < + MX6UL_PAD_CSI_VSYNC__GPIO4_IO19 0x10b0 + MX6UL_PAD_CSI_DATA00__GPIO4_IO21 0x10b0 + MX6UL_PAD_CSI_DATA01__GPIO4_IO22 0x10b0 + MX6UL_PAD_CSI_DATA02__GPIO4_IO23 0x10b0 + MX6UL_PAD_UART1_CTS_B__GPIO1_IO18 0x10b0 + MX6UL_PAD_SNVS_TAMPER2__GPIO5_IO02 0x10b0 + >; + }; + + pinctrl_gpio_leds: gpioledsgrp { + fsl,pins = < + MX6UL_PAD_UART4_RX_DATA__GPIO1_IO29 0x10b0 + >; + }; }; |