Blame view

arch/arm64/boot/dts/freescale/fsl-imx8mm-evk-m4.dts 1.53 KB
81f7e3824   Eric Lee   Initial Release, ...
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
  /*
   * Copyright 2018 NXP
   *
   * This program is free software; you can redistribute it and/or
   * modify it under the terms of the GNU General Public License
   * as published by the Free Software Foundation; either version 2
   * of the License, or (at your option) any later version.
   *
   * This program is distributed in the hope that it will be useful,
   * but WITHOUT ANY WARRANTY; without even the implied warranty of
   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   * GNU General Public License for more details.
   */
  
  #include "fsl-imx8mm-evk.dts"
  
  / {
  	reserved-memory {
  		#address-cells = <2>;
  		#size-cells = <2>;
  		ranges;
  
  		m4_reserved: m4@0x80000000 {
  			no-map;
  			reg = <0 0x80000000 0 0x1000000>;
  		};
  
  	};
  
  	rpmsg_i2s: rpmsg-i2s {
  		compatible = "fsl,imx8mq-rpmsg-i2s";
  		/* the audio device index in m4 domain */
  		fsl,audioindex = <0> ;
  		fsl,dma-buffer-size = <0x6000000>;
  		fsl,enable-lpa;
  		status = "okay";
  	};
  
  	sound-rpmsg {
  		compatible = "fsl,imx-audio-rpmsg";
  		model = "ak4497-audio";
  		cpu-dai = <&rpmsg_i2s>;
  		rpmsg-out;
  	};
  
  };
  
  /*
   * ATTENTION: M4 may use IPs like below
   * ECSPI0/ECSPI2, GPIO1/GPIO5, GPT1, I2C3, I2S3, WDOG1, UART4, PWM3, SDMA1
   */
  
  &i2c3 {
  	status = "disabled";
  };
  
  &rpmsg{
  	/*
  	 * 64K for one rpmsg instance:
  	 * --0xb8000000~0xb800ffff: pingpong
  	 */
  	vdev-nums = <1>;
  	reg = <0x0 0xb8000000 0x0 0x10000>;
  	status = "okay";
  };
  
  &sdma1{
  	status = "disabled";
  };
  
  &uart4 {
  	status = "disabled";
  };
  
  &sdma3 {
  	status = "disabled";
  };
  
  &sai1 {
  	status = "disabled";
  };
  
  &flexspi {
  	status = "disabled";
  };