Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | // SPDX-License-Identifier: (GPL-2.0+ OR MIT) |
| 2 | /* |
| 3 | * Copyright (c) 2019 Akash Gajjar <Akash_Gajjar@mentor.com> |
| 4 | * Copyright (c) 2019 Pragnesh Patel <Pragnesh_Patel@mentor.com> |
| 5 | */ |
| 6 | |
| 7 | /dts-v1/; |
| 8 | #include "rk3399-rock-pi-4.dtsi" |
| 9 | #include "rk3399-op1-opp.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-gpio = <&gpio1 RK_PA0 GPIO_ACTIVE_HIGH>; |
| 25 | }; |