mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-09-03 01:28:04 +00:00
arm64: dts: uniphier: add GPIO hog definition
Interrupt lines from on-board devices are connected to the GPIO controller. Add GPIO hogging so that the corresponding GPIO line is automatically requested. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
This commit is contained in:
parent
429f203eb7
commit
15e85695e5
@ -48,6 +48,14 @@ &serial0 {
|
|||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&gpio {
|
||||||
|
xirq0 {
|
||||||
|
gpio-hog;
|
||||||
|
gpios = <120 0>;
|
||||||
|
input;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
&i2c0 {
|
&i2c0 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
@ -48,6 +48,14 @@ &serial0 {
|
|||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&gpio {
|
||||||
|
xirq0 {
|
||||||
|
gpio-hog;
|
||||||
|
gpios = <120 0>;
|
||||||
|
input;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
&i2c0 {
|
&i2c0 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user