| 1 |
// SPDX-License-Identifier: GPL-2.0+ OR MIT |
| 2 |
// |
| 3 |
// Copyright 2017 NXP |
| 4 |
|
| 5 |
#include "imx6qdl-pico.dtsi" |
| 6 |
|
| 7 |
/ { |
| 8 |
leds { |
| 9 |
compatible = "gpio-leds"; |
| 10 |
pinctrl-names = "default"; |
| 11 |
pinctrl-0 = <&pinctrl_gpio_leds>; |
| 12 |
|
| 13 |
led { |
| 14 |
label = "gpio-led"; |
| 15 |
gpios = <&gpio5 31 GPIO_ACTIVE_HIGH>; |
| 16 |
}; |
| 17 |
}; |
| 18 |
|
| 19 |
}; |
| 20 |
|
| 21 |
&i2c2 { |
| 22 |
status = "okay"; |
| 23 |
|
| 24 |
adc081c: adc@50 { |
| 25 |
compatible = "ti,adc081c"; |
| 26 |
reg = <0x50>; |
| 27 |
vref-supply = <®_3p3v>; |
| 28 |
}; |
| 29 |
}; |
| 30 |
|
| 31 |
&iomuxc { |
| 32 |
pinctrl_gpio_leds: gpioledsgrp { |
| 33 |
fsl,pins = < |
| 34 |
MX6QDL_PAD_CSI0_DAT13__GPIO5_IO31 0x1b0b0 |
| 35 |
>; |
| 36 |
}; |
| 37 |
}; |