xref: /freebsd/sys/contrib/device-tree/src/riscv/starfive/jh7100-starfive-visionfive-v1.dts (revision 8bab661a3316d8bd9b9fbd11a3b4371b91507bd2)
1*8bab661aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0 OR MIT
2*8bab661aSEmmanuel Vadot/*
3*8bab661aSEmmanuel Vadot * Copyright (C) 2021 StarFive Technology Co., Ltd.
4*8bab661aSEmmanuel Vadot * Copyright (C) 2021 Emil Renner Berthing <kernel@esmil.dk>
5*8bab661aSEmmanuel Vadot */
6*8bab661aSEmmanuel Vadot
7*8bab661aSEmmanuel Vadot/dts-v1/;
8*8bab661aSEmmanuel Vadot#include "jh7100-common.dtsi"
9*8bab661aSEmmanuel Vadot#include <dt-bindings/gpio/gpio.h>
10*8bab661aSEmmanuel Vadot
11*8bab661aSEmmanuel Vadot/ {
12*8bab661aSEmmanuel Vadot	model = "StarFive VisionFive V1";
13*8bab661aSEmmanuel Vadot	compatible = "starfive,visionfive-v1", "starfive,jh7100";
14*8bab661aSEmmanuel Vadot
15*8bab661aSEmmanuel Vadot	gpio-restart {
16*8bab661aSEmmanuel Vadot		compatible = "gpio-restart";
17*8bab661aSEmmanuel Vadot		gpios = <&gpio 63 GPIO_ACTIVE_HIGH>;
18*8bab661aSEmmanuel Vadot		priority = <224>;
19*8bab661aSEmmanuel Vadot	};
20*8bab661aSEmmanuel Vadot};
21