2018-01-12 15:33:50 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0
|
|
|
|
/*
|
|
|
|
* Bitmain Antminer S9 board DTS
|
|
|
|
*
|
|
|
|
* Copyright (C) 2018 Michal Simek
|
|
|
|
* Copyright (C) 2018 VanguardiaSur
|
|
|
|
*/
|
|
|
|
/dts-v1/;
|
|
|
|
#include "zynq-7000.dtsi"
|
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "Bitmain Antminer S9 Board";
|
|
|
|
compatible = "bitmain,antminer-s9", "xlnx,zynq-7000";
|
|
|
|
|
|
|
|
aliases {
|
|
|
|
ethernet0 = &gem0;
|
|
|
|
serial0 = &uart1;
|
|
|
|
mmc0 = &sdhci0;
|
|
|
|
gpio0 = &gpio0;
|
|
|
|
};
|
|
|
|
|
|
|
|
memory@0 {
|
|
|
|
device_type = "memory";
|
|
|
|
reg = <0x0 0x40000000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
reserved-memory {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
ranges;
|
|
|
|
|
|
|
|
bootcount@efffff0 {
|
|
|
|
reg = <0xefffff0 0x10>;
|
|
|
|
no-map;
|
|
|
|
};
|
|
|
|
|
|
|
|
fpga_space@f000000 {
|
|
|
|
reg = <0xf000000 0x1000000>;
|
|
|
|
no-map;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
chosen {
|
|
|
|
bootargs = "earlycon";
|
|
|
|
stdout-path = "serial0:115200n8";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&clkc {
|
|
|
|
ps-clk-frequency = <33333333>;
|
|
|
|
};
|
|
|
|
|
2022-02-23 14:10:34 +00:00
|
|
|
&nfc0 {
|
2021-03-18 15:04:44 +00:00
|
|
|
status = "okay";
|
2023-09-22 10:35:42 +00:00
|
|
|
nand@0 {
|
|
|
|
reg = <0>;
|
|
|
|
};
|
2021-03-18 15:04:44 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&smcc {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2018-01-12 15:33:50 +00:00
|
|
|
&gem0 {
|
|
|
|
status = "okay";
|
|
|
|
phy-mode = "rgmii-id";
|
|
|
|
phy-handle = <ðernet_phy>;
|
|
|
|
|
|
|
|
/* 0362/5e62 */
|
|
|
|
ethernet_phy: ethernet-phy@1 {
|
|
|
|
reg = <1>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&sdhci0 {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-all;
|
2018-01-12 15:33:50 +00:00
|
|
|
status = "okay";
|
|
|
|
disable-wp;
|
|
|
|
};
|
|
|
|
|
|
|
|
&uart1 {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-all;
|
2018-01-12 15:33:50 +00:00
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&watchdog0 {
|
|
|
|
reset-on-timeout;
|
|
|
|
timeout-sec = <200>;
|
|
|
|
};
|