2018-03-27 11:43:05 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0+
|
2014-01-08 20:18:29 +00:00
|
|
|
/*
|
2015-07-22 09:12:10 +00:00
|
|
|
* Copyright (C) 2011 - 2015 Xilinx
|
|
|
|
* Copyright (C) 2012 National Instruments Corp.
|
2014-01-08 20:18:29 +00:00
|
|
|
*/
|
|
|
|
/dts-v1/;
|
|
|
|
#include "zynq-7000.dtsi"
|
|
|
|
|
|
|
|
/ {
|
2018-07-12 04:10:20 +00:00
|
|
|
model = "Xilinx ZC706 board";
|
2014-01-08 20:18:29 +00:00
|
|
|
compatible = "xlnx,zynq-zc706", "xlnx,zynq-7000";
|
2014-05-15 11:37:54 +00:00
|
|
|
|
2014-05-15 11:37:55 +00:00
|
|
|
aliases {
|
2015-07-22 09:12:10 +00:00
|
|
|
ethernet0 = &gem0;
|
|
|
|
i2c0 = &i2c0;
|
2014-05-15 11:37:55 +00:00
|
|
|
serial0 = &uart1;
|
2015-08-15 17:46:21 +00:00
|
|
|
spi0 = &qspi;
|
2015-12-08 10:56:23 +00:00
|
|
|
mmc0 = &sdhci0;
|
2022-09-27 07:55:12 +00:00
|
|
|
nvmem0 = &eeprom;
|
2022-09-27 11:50:26 +00:00
|
|
|
rtc0 = &rtc;
|
2014-05-15 11:37:55 +00:00
|
|
|
};
|
|
|
|
|
2016-11-11 12:11:37 +00:00
|
|
|
memory@0 {
|
2014-05-15 11:37:54 +00:00
|
|
|
device_type = "memory";
|
2015-07-22 09:12:10 +00:00
|
|
|
reg = <0x0 0x40000000>;
|
2014-05-15 11:37:54 +00:00
|
|
|
};
|
2015-07-22 09:12:10 +00:00
|
|
|
|
|
|
|
chosen {
|
2016-04-07 09:15:00 +00:00
|
|
|
bootargs = "";
|
2015-07-22 09:12:10 +00:00
|
|
|
stdout-path = "serial0:115200n8";
|
|
|
|
};
|
|
|
|
|
|
|
|
usb_phy0: phy0 {
|
|
|
|
compatible = "usb-nop-xceiv";
|
|
|
|
#phy-cells = <0>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&clkc {
|
|
|
|
ps-clk-frequency = <33333333>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&gem0 {
|
|
|
|
status = "okay";
|
|
|
|
phy-mode = "rgmii-id";
|
|
|
|
phy-handle = <ðernet_phy>;
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&pinctrl_gem0_default>;
|
|
|
|
|
|
|
|
ethernet_phy: ethernet-phy@7 {
|
|
|
|
reg = <7>;
|
2017-03-06 12:47:19 +00:00
|
|
|
device_type = "ethernet-phy";
|
2015-07-22 09:12:10 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&gpio0 {
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&pinctrl_gpio0_default>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&i2c0 {
|
|
|
|
status = "okay";
|
|
|
|
clock-frequency = <400000>;
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&pinctrl_i2c0_default>;
|
|
|
|
|
2018-02-06 13:00:30 +00:00
|
|
|
i2c-mux@74 {
|
2015-07-22 09:12:10 +00:00
|
|
|
compatible = "nxp,pca9548";
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
reg = <0x74>;
|
|
|
|
|
|
|
|
i2c@0 {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
reg = <0>;
|
|
|
|
si570: clock-generator@5d {
|
|
|
|
#clock-cells = <0>;
|
|
|
|
compatible = "silabs,si570";
|
|
|
|
temperature-stability = <50>;
|
|
|
|
reg = <0x5d>;
|
|
|
|
factory-fout = <156250000>;
|
|
|
|
clock-frequency = <148500000>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2015-11-12 23:53:36 +00:00
|
|
|
i2c@1 {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
reg = <1>;
|
|
|
|
adv7511: hdmi-tx@39 {
|
|
|
|
compatible = "adi,adv7511";
|
|
|
|
reg = <0x39>;
|
|
|
|
adi,input-depth = <8>;
|
|
|
|
adi,input-colorspace = "yuv422";
|
|
|
|
adi,input-clock = "1x";
|
|
|
|
adi,input-style = <3>;
|
|
|
|
adi,input-justification = "evenly";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2015-07-22 09:12:10 +00:00
|
|
|
i2c@2 {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
reg = <2>;
|
2022-09-27 07:55:12 +00:00
|
|
|
eeprom: eeprom@54 {
|
2017-06-15 18:54:12 +00:00
|
|
|
compatible = "atmel,24c08";
|
2015-07-22 09:12:10 +00:00
|
|
|
reg = <0x54>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
i2c@3 {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
reg = <3>;
|
|
|
|
gpio@21 {
|
|
|
|
compatible = "ti,tca6416";
|
|
|
|
reg = <0x21>;
|
|
|
|
gpio-controller;
|
|
|
|
#gpio-cells = <2>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
i2c@4 {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
reg = <4>;
|
2022-09-27 11:50:26 +00:00
|
|
|
rtc: rtc@51 {
|
2015-07-22 09:12:10 +00:00
|
|
|
compatible = "nxp,pcf8563";
|
|
|
|
reg = <0x51>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
i2c@7 {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
reg = <7>;
|
|
|
|
ucd90120@65 {
|
|
|
|
compatible = "ti,ucd90120";
|
|
|
|
reg = <0x65>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&pinctrl0 {
|
|
|
|
pinctrl_gem0_default: gem0-default {
|
|
|
|
mux {
|
|
|
|
function = "ethernet0";
|
|
|
|
groups = "ethernet0_0_grp";
|
|
|
|
};
|
|
|
|
|
|
|
|
conf {
|
|
|
|
groups = "ethernet0_0_grp";
|
|
|
|
slew-rate = <0>;
|
2021-08-06 07:41:46 +00:00
|
|
|
power-source = <4>;
|
2015-07-22 09:12:10 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
conf-rx {
|
|
|
|
pins = "MIO22", "MIO23", "MIO24", "MIO25", "MIO26", "MIO27";
|
|
|
|
bias-high-impedance;
|
|
|
|
low-power-disable;
|
|
|
|
};
|
|
|
|
|
|
|
|
conf-tx {
|
|
|
|
pins = "MIO16", "MIO17", "MIO18", "MIO19", "MIO20", "MIO21";
|
|
|
|
low-power-enable;
|
|
|
|
bias-disable;
|
|
|
|
};
|
|
|
|
|
|
|
|
mux-mdio {
|
|
|
|
function = "mdio0";
|
|
|
|
groups = "mdio0_0_grp";
|
|
|
|
};
|
|
|
|
|
|
|
|
conf-mdio {
|
|
|
|
groups = "mdio0_0_grp";
|
|
|
|
slew-rate = <0>;
|
2021-08-06 07:41:46 +00:00
|
|
|
power-source = <1>;
|
2015-07-22 09:12:10 +00:00
|
|
|
bias-disable;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
pinctrl_gpio0_default: gpio0-default {
|
|
|
|
mux {
|
|
|
|
function = "gpio0";
|
|
|
|
groups = "gpio0_7_grp", "gpio0_46_grp", "gpio0_47_grp";
|
|
|
|
};
|
|
|
|
|
|
|
|
conf {
|
|
|
|
groups = "gpio0_7_grp", "gpio0_46_grp", "gpio0_47_grp";
|
|
|
|
slew-rate = <0>;
|
2021-08-06 07:41:46 +00:00
|
|
|
power-source = <1>;
|
2015-07-22 09:12:10 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
conf-pull-up {
|
|
|
|
pins = "MIO46", "MIO47";
|
|
|
|
bias-pull-up;
|
|
|
|
};
|
|
|
|
|
|
|
|
conf-pull-none {
|
|
|
|
pins = "MIO7";
|
|
|
|
bias-disable;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
pinctrl_i2c0_default: i2c0-default {
|
|
|
|
mux {
|
|
|
|
groups = "i2c0_10_grp";
|
|
|
|
function = "i2c0";
|
|
|
|
};
|
|
|
|
|
|
|
|
conf {
|
|
|
|
groups = "i2c0_10_grp";
|
|
|
|
bias-pull-up;
|
|
|
|
slew-rate = <0>;
|
2021-08-06 07:41:46 +00:00
|
|
|
power-source = <1>;
|
2015-07-22 09:12:10 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
pinctrl_sdhci0_default: sdhci0-default {
|
|
|
|
mux {
|
|
|
|
groups = "sdio0_2_grp";
|
|
|
|
function = "sdio0";
|
|
|
|
};
|
|
|
|
|
|
|
|
conf {
|
|
|
|
groups = "sdio0_2_grp";
|
|
|
|
slew-rate = <0>;
|
2021-08-06 07:41:46 +00:00
|
|
|
power-source = <1>;
|
2015-07-22 09:12:10 +00:00
|
|
|
bias-disable;
|
|
|
|
};
|
|
|
|
|
|
|
|
mux-cd {
|
|
|
|
groups = "gpio0_14_grp";
|
|
|
|
function = "sdio0_cd";
|
|
|
|
};
|
|
|
|
|
|
|
|
conf-cd {
|
|
|
|
groups = "gpio0_14_grp";
|
|
|
|
bias-high-impedance;
|
|
|
|
bias-pull-up;
|
|
|
|
slew-rate = <0>;
|
2021-08-06 07:41:46 +00:00
|
|
|
power-source = <1>;
|
2015-07-22 09:12:10 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
mux-wp {
|
|
|
|
groups = "gpio0_15_grp";
|
|
|
|
function = "sdio0_wp";
|
|
|
|
};
|
|
|
|
|
|
|
|
conf-wp {
|
|
|
|
groups = "gpio0_15_grp";
|
|
|
|
bias-high-impedance;
|
|
|
|
bias-pull-up;
|
|
|
|
slew-rate = <0>;
|
2021-08-06 07:41:46 +00:00
|
|
|
power-source = <1>;
|
2015-07-22 09:12:10 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
pinctrl_uart1_default: uart1-default {
|
|
|
|
mux {
|
|
|
|
groups = "uart1_10_grp";
|
|
|
|
function = "uart1";
|
|
|
|
};
|
|
|
|
|
|
|
|
conf {
|
|
|
|
groups = "uart1_10_grp";
|
|
|
|
slew-rate = <0>;
|
2021-08-06 07:41:46 +00:00
|
|
|
power-source = <1>;
|
2015-07-22 09:12:10 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
conf-rx {
|
|
|
|
pins = "MIO49";
|
|
|
|
bias-high-impedance;
|
|
|
|
};
|
|
|
|
|
|
|
|
conf-tx {
|
|
|
|
pins = "MIO48";
|
|
|
|
bias-disable;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
pinctrl_usb0_default: usb0-default {
|
|
|
|
mux {
|
|
|
|
groups = "usb0_0_grp";
|
|
|
|
function = "usb0";
|
|
|
|
};
|
|
|
|
|
|
|
|
conf {
|
|
|
|
groups = "usb0_0_grp";
|
|
|
|
slew-rate = <0>;
|
2021-08-06 07:41:46 +00:00
|
|
|
power-source = <1>;
|
2015-07-22 09:12:10 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
conf-rx {
|
|
|
|
pins = "MIO29", "MIO31", "MIO36";
|
|
|
|
bias-high-impedance;
|
|
|
|
};
|
|
|
|
|
|
|
|
conf-tx {
|
|
|
|
pins = "MIO28", "MIO30", "MIO32", "MIO33", "MIO34",
|
|
|
|
"MIO35", "MIO37", "MIO38", "MIO39";
|
|
|
|
bias-disable;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2016-04-07 11:04:15 +00:00
|
|
|
&qspi {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-all;
|
2016-04-07 11:04:15 +00:00
|
|
|
status = "okay";
|
2021-08-06 11:30:19 +00:00
|
|
|
num-cs = <1>;
|
|
|
|
flash@0 {
|
|
|
|
compatible = "n25q128a11", "jedec,spi-nor";
|
|
|
|
reg = <0x0>;
|
|
|
|
spi-tx-bus-width = <1>;
|
|
|
|
spi-rx-bus-width = <4>;
|
|
|
|
spi-max-frequency = <50000000>;
|
|
|
|
};
|
2016-04-07 11:04:15 +00:00
|
|
|
};
|
|
|
|
|
2015-07-22 09:12:10 +00:00
|
|
|
&sdhci0 {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-all;
|
2015-07-22 09:12:10 +00:00
|
|
|
status = "okay";
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&pinctrl_sdhci0_default>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&uart1 {
|
2023-02-13 15:56:33 +00:00
|
|
|
bootph-all;
|
2015-07-22 09:12:10 +00:00
|
|
|
status = "okay";
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&pinctrl_uart1_default>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&usb0 {
|
|
|
|
status = "okay";
|
|
|
|
dr_mode = "host";
|
|
|
|
usb-phy = <&usb_phy0>;
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&pinctrl_usb0_default>;
|
2014-01-08 20:18:29 +00:00
|
|
|
};
|
2018-02-21 16:03:55 +00:00
|
|
|
|
|
|
|
&watchdog0 {
|
|
|
|
reset-on-timeout;
|
|
|
|
};
|