arm64: dts: armada: add pwm offsets for ap/cp gpios
authorBaruch Siach <baruch@tkos.co.il>
Mon, 11 Jan 2021 11:46:28 +0000 (13:46 +0200)
committerGregory CLEMENT <gregory.clement@bootlin.com>
Fri, 29 Jan 2021 15:54:48 +0000 (16:54 +0100)
commit35db5e32ebc16330ae6275c24783efa4091af1bc
treed8665d792c856e11b2cac0a2fe3509fab853ceb5
parent6ece0f7dbd558670ec72ba390379949a4d4dc5c0
arm64: dts: armada: add pwm offsets for ap/cp gpios

The 'marvell,pwm-offset' property of both GPIO blocks (per CP component)
point to the same counter registers offset. The driver will decide how
to use counters A/B.

This is different from the convention of pwm on earlier Armada series
(370/38x). On those systems the assignment of A/B counters to GPIO
blocks is coded in both DT and the driver. The actual behaviour of the
current driver on Armada 8K/7K is the same as earlier systems.

Add also clock properties for base pwm frequency reference.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
arch/arm64/boot/dts/marvell/armada-ap80x.dtsi
arch/arm64/boot/dts/marvell/armada-cp11x.dtsi