0024-riscv-dts-starfive-Add-StarFive-VisionFive-V1-device.patch 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. From cbb348ddbc68fe4fc8ac80bed11c298149e7893f Mon Sep 17 00:00:00 2001
  2. From: Cristian Ciocaltea <[email protected]>
  3. Date: Tue, 18 Oct 2022 00:05:42 +0300
  4. Subject: [PATCH 024/122] riscv: dts: starfive: Add StarFive VisionFive V1
  5. device tree
  6. Add initial device tree for the StarFive VisionFive V1 SBC, which
  7. is similar with the already supported BeagleV Starlight Beta board,
  8. both being based on the StarFive JH7100 SoC.
  9. Link: https://github.com/starfive-tech/VisionFive
  10. Signed-off-by: Cristian Ciocaltea <[email protected]>
  11. Reviewed-by: Conor Dooley <[email protected]>
  12. Reviewed-by: Matthias Brugger <[email protected]>
  13. Signed-off-by: Conor Dooley <[email protected]>
  14. ---
  15. .../jh7100-starfive-visionfive-v1.dts | 20 +++++++++++++++++++
  16. 1 file changed, 20 insertions(+)
  17. create mode 100644 arch/riscv/boot/dts/starfive/jh7100-starfive-visionfive-v1.dts
  18. --- /dev/null
  19. +++ b/arch/riscv/boot/dts/starfive/jh7100-starfive-visionfive-v1.dts
  20. @@ -0,0 +1,20 @@
  21. +// SPDX-License-Identifier: GPL-2.0 OR MIT
  22. +/*
  23. + * Copyright (C) 2021 StarFive Technology Co., Ltd.
  24. + * Copyright (C) 2021 Emil Renner Berthing <[email protected]>
  25. + */
  26. +
  27. +/dts-v1/;
  28. +#include "jh7100-common.dtsi"
  29. +#include <dt-bindings/gpio/gpio.h>
  30. +
  31. +/ {
  32. + model = "StarFive VisionFive V1";
  33. + compatible = "starfive,visionfive-v1", "starfive,jh7100";
  34. +
  35. + gpio-restart {
  36. + compatible = "gpio-restart";
  37. + gpios = <&gpio 63 GPIO_ACTIVE_HIGH>;
  38. + priority = <224>;
  39. + };
  40. +};