hc
2023-11-22 f743a7adbd6e230d66a6206fa115b59fec2d88eb
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
/*
 * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
 */
/dts-v1/;
 
#include "am33xx.dtsi"
#include "am335x-bone-common.dtsi"
 
/ {
   model = "TI AM335x BeagleBone Green";
   compatible = "ti,am335x-bone-green", "ti,am335x-bone-black", "ti,am335x-bone", "ti,am33xx";
   chosen {
       stdout-path = &uart0;
       tick-timer = &timer2;
   };
};
 
&ldo3_reg {
   regulator-min-microvolt = <1800000>;
   regulator-max-microvolt = <1800000>;
   regulator-always-on;
};
 
&mmc1 {
   vmmc-supply = <&vmmcsd_fixed>;
};
 
&mmc2 {
   vmmc-supply = <&vmmcsd_fixed>;
   pinctrl-names = "default";
   pinctrl-0 = <&emmc_pins>;
   bus-width = <8>;
   status = "okay";
};
 
&am33xx_pinmux {
   uart2_pins: uart2_pins {
       pinctrl-single,pins = <
           AM33XX_IOPAD(0x950, PIN_INPUT | MUX_MODE1)    /* spi0_sclk.uart2_rxd */
           AM33XX_IOPAD(0x954, PIN_OUTPUT | MUX_MODE1)    /* spi0_d0.uart2_txd */
       >;
   };
};
 
&uart2 {
   pinctrl-names = "default";
   pinctrl-0 = <&uart2_pins>;
   status = "okay";
};
 
&rtc {
   system-power-controller;
};