arm64: dts: ti: k3-j721e: Add gpio nodes in main domain
authorLokesh Vutla <lokeshvutla@ti.com>
Fri, 9 Aug 2019 08:29:43 +0000 (13:59 +0530)
committerTero Kristo <t-kristo@ti.com>
Thu, 29 Aug 2019 13:04:59 +0000 (16:04 +0300)
commit248f3eae99485bb0a860d66212374f7312b18b57
treee4dd262575604e9ad546a19664d02c3d282e3354
parentbf146a1a7cd4855696859bd6cd3f470b96f1bea9
arm64: dts: ti: k3-j721e: Add gpio nodes in main domain

There are 8 instances of gpio modules in main domain divided into 2 groups:
- Group1: gpio0, gpio2, gpio4, gpio6
- Group2: gpio1, gpio3, gpio5, gpio7

Groups are created to provide protection between two different processor
virtual worlds. There are x gpio lines coming out of each group. Each module
in a group has equal x gpio lines pinned out. There is a top level mux for
selecting the module instance for each pin coming out of group. Exactly
one module can be selected to control the corresponding pin. This muxing
can be controlled along the pad mux configuration registers.

Group1 pins out 128 lines(8 banks). Group 2 pins out 36 lines(2 banks).

Add DT nodes for each module instance in the main domain. Users should
make sure that correct gpio instance is selected in their pad configuration.

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Reviewed-by: Keerthy <j-keerthy@ti.com>
Signed-off-by: Tero Kristo <t-kristo@ti.com>
arch/arm64/boot/dts/ti/k3-j721e-main.dtsi