0001 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
0002 /*
0003 * Copyright (c) 2019 Akash Gajjar <Akash_Gajjar@mentor.com>
0004 * Copyright (c) 2019 Pragnesh Patel <Pragnesh_Patel@mentor.com>
0005 */
0006
0007 /dts-v1/;
0008 #include "rk3399-rock-pi-4.dtsi"
0009 #include "rk3399-op1-opp.dtsi"
0010
0011 / {
0012 model = "Radxa ROCK Pi 4A+";
0013 compatible = "radxa,rockpi4a-plus", "radxa,rockpi4", "rockchip,rk3399";
0014 };
0015
0016 &es8316 {
0017 pinctrl-0 = <&hp_detect &hp_int>;
0018 pinctrl-names = "default";
0019 interrupt-parent = <&gpio1>;
0020 interrupts = <RK_PA1 IRQ_TYPE_LEVEL_HIGH>;
0021 };
0022
0023 &sound {
0024 hp-det-gpio = <&gpio1 RK_PA0 GPIO_ACTIVE_HIGH>;
0025 };