| 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 |
&i2c1 { |
| 22 |
mpl3115@60 { |
| 23 |
compatible = "fsl,mpl3115"; |
| 24 |
reg = <0x60>; |
| 25 |
}; |
| 26 |
}; |
| 27 |
|
| 28 |
&i2c2 { |
| 29 |
io-expander@25 { |
| 30 |
compatible = "nxp,pca9554"; |
| 31 |
reg = <0x25>; |
| 32 |
gpio-controller; |
| 33 |
#gpio-cells = <2>; |
| 34 |
#interrupt-cells = <2>; |
| 35 |
}; |
| 36 |
|
| 37 |
}; |
| 38 |
|
| 39 |
&iomuxc { |
| 40 |
pinctrl_gpio_leds: gpioledsgrp { |
| 41 |
fsl,pins = < |
| 42 |
MX6QDL_PAD_CSI0_DAT13__GPIO5_IO31 0x1b0b0 |
| 43 |
>; |
| 44 |
}; |
| 45 |
}; |