| 1 |
// SPDX-License-Identifier: (GPL-2.0+ OR MIT) |
| 2 |
/* |
| 3 |
* Copyright (c) 2019 Akash Gajjar <[email protected]> |
| 4 |
* Copyright (c) 2019 Pragnesh Patel <[email protected]> |
| 5 |
*/ |
| 6 |
|
| 7 |
/dts-v1/; |
| 8 |
#include "rk3399-op1.dtsi" |
| 9 |
#include "rk3399-rock-pi-4.dtsi" |
| 10 |
|
| 11 |
/ { |
| 12 |
model = "Radxa ROCK Pi 4A+"; |
| 13 |
compatible = "radxa,rockpi4a-plus", "radxa,rockpi4", "rockchip,rk3399"; |
| 14 |
}; |
| 15 |
|
| 16 |
&es8316 { |
| 17 |
pinctrl-0 = <&hp_detect &hp_int>; |
| 18 |
pinctrl-names = "default"; |
| 19 |
interrupt-parent = <&gpio1>; |
| 20 |
interrupts = <RK_PA1 IRQ_TYPE_LEVEL_HIGH>; |
| 21 |
}; |
| 22 |
|
| 23 |
&sound { |
| 24 |
hp-det-gpios = <&gpio1 RK_PA0 GPIO_ACTIVE_HIGH>; |
| 25 |
}; |