blob: f5ad95a276b6135daa8f7ea2cc9464085a4460f5 [file] [log] [blame]
Ezequiel Garcia00eb01a2018-01-12 12:33:50 -03001// SPDX-License-Identifier: GPL-2.0
2/*
3 * Bitmain Antminer S9 board DTS
4 *
5 * Copyright (C) 2018 Michal Simek
6 * Copyright (C) 2018 VanguardiaSur
7 */
8/dts-v1/;
9#include "zynq-7000.dtsi"
10
11/ {
12 model = "Bitmain Antminer S9 Board";
13 compatible = "bitmain,antminer-s9", "xlnx,zynq-7000";
14
15 aliases {
16 ethernet0 = &gem0;
17 serial0 = &uart1;
18 mmc0 = &sdhci0;
19 gpio0 = &gpio0;
20 };
21
22 memory@0 {
23 device_type = "memory";
24 reg = <0x0 0x40000000>;
25 };
26
27 reserved-memory {
28 #address-cells = <1>;
29 #size-cells = <1>;
30 ranges;
31
32 bootcount@efffff0 {
33 reg = <0xefffff0 0x10>;
34 no-map;
35 };
36
37 fpga_space@f000000 {
38 reg = <0xf000000 0x1000000>;
39 no-map;
40 };
41 };
42
43 chosen {
44 bootargs = "earlycon";
45 stdout-path = "serial0:115200n8";
46 };
47};
48
49&clkc {
50 ps-clk-frequency = <33333333>;
51};
52
Michael Walle42abea62022-02-23 15:10:34 +010053&nfc0 {
Michal Simek1ad97712021-03-18 16:04:44 +010054 status = "okay";
Michal Simek181c7632023-11-01 12:22:14 +010055 #address-cells = <1>;
56 #size-cells = <0>;
Michal Simekd9974452023-09-22 12:35:42 +020057 nand@0 {
58 reg = <0>;
59 };
Michal Simek1ad97712021-03-18 16:04:44 +010060};
61
62&smcc {
63 status = "okay";
64};
65
Ezequiel Garcia00eb01a2018-01-12 12:33:50 -030066&gem0 {
67 status = "okay";
68 phy-mode = "rgmii-id";
69 phy-handle = <&ethernet_phy>;
70
71 /* 0362/5e62 */
72 ethernet_phy: ethernet-phy@1 {
73 reg = <1>;
74 };
75};
76
77&sdhci0 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070078 bootph-all;
Ezequiel Garcia00eb01a2018-01-12 12:33:50 -030079 status = "okay";
80 disable-wp;
81};
82
83&uart1 {
Simon Glassd3a98cb2023-02-13 08:56:33 -070084 bootph-all;
Ezequiel Garcia00eb01a2018-01-12 12:33:50 -030085 status = "okay";
86};
87
88&watchdog0 {
89 reset-on-timeout;
90 timeout-sec = <200>;
91};