hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
/*
 * Topic Miami board DTS
 *
 * Copyright (C) 2014-2016 Topic Embedded Products
 *
 * SPDX-License-Identifier:    GPL-2.0+
 */
/dts-v1/;
#include "zynq-7000.dtsi"
 
/ {
   model = "Topic Miami Zynq Board";
   compatible = "topic,miami", "xlnx,zynq-7000";
 
   aliases {
       ethernet0 = &gem0;
       serial0 = &uart0;
       spi0 = &qspi;
       i2c0 = &i2c0;
       i2c1 = &i2c1;
       mmc0 = &sdhci0;
       usbotg0 = &usb0;
   };
 
   memory@0 {
       device_type = "memory";
       reg = <0x0 0x40000000>;
   };
 
   chosen {
       stdout-path = "serial0:115200n8";
   };
};
 
&qspi {
   u-boot,dm-pre-reloc;
   status = "okay";
   is-dual = <0>;
   num-cs = <1>;
   flash@0 {
       compatible = "st,m25p80", "n25q256a";
       m25p,fast-read;
       reg = <0x0>;
       spi-tx-bus-width = <1>;
       spi-rx-bus-width = <4>;
       spi-max-frequency = <100000000>;
       #address-cells = <1>;
       #size-cells = <1>;
       partition@qspi-u-boot-spl {
           label = "qspi-u-boot-spl";
           reg = <0x00000 0x10000>;
       };
       partition@qspi-u-boot-img {
           label = "qspi-u-boot-img";
           reg = <0x10000 0x60000>;
       };
       partition@qspi-device-tree {
           label = "qspi-device-tree";
           reg = <0x70000 0x10000>;
       };
       partition@qspi-linux {
           label = "qspi-linux";
           reg = <0x80000 0x400000>;
       };
       partition@qspi-rootfs {
           label = "qspi-rootfs";
           reg = <0x480000 0x1b80000>;
       };
   };
};
 
&i2c0 {
   status = "okay";
   clock-frequency = <400000>;
};
 
&i2c1 {
   status = "okay";
   clock-frequency = <400000>;
};
 
&clkc {
   ps-clk-frequency = <33333333>;
};
 
&sdhci0 {
   u-boot,dm-pre-reloc;
   status = "okay";
};
 
&uart0 {
   u-boot,dm-pre-reloc;
   status = "okay";
};
 
&usb0 {
   status = "okay";
};