~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/arm/boot/dts/xilinx/zynq-ebaz4205.dts

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 // SPDX-License-Identifier: GPL-2.0
  2 /*
  3  * Copyright (C) 2021 Michael Walle <michael@walle.cc>
  4  */
  5 /dts-v1/;
  6 /include/ "zynq-7000.dtsi"
  7 
  8 / {
  9         model = "Ebang EBAZ4205";
 10         compatible = "ebang,ebaz4205", "xlnx,zynq-7000";
 11 
 12         aliases {
 13                 ethernet0 = &gem0;
 14                 serial0 = &uart1;
 15         };
 16 
 17         memory@0 {
 18                 device_type = "memory";
 19                 reg = <0x0 0x10000000>;
 20         };
 21 
 22         chosen {
 23                 stdout-path = "serial0:115200n8";
 24         };
 25 };
 26 
 27 &clkc {
 28         ps-clk-frequency = <33333333>;
 29         fclk-enable = <8>;
 30 };
 31 
 32 &gem0 {
 33         status = "okay";
 34         phy-mode = "mii";
 35         phy-handle = <&phy>;
 36 
 37         /* PHY clock */
 38         assigned-clocks = <&clkc 18>;
 39         assigned-clock-rates = <25000000>;
 40 
 41         phy: ethernet-phy@0 {
 42                 reg = <0>;
 43         };
 44 };
 45 
 46 &gpio0 {
 47         pinctrl-names = "default";
 48         pinctrl-0 = <&pinctrl_gpio0_default>;
 49 };
 50 
 51 &nfc0 {
 52         status = "okay";
 53 
 54         nand@0 {
 55                 reg = <0>;
 56         };
 57 };
 58 
 59 &pinctrl0 {
 60         pinctrl_gpio0_default: gpio0-default {
 61                 mux {
 62                         groups = "gpio0_20_grp", "gpio0_32_grp";
 63                         function = "gpio0";
 64                 };
 65 
 66                 conf {
 67                         groups = "gpio0_20_grp", "gpio0_32_grp";
 68                         io-standard = <3>;
 69                         slew-rate = <0>;
 70                 };
 71 
 72                 conf-pull-up {
 73                         pins = "MIO20", "MIO32";
 74                         bias-disable;
 75                 };
 76         };
 77 
 78         pinctrl_sdhci0_default: sdhci0-default {
 79                 mux {
 80                         groups = "sdio0_2_grp";
 81                         function = "sdio0";
 82                 };
 83 
 84                 conf {
 85                         groups = "sdio0_2_grp";
 86                         io-standard = <3>;
 87                         slew-rate = <0>;
 88                         bias-disable;
 89                 };
 90 
 91                 mux-cd {
 92                         groups = "gpio0_34_grp";
 93                         function = "sdio0_cd";
 94                 };
 95 
 96                 conf-cd {
 97                         groups = "gpio0_34_grp";
 98                         io-standard = <3>;
 99                         slew-rate = <0>;
100                         bias-high-impedance;
101                         bias-pull-up;
102                 };
103         };
104 
105         pinctrl_uart1_default: uart1-default {
106                 mux {
107                         groups = "uart1_4_grp";
108                         function = "uart1";
109                 };
110 
111                 conf {
112                         groups = "uart1_4_grp";
113                         io-standard = <3>;
114                         slew-rate = <0>;
115                 };
116 
117                 conf-rx {
118                         pins = "MIO25";
119                         bias-high-impedance;
120                 };
121 
122                 conf-tx {
123                         pins = "MIO24";
124                         bias-disable;
125                 };
126         };
127 };
128 
129 &smcc {
130         status = "okay";
131 };
132 
133 &sdhci0 {
134         status = "okay";
135         disable-wp;
136         pinctrl-names = "default";
137         pinctrl-0 = <&pinctrl_sdhci0_default>;
138 };
139 
140 &uart1 {
141         status = "okay";
142         pinctrl-names = "default";
143         pinctrl-0 = <&pinctrl_uart1_default>;
144 };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php