mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-15 01:17:39 +00:00
d095631d8d
Linux requires to describe nand structure under nand controller. If it is not described nand device is not detected by Linux. Error shown by Linux kernel: pl35x-nand-controller e1000000.nand-controller: Incorrect number of NAND chips (0) pl35x-nand-controller: probe of e1000000.nand-controller failed with error -22 When wired: nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xda nand: Micron MT29F2G08ABAEAWP nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64 Signed-off-by: Michal Simek <michal.simek@amd.com> Link: https://lore.kernel.org/r/3fcd68ccdfed5e6c079681e3b29e06583ec8a375.1695378830.git.michal.simek@amd.com
89 lines
1.2 KiB
Text
89 lines
1.2 KiB
Text
// 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>;
|
|
};
|
|
|
|
&nfc0 {
|
|
status = "okay";
|
|
nand@0 {
|
|
reg = <0>;
|
|
};
|
|
};
|
|
|
|
&smcc {
|
|
status = "okay";
|
|
};
|
|
|
|
&gem0 {
|
|
status = "okay";
|
|
phy-mode = "rgmii-id";
|
|
phy-handle = <ðernet_phy>;
|
|
|
|
/* 0362/5e62 */
|
|
ethernet_phy: ethernet-phy@1 {
|
|
reg = <1>;
|
|
};
|
|
};
|
|
|
|
&sdhci0 {
|
|
bootph-all;
|
|
status = "okay";
|
|
disable-wp;
|
|
};
|
|
|
|
&uart1 {
|
|
bootph-all;
|
|
status = "okay";
|
|
};
|
|
|
|
&watchdog0 {
|
|
reset-on-timeout;
|
|
timeout-sec = <200>;
|
|
};
|