aboutsummaryrefslogtreecommitdiffstats
path: root/fpga/usrp3/top/e31x/dts/e31x-pmu.dtsi
blob: f85c098164407e5664be95f07523acba8def6aeb (plain)
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
/*
 * Copyright (c) 2018 National Instruments Corp
 *
 * SPDX-License-Identifier: GPL-2.0 OR X11
 */

&fpga_full {
	devctrl: devctrl@40000000 {
		compatible = "syscon";
		reg = <0x40000000 0x24>;
	};
	poweroff {
		compatible = "syscon-poweroff";
		regmap = <&devctrl>;
		offset = <0x0>;
		mask = <0x7a>;
	};
	pmu {
		compatible = "ni,e31x-pmu";
		regmap = <&devctrl>;
		status = "okay";
		charger: charger@0{
			compatible = "ni,e31x-charger";
		};
		battery: battery@1{
			compatible = "ni,e31x-battery";
		};
	};
};