Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0
0002 /*
0003  *  Copyright (C) 2011 - 2014 Xilinx
0004  *  Copyright (C) 2012 National Instruments Corp.
0005  */
0006 /dts-v1/;
0007 #include "zynq-7000.dtsi"
0008 
0009 / {
0010         model = "Xilinx ZC706 board";
0011         compatible = "xlnx,zynq-zc706", "xlnx,zynq-7000";
0012 
0013         aliases {
0014                 ethernet0 = &gem0;
0015                 i2c0 = &i2c0;
0016                 serial0 = &uart1;
0017                 mmc0 = &sdhci0;
0018         };
0019 
0020         memory@0 {
0021                 device_type = "memory";
0022                 reg = <0x0 0x40000000>;
0023         };
0024 
0025         chosen {
0026                 bootargs = "";
0027                 stdout-path = "serial0:115200n8";
0028         };
0029 
0030         usb_phy0: phy0 {
0031                 compatible = "usb-nop-xceiv";
0032                 #phy-cells = <0>;
0033         };
0034 };
0035 
0036 &clkc {
0037         ps-clk-frequency = <33333333>;
0038 };
0039 
0040 &gem0 {
0041         status = "okay";
0042         phy-mode = "rgmii-id";
0043         phy-handle = <&ethernet_phy>;
0044         pinctrl-names = "default";
0045         pinctrl-0 = <&pinctrl_gem0_default>;
0046 
0047         ethernet_phy: ethernet-phy@7 {
0048                 reg = <7>;
0049                 device_type = "ethernet-phy";
0050         };
0051 };
0052 
0053 &gpio0 {
0054         pinctrl-names = "default";
0055         pinctrl-0 = <&pinctrl_gpio0_default>;
0056 };
0057 
0058 &i2c0 {
0059         status = "okay";
0060         clock-frequency = <400000>;
0061         pinctrl-names = "default";
0062         pinctrl-0 = <&pinctrl_i2c0_default>;
0063 
0064         i2c-mux@74 {
0065                 compatible = "nxp,pca9548";
0066                 #address-cells = <1>;
0067                 #size-cells = <0>;
0068                 reg = <0x74>;
0069 
0070                 i2c@0 {
0071                         #address-cells = <1>;
0072                         #size-cells = <0>;
0073                         reg = <0>;
0074                         si570: clock-generator@5d {
0075                                 #clock-cells = <0>;
0076                                 compatible = "silabs,si570";
0077                                 temperature-stability = <50>;
0078                                 reg = <0x5d>;
0079                                 factory-fout = <156250000>;
0080                                 clock-frequency = <148500000>;
0081                         };
0082                 };
0083 
0084                 i2c@1 {
0085                         #address-cells = <1>;
0086                         #size-cells = <0>;
0087                         reg = <1>;
0088                         adv7511: hdmi-tx@39 {
0089                                 compatible = "adi,adv7511";
0090                                 reg = <0x39>;
0091                                 adi,input-depth = <8>;
0092                                 adi,input-colorspace = "yuv422";
0093                                 adi,input-clock = "1x";
0094                                 adi,input-style = <3>;
0095                                 adi,input-justification = "evenly";
0096                         };
0097                 };
0098 
0099                 i2c@2 {
0100                         #address-cells = <1>;
0101                         #size-cells = <0>;
0102                         reg = <2>;
0103                         eeprom@54 {
0104                                 compatible = "atmel,24c08";
0105                                 reg = <0x54>;
0106                         };
0107                 };
0108 
0109                 i2c@3 {
0110                         #address-cells = <1>;
0111                         #size-cells = <0>;
0112                         reg = <3>;
0113                         gpio@21 {
0114                                 compatible = "ti,tca6416";
0115                                 reg = <0x21>;
0116                                 gpio-controller;
0117                                 #gpio-cells = <2>;
0118                         };
0119                 };
0120 
0121                 i2c@4 {
0122                         #address-cells = <1>;
0123                         #size-cells = <0>;
0124                         reg = <4>;
0125                         rtc@51 {
0126                                 compatible = "nxp,pcf8563";
0127                                 reg = <0x51>;
0128                         };
0129                 };
0130 
0131                 i2c@7 {
0132                         #address-cells = <1>;
0133                         #size-cells = <0>;
0134                         reg = <7>;
0135                         ucd90120@65 {
0136                                 compatible = "ti,ucd90120";
0137                                 reg = <0x65>;
0138                         };
0139                 };
0140         };
0141 };
0142 
0143 &pinctrl0 {
0144         pinctrl_gem0_default: gem0-default {
0145                 mux {
0146                         function = "ethernet0";
0147                         groups = "ethernet0_0_grp";
0148                 };
0149 
0150                 conf {
0151                         groups = "ethernet0_0_grp";
0152                         slew-rate = <0>;
0153                         io-standard = <4>;
0154                 };
0155 
0156                 conf-rx {
0157                         pins = "MIO22", "MIO23", "MIO24", "MIO25", "MIO26", "MIO27";
0158                         bias-high-impedance;
0159                         low-power-disable;
0160                 };
0161 
0162                 conf-tx {
0163                         pins = "MIO16", "MIO17", "MIO18", "MIO19", "MIO20", "MIO21";
0164                         low-power-enable;
0165                         bias-disable;
0166                 };
0167 
0168                 mux-mdio {
0169                         function = "mdio0";
0170                         groups = "mdio0_0_grp";
0171                 };
0172 
0173                 conf-mdio {
0174                         groups = "mdio0_0_grp";
0175                         slew-rate = <0>;
0176                         io-standard = <1>;
0177                         bias-disable;
0178                 };
0179         };
0180 
0181         pinctrl_gpio0_default: gpio0-default {
0182                 mux {
0183                         function = "gpio0";
0184                         groups = "gpio0_7_grp", "gpio0_46_grp", "gpio0_47_grp";
0185                 };
0186 
0187                 conf {
0188                         groups = "gpio0_7_grp", "gpio0_46_grp", "gpio0_47_grp";
0189                         slew-rate = <0>;
0190                         io-standard = <1>;
0191                 };
0192 
0193                 conf-pull-up {
0194                         pins = "MIO46", "MIO47";
0195                         bias-pull-up;
0196                 };
0197 
0198                 conf-pull-none {
0199                         pins = "MIO7";
0200                         bias-disable;
0201                 };
0202         };
0203 
0204         pinctrl_i2c0_default: i2c0-default {
0205                 mux {
0206                         groups = "i2c0_10_grp";
0207                         function = "i2c0";
0208                 };
0209 
0210                 conf {
0211                         groups = "i2c0_10_grp";
0212                         bias-pull-up;
0213                         slew-rate = <0>;
0214                         io-standard = <1>;
0215                 };
0216         };
0217 
0218         pinctrl_sdhci0_default: sdhci0-default {
0219                 mux {
0220                         groups = "sdio0_2_grp";
0221                         function = "sdio0";
0222                 };
0223 
0224                 conf {
0225                         groups = "sdio0_2_grp";
0226                         slew-rate = <0>;
0227                         io-standard = <1>;
0228                         bias-disable;
0229                 };
0230 
0231                 mux-cd {
0232                         groups = "gpio0_14_grp";
0233                         function = "sdio0_cd";
0234                 };
0235 
0236                 conf-cd {
0237                         groups = "gpio0_14_grp";
0238                         bias-high-impedance;
0239                         bias-pull-up;
0240                         slew-rate = <0>;
0241                         io-standard = <1>;
0242                 };
0243 
0244                 mux-wp {
0245                         groups = "gpio0_15_grp";
0246                         function = "sdio0_wp";
0247                 };
0248 
0249                 conf-wp {
0250                         groups = "gpio0_15_grp";
0251                         bias-high-impedance;
0252                         bias-pull-up;
0253                         slew-rate = <0>;
0254                         io-standard = <1>;
0255                 };
0256         };
0257 
0258         pinctrl_uart1_default: uart1-default {
0259                 mux {
0260                         groups = "uart1_10_grp";
0261                         function = "uart1";
0262                 };
0263 
0264                 conf {
0265                         groups = "uart1_10_grp";
0266                         slew-rate = <0>;
0267                         io-standard = <1>;
0268                 };
0269 
0270                 conf-rx {
0271                         pins = "MIO49";
0272                         bias-high-impedance;
0273                 };
0274 
0275                 conf-tx {
0276                         pins = "MIO48";
0277                         bias-disable;
0278                 };
0279         };
0280 
0281         pinctrl_usb0_default: usb0-default {
0282                 mux {
0283                         groups = "usb0_0_grp";
0284                         function = "usb0";
0285                 };
0286 
0287                 conf {
0288                         groups = "usb0_0_grp";
0289                         slew-rate = <0>;
0290                         io-standard = <1>;
0291                 };
0292 
0293                 conf-rx {
0294                         pins = "MIO29", "MIO31", "MIO36";
0295                         bias-high-impedance;
0296                 };
0297 
0298                 conf-tx {
0299                         pins = "MIO28", "MIO30", "MIO32", "MIO33", "MIO34",
0300                                "MIO35", "MIO37", "MIO38", "MIO39";
0301                         bias-disable;
0302                 };
0303         };
0304 };
0305 
0306 &sdhci0 {
0307         status = "okay";
0308         pinctrl-names = "default";
0309         pinctrl-0 = <&pinctrl_sdhci0_default>;
0310 };
0311 
0312 &uart1 {
0313         status = "okay";
0314         pinctrl-names = "default";
0315         pinctrl-0 = <&pinctrl_uart1_default>;
0316 };
0317 
0318 &usb0 {
0319         status = "okay";
0320         dr_mode = "host";
0321         usb-phy = <&usb_phy0>;
0322         pinctrl-names = "default";
0323         pinctrl-0 = <&pinctrl_usb0_default>;
0324 };