From 3cd2550c736688c7f2651134e08bd5b5db5bed70 Mon Sep 17 00:00:00 2001 From: "s.hauer@pengutronix.de" Date: Fri, 25 Apr 2008 20:56:04 +1000 Subject: [POWERPC] mpc5200: add gpiolib support for mpc5200 This patch adds gpiolib support for mpc5200 SOCs. Signed-off-by: Sascha Hauer Signed-off-by: Grant Likely --- Documentation/powerpc/mpc52xx-device-tree-bindings.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'Documentation/powerpc') diff --git a/Documentation/powerpc/mpc52xx-device-tree-bindings.txt b/Documentation/powerpc/mpc52xx-device-tree-bindings.txt index 5e03610e186..cda7a7dffa6 100644 --- a/Documentation/powerpc/mpc52xx-device-tree-bindings.txt +++ b/Documentation/powerpc/mpc52xx-device-tree-bindings.txt @@ -186,6 +186,12 @@ Recommended soc5200 child nodes; populate as needed for your board name device_type compatible Description ---- ----------- ---------- ----------- gpt@ gpt fsl,mpc5200-gpt General purpose timers +gpt@ gpt fsl,mpc5200-gpt-gpio General purpose + timers in GPIO mode +gpio@ fsl,mpc5200-gpio MPC5200 simple gpio + controller +gpio@ fsl,mpc5200-gpio-wkup MPC5200 wakeup gpio + controller rtc@ rtc mpc5200-rtc Real time clock mscan@ mscan mpc5200-mscan CAN bus controller pci@ pci mpc5200-pci PCI bridge @@ -225,6 +231,12 @@ PSC in i2s mode: The mpc5200 and mpc5200b PSCs are not compatible when in i2s mode. An 'mpc5200b-psc-i2s' node cannot include 'mpc5200-psc-i2s' in the compatible field. +7) GPIO controller nodes +Each GPIO controller node should have the empty property gpio-controller and +#gpio-cells set to 2. First cell is the GPIO number which is interpreted +according to the bit numbers in the GPIO control registers. The second cell +is for flags which is currently unsused. + IV - Extra Notes ================ -- cgit v1.2.3