Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit caf3d157 authored by Robert Nelson's avatar Robert Nelson
Browse files

k3-j721e: add gpio ranges


Signed-off-by: default avatarRobert Nelson <robertcnelson@gmail.com>
parent b4cc29df
Branches
No related merge requests found
Pipeline #17754 passed with stage
in 6 seconds
......@@ -551,18 +551,17 @@
/* Proxy 0 addressing */
reg = <0x0 0x11c000 0x0 0x2b4>;
#pinctrl-cells = <1>;
// pinctrl-single,gpio-range =
// <&main_pmx0_range 0 32 PIN_GPIO_RANGE_IOPAD>,
// <&main_pmx0_range 33 92 PIN_GPIO_RANGE_IOPAD>,
// <&main_pmx0_range 137 5 PIN_GPIO_RANGE_IOPAD>,
// <&main_pmx0_range 143 3 PIN_GPIO_RANGE_IOPAD>,
// <&main_pmx0_range 149 2 PIN_GPIO_RANGE_IOPAD>;
pinctrl-single,gpio-range =
<&main_pmx0_range 0 18 PIN_GPIO_RANGE_IOPAD>,
<&main_pmx0_range 19 110 PIN_GPIO_RANGE_IOPAD>,
<&main_pmx0_range 129 29 PIN_GPIO_RANGE_IOPAD>,
<&main_pmx0_range 164 7 PIN_GPIO_RANGE_IOPAD>;
pinctrl-single,register-width = <32>;
pinctrl-single,function-mask = <0xffffffff>;
// main_pmx0_range: gpio-range {
// #pinctrl-single,gpio-range-cells = <3>;
// };
main_pmx0_range: gpio-range {
#pinctrl-single,gpio-range-cells = <3>;
};
};
/* TIMERIO pad input CTRLMMR_TIMER*_CTRL registers */
......@@ -1491,6 +1490,7 @@
<260>, <261>, <262>, <263>;
interrupt-controller;
#interrupt-cells = <2>;
gpio-ranges = <&main_pmx0 0 0 18>, <&main_pmx0 18 19 110>;
ti,ngpio = <128>;
ti,davinci-gpio-unbanked = <0>;
power-domains = <&k3_pds 105 TI_SCI_PD_EXCLUSIVE>;
......@@ -1508,6 +1508,7 @@
interrupts = <288>, <289>, <290>;
interrupt-controller;
#interrupt-cells = <2>;
gpio-ranges = <&main_pmx0 0 129 29>, <&main_pmx0 29 164 7>;
ti,ngpio = <36>;
ti,davinci-gpio-unbanked = <0>;
power-domains = <&k3_pds 106 TI_SCI_PD_EXCLUSIVE>;
......
......@@ -68,6 +68,15 @@
#pinctrl-cells = <1>;
pinctrl-single,register-width = <32>;
pinctrl-single,function-mask = <0xffffffff>;
pinctrl-single,gpio-range =
<&wkup_pmx_range 44 16 PIN_GPIO_RANGE_IOPAD>,
<&wkup_pmx_range 0 44 PIN_GPIO_RANGE_IOPAD>,
<&wkup_pmx_range 60 24 PIN_GPIO_RANGE_IOPAD>;
bootph-all;
wkup_pmx_range: gpio-range {
#pinctrl-single,gpio-range-cells = <3>;
};
};
/* MCU_TIMERIO pad input CTRLMMR_MCU_TIMER*_CTRL registers */
......@@ -284,6 +293,8 @@
interrupts = <103>, <104>, <105>, <106>, <107>, <108>;
interrupt-controller;
#interrupt-cells = <2>;
gpio-ranges = <&wkup_pmx0 0 44 16>, <&wkup_pmx0 16 0 44>,
<&wkup_pmx0 60 60 24>;
ti,ngpio = <84>;
ti,davinci-gpio-unbanked = <0>;
power-domains = <&k3_pds 113 TI_SCI_PD_EXCLUSIVE>;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment