1c66ec88fSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2c66ec88fSEmmanuel Vadot// Copyright (C) 2020 Ondrej Jirman <megous@megous.com>
3c66ec88fSEmmanuel Vadot
4c66ec88fSEmmanuel Vadot/dts-v1/;
5c66ec88fSEmmanuel Vadot
6c66ec88fSEmmanuel Vadot#include "sun50i-a64-pinephone.dtsi"
7c66ec88fSEmmanuel Vadot
8c66ec88fSEmmanuel Vadot/ {
9c66ec88fSEmmanuel Vadot	model = "Pine64 PinePhone Developer Batch (1.0)";
105def4c47SEmmanuel Vadot	compatible = "pine64,pinephone-1.0", "pine64,pinephone", "allwinner,sun50i-a64";
115def4c47SEmmanuel Vadot};
125def4c47SEmmanuel Vadot
13*b97ee269SEmmanuel Vadot&codec_analog {
14*b97ee269SEmmanuel Vadot	allwinner,internal-bias-resistor;
15*b97ee269SEmmanuel Vadot};
16*b97ee269SEmmanuel Vadot
175def4c47SEmmanuel Vadot&sgm3140 {
185def4c47SEmmanuel Vadot	enable-gpios = <&pio 2 3 GPIO_ACTIVE_HIGH>; /* PC3 */
195def4c47SEmmanuel Vadot	flash-gpios = <&pio 3 24 GPIO_ACTIVE_HIGH>; /* PD24 */
20c66ec88fSEmmanuel Vadot};
21