diff options
author | Emmanuel Vadot <manu@FreeBSD.org> | 2019-01-11 09:40:34 +0000 |
---|---|---|
committer | Emmanuel Vadot <manu@FreeBSD.org> | 2019-01-11 09:40:34 +0000 |
commit | 1f041ae1413da439824781499ad653965fc07cb5 (patch) | |
tree | 7656d45c575854c51762a73d115f078dec759a73 /sys/gnu/dts/arm/pxa2xx.dtsi | |
parent | 3dd1a009cd9ad1adf8ac0f63147395037938d82a (diff) | |
parent | a31d1ff13cd8d70944a6446c0e2478d7f25b53e7 (diff) | |
download | src-1f041ae1413da439824781499ad653965fc07cb5.tar.gz src-1f041ae1413da439824781499ad653965fc07cb5.zip |
Import DTS from Linux 4.20
MFC after: 2 months
Notes
Notes:
svn path=/head/; revision=342936
Diffstat (limited to 'sys/gnu/dts/arm/pxa2xx.dtsi')
-rw-r--r-- | sys/gnu/dts/arm/pxa2xx.dtsi | 27 |
1 files changed, 23 insertions, 4 deletions
diff --git a/sys/gnu/dts/arm/pxa2xx.dtsi b/sys/gnu/dts/arm/pxa2xx.dtsi index a520b4c14ea9..080d5c5169b5 100644 --- a/sys/gnu/dts/arm/pxa2xx.dtsi +++ b/sys/gnu/dts/arm/pxa2xx.dtsi @@ -9,6 +9,25 @@ #include "skeleton.dtsi" #include "dt-bindings/clock/pxa-clock.h" +#define PMGROUP(pin) #pin +#define PMMUX(func, pin, af) \ + mux- ## func { \ + groups = PMGROUP(P ## pin); \ + function = #af; \ + } +#define PMMUX_LPM_LOW(func, pin, af) \ + mux- ## func { \ + groups = PMGROUP(P ## pin); \ + function = #af; \ + low-power-disable; \ + } +#define PMMUX_LPM_HIGH(func, pin, af) \ + mux- ## func { \ + groups = PMGROUP(P ## pin); \ + function = #af; \ + low-power-enable; \ + } + / { model = "Marvell PXA2xx family SoC"; compatible = "marvell,pxa2xx"; @@ -76,7 +95,7 @@ }; }; - ffuart: uart@40100000 { + ffuart: serial@40100000 { compatible = "mrvl,pxa-uart"; reg = <0x40100000 0x30>; interrupts = <22>; @@ -84,7 +103,7 @@ status = "disabled"; }; - btuart: uart@40200000 { + btuart: serial@40200000 { compatible = "mrvl,pxa-uart"; reg = <0x40200000 0x30>; interrupts = <21>; @@ -92,7 +111,7 @@ status = "disabled"; }; - stuart: uart@40700000 { + stuart: serial@40700000 { compatible = "mrvl,pxa-uart"; reg = <0x40700000 0x30>; interrupts = <20>; @@ -100,7 +119,7 @@ status = "disabled"; }; - hwuart: uart@41100000 { + hwuart: serial@41100000 { compatible = "mrvl,pxa-uart"; reg = <0x41100000 0x30>; interrupts = <7>; |