123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407 |
- // SPDX-License-Identifier: GPL-2.0
- /*
- * Copyright (C) 2011 - 2014 Xilinx
- * Copyright (C) 2012 National Instruments Corp.
- */
- /dts-v1/;
- #include "zynq-7000.dtsi"
- / {
- model = "Xilinx ZC702 board";
- compatible = "xlnx,zynq-zc702", "xlnx,zynq-7000";
- aliases {
- ethernet0 = &gem0;
- i2c0 = &i2c0;
- serial0 = &uart1;
- mmc0 = &sdhci0;
- };
- memory@0 {
- device_type = "memory";
- reg = <0x0 0x40000000>;
- };
- chosen {
- bootargs = "";
- stdout-path = "serial0:115200n8";
- };
- gpio-keys {
- compatible = "gpio-keys";
- autorepeat;
- switch-14 {
- label = "sw14";
- gpios = <&gpio0 12 0>;
- linux,code = <108>; /* down */
- wakeup-source;
- autorepeat;
- };
- switch-13 {
- label = "sw13";
- gpios = <&gpio0 14 0>;
- linux,code = <103>; /* up */
- wakeup-source;
- autorepeat;
- };
- };
- leds {
- compatible = "gpio-leds";
- led-ds23 {
- label = "ds23";
- gpios = <&gpio0 10 0>;
- linux,default-trigger = "heartbeat";
- };
- };
- usb_phy0: phy0 {
- compatible = "usb-nop-xceiv";
- #phy-cells = <0>;
- };
- };
- &amba {
- ocm: sram@fffc0000 {
- compatible = "mmio-sram";
- reg = <0xfffc0000 0x10000>;
- #address-cells = <1>;
- #size-cells = <1>;
- ranges = <0 0xfffc0000 0x10000>;
- ocm-sram@0 {
- reg = <0x0 0x10000>;
- };
- };
- };
- &can0 {
- status = "okay";
- pinctrl-names = "default";
- pinctrl-0 = <&pinctrl_can0_default>;
- };
- &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>;
- device_type = "ethernet-phy";
- };
- };
- &gpio0 {
- pinctrl-names = "default";
- pinctrl-0 = <&pinctrl_gpio0_default>;
- };
- &i2c0 {
- status = "okay";
- clock-frequency = <400000>;
- pinctrl-names = "default";
- pinctrl-0 = <&pinctrl_i2c0_default>;
- i2c-mux@74 {
- 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>;
- };
- };
- 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 = "right";
- };
- };
- i2c@2 {
- #address-cells = <1>;
- #size-cells = <0>;
- reg = <2>;
- eeprom@54 {
- compatible = "atmel,24c08";
- 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>;
- rtc@51 {
- compatible = "nxp,pcf8563";
- reg = <0x51>;
- };
- };
- i2c@7 {
- #address-cells = <1>;
- #size-cells = <0>;
- reg = <7>;
- hwmon@34 {
- compatible = "ti,ucd9248";
- reg = <0x34>;
- };
- hwmon@35 {
- compatible = "ti,ucd9248";
- reg = <0x35>;
- };
- hwmon@36 {
- compatible = "ti,ucd9248";
- reg = <0x36>;
- };
- };
- };
- };
- &pinctrl0 {
- pinctrl_can0_default: can0-default {
- mux {
- function = "can0";
- groups = "can0_9_grp";
- };
- conf {
- groups = "can0_9_grp";
- slew-rate = <0>;
- io-standard = <1>;
- };
- conf-rx {
- pins = "MIO46";
- bias-high-impedance;
- };
- conf-tx {
- pins = "MIO47";
- bias-disable;
- };
- };
- pinctrl_gem0_default: gem0-default {
- mux {
- function = "ethernet0";
- groups = "ethernet0_0_grp";
- };
- conf {
- groups = "ethernet0_0_grp";
- slew-rate = <0>;
- io-standard = <4>;
- };
- conf-rx {
- pins = "MIO22", "MIO23", "MIO24", "MIO25", "MIO26", "MIO27";
- bias-high-impedance;
- low-power-disable;
- };
- conf-tx {
- pins = "MIO16", "MIO17", "MIO18", "MIO19", "MIO20", "MIO21";
- bias-disable;
- low-power-enable;
- };
- mux-mdio {
- function = "mdio0";
- groups = "mdio0_0_grp";
- };
- conf-mdio {
- groups = "mdio0_0_grp";
- slew-rate = <0>;
- io-standard = <1>;
- bias-disable;
- };
- };
- pinctrl_gpio0_default: gpio0-default {
- mux {
- function = "gpio0";
- groups = "gpio0_7_grp", "gpio0_8_grp", "gpio0_9_grp",
- "gpio0_10_grp", "gpio0_11_grp", "gpio0_12_grp",
- "gpio0_13_grp", "gpio0_14_grp";
- };
- conf {
- groups = "gpio0_7_grp", "gpio0_8_grp", "gpio0_9_grp",
- "gpio0_10_grp", "gpio0_11_grp", "gpio0_12_grp",
- "gpio0_13_grp", "gpio0_14_grp";
- slew-rate = <0>;
- io-standard = <1>;
- };
- conf-pull-up {
- pins = "MIO9", "MIO10", "MIO11", "MIO12", "MIO13", "MIO14";
- bias-pull-up;
- };
- conf-pull-none {
- pins = "MIO7", "MIO8";
- 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>;
- io-standard = <1>;
- };
- };
- pinctrl_sdhci0_default: sdhci0-default {
- mux {
- groups = "sdio0_2_grp";
- function = "sdio0";
- };
- conf {
- groups = "sdio0_2_grp";
- slew-rate = <0>;
- io-standard = <1>;
- bias-disable;
- };
- mux-cd {
- groups = "gpio0_0_grp";
- function = "sdio0_cd";
- };
- conf-cd {
- groups = "gpio0_0_grp";
- bias-high-impedance;
- bias-pull-up;
- slew-rate = <0>;
- io-standard = <1>;
- };
- mux-wp {
- groups = "gpio0_15_grp";
- function = "sdio0_wp";
- };
- conf-wp {
- groups = "gpio0_15_grp";
- bias-high-impedance;
- bias-pull-up;
- slew-rate = <0>;
- io-standard = <1>;
- };
- };
- pinctrl_uart1_default: uart1-default {
- mux {
- groups = "uart1_10_grp";
- function = "uart1";
- };
- conf {
- groups = "uart1_10_grp";
- slew-rate = <0>;
- io-standard = <1>;
- };
- 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>;
- io-standard = <1>;
- };
- conf-rx {
- pins = "MIO29", "MIO31", "MIO36";
- bias-high-impedance;
- };
- conf-tx {
- pins = "MIO28", "MIO30", "MIO32", "MIO33", "MIO34",
- "MIO35", "MIO37", "MIO38", "MIO39";
- bias-disable;
- };
- };
- };
- &sdhci0 {
- status = "okay";
- pinctrl-names = "default";
- pinctrl-0 = <&pinctrl_sdhci0_default>;
- };
- &uart1 {
- 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>;
- };
|