File: n310-common.dtsi

package info (click to toggle)
uhd 3.13.1.0-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 207,120 kB
  • sloc: cpp: 167,245; ansic: 86,841; vhdl: 53,420; python: 40,839; xml: 13,167; tcl: 5,688; makefile: 2,167; sh: 1,719; pascal: 230; csh: 94; asm: 20; perl: 11
file content (139 lines) | stat: -rw-r--r-- 2,472 bytes parent folder | download
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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
/*
 * Copyright (c) 2017 National Instruments Corp
 *
 * SPDX-License-Identifier: GPL-2.0 OR X11
 */

fragment@2 {
	target = <&amba>;
	reg = <0x0002>;
	__overlay__ {
		#address-cells = <1>;
		#size-cells = <1>;
		uio@40010000 {
			compatible = "usrp-uio";
			reg = <0x40010000 0x1000>;
			reg-names = "mboard-regs";
			status = "okay";
		};

		crossbar@40011000 {
			compatible = "ni,platform-crossbar-rp";
			reg = <0x40011000 0x1000>;
			status = "okay";
			rfnoc,ports = <0x10>;
			clocks = <&clkc 15>;
			clock-names = "bus_clk";
		};

		uio@40014000 {
			compatible = "usrp-uio";
			reg = <0x40014000 0x4000>;
			reg-names = "dboard-regs-0";
			status = "okay";
		};

		uio@40018000 {
			compatible = "usrp-uio";
			reg = <0x40018000 0x4000>;
			reg-names = "dboard-regs-1";
			status = "okay";
		};

		uio@42100000 {
			compatible = "usrp-uio";
			reg = <0x42100000 0x1000>;
			reg-names = "dboard-jtag-0";
			status = "okay";
		};

		uio@42200000 {
			compatible = "usrp-uio";
			reg = <0x42200000 0x1000>;
			reg-names = "dboard-jtag-1";
			status = "okay";
		};

	};
};

fragment@5 {
	target = <&spi0>;
	reg = <0x0005>;
	__overlay__ {
		#address-cells = <1>;
		#size-cells = <0>;
		status = "okay";

		cs-gpios = <0>, <0>, <0>, <&gpio0 62 0>;

		spidev0: spidev@0 {
			compatible = "rohm,dh2228fv";
			reg = <0>;
			status = "okay";
			spi-max-frequency = <1000000>;
		};

		spidev1: spidev@1 {
			compatible = "rohm,dh2228fv";
			reg = <1>;
			status = "okay";
			spi-max-frequency = <1000000>;
		};

		spidev2: spidev@2 {
			compatible = "rohm,dh2228fv";
			reg = <2>;
			status = "okay";
			spi-max-frequency = <1000000>;
		};

		spidev3: spidev@3 {
			compatible = "rohm,dh2228fv";
			reg = <3>;
			status = "okay";
			spi-max-frequency = <1000000>;
		};
	};
};

fragment@6 {
	target = <&spi1>;
	reg = <0x0006>;
	__overlay__ {
		#address-cells = <1>;
		#size-cells = <0>;
		status = "okay";

		cs-gpios = <0>, <0>, <0>, <&gpio0 63 0>;

		spidev4: spidev@0 {
			compatible = "rohm,dh2228fv";
			reg = <0>;
			status = "okay";
			spi-max-frequency = <1000000>;
		};

		spidev5: spidev@1 {
			compatible = "rohm,dh2228fv";
			reg = <1>;
			status = "okay";
			spi-max-frequency = <1000000>;
		};

		spidev6: spidev@2 {
			compatible = "rohm,dh2228fv";
			reg = <2>;
			status = "okay";
			spi-max-frequency = <1000000>;
		};

		spidev7: spidev@3 {
			compatible = "rohm,dh2228fv";
			reg = <3>;
			status = "okay";
			spi-max-frequency = <1000000>;
		};
	};
};