forked from MicroPhase/u-boot-xlnx
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
110 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,106 @@ | ||
/* | ||
* MicroPhase Inc. ANTSDR board DTS | ||
* | ||
* Copyright (C) 2015-2018 MicroPhase Inc. | ||
* | ||
* SPDX-License-Identifier: GPL-2.0+ | ||
*/ | ||
/dts-v1/; | ||
#include "zynq-7000.dtsi" | ||
|
||
/ { | ||
model = "Microphase, ANTSDR-E310"; | ||
compatible = "xlnx,zynq-7000"; | ||
|
||
aliases { | ||
ethernet0 = &gem0; | ||
serial0 = &uart1; | ||
spi0 = &qspi; | ||
}; | ||
|
||
memory { | ||
device_type = "memory"; | ||
reg = <0x0 0x40000000>; | ||
}; | ||
|
||
chosen { | ||
bootargs = "earlyprintk"; | ||
stdout-path = &uart1; | ||
}; | ||
|
||
usb_phy0: phy0 { | ||
compatible = "usb-nop-xceiv"; | ||
#phy-cells = <0>; | ||
}; | ||
gpio_keys { | ||
compatible = "gpio-keys"; | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
button { | ||
label = "Button"; | ||
gpios = <&gpio0 14 0>; | ||
linux,code = <103>; /* up */ | ||
wakeup-source; | ||
autorepeat; | ||
}; | ||
|
||
}; | ||
|
||
}; | ||
|
||
&qspi { | ||
status = "okay"; | ||
is-dual = <0>; | ||
num-cs = <1>; | ||
flash@0 { | ||
compatible = "n25q512a","micron,m25p80"; | ||
reg = <0x0>; | ||
spi-tx-bus-width = <1>; | ||
spi-rx-bus-width = <4>; | ||
spi-max-frequency = <50000000>; | ||
#address-cells = <1>; | ||
#size-cells = <1>; | ||
partition@qspi-fsbl-uboot { | ||
label = "qspi-fsbl-uboot"; | ||
reg = <0x0 0x100000>; /* 1M */ | ||
}; | ||
partition@qspi-uboot-env { | ||
label = "qspi-uboot-env"; | ||
reg = <0x100000 0x20000>; /* 128k */ | ||
}; | ||
partition@qspi-nvmfs { | ||
label = "qspi-nvmfs"; | ||
reg = <0x120000 0xE0000>; /* 1M */ | ||
}; | ||
partition@qspi-linux { | ||
label = "qspi-linux"; | ||
reg = <0x200000 0x1E00000>; /* 30M */ | ||
}; | ||
}; | ||
}; | ||
|
||
&uart1 { | ||
status = "okay"; | ||
}; | ||
|
||
&usb0 { | ||
status = "okay"; | ||
dr_mode = "host"; | ||
usb-phy = <&usb_phy0>; | ||
}; | ||
&sdhci0 { | ||
u-boot,dm-pre-reloc; | ||
status = "okay"; | ||
|
||
}; | ||
|
||
&gem0 { | ||
status = "okay"; | ||
phy-mode = "rgmii-id"; | ||
phy-handle = <ðernet_phy0>; | ||
|
||
ethernet_phy0: ethernet-phy@0 { | ||
reg = <0>; | ||
reset-gpios = <&gpio0 46 0>; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters