Heinrich Schuchardt | 143256b | 2019-04-28 06:46:57 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */ |
| 2 | |
| 3 | #ifndef _DT_BINDINGS_ARM_BCM2835_PM_H |
| 4 | #define _DT_BINDINGS_ARM_BCM2835_PM_H |
| 5 | |
| 6 | #define BCM2835_POWER_DOMAIN_GRAFX 0 |
| 7 | #define BCM2835_POWER_DOMAIN_GRAFX_V3D 1 |
| 8 | #define BCM2835_POWER_DOMAIN_IMAGE 2 |
| 9 | #define BCM2835_POWER_DOMAIN_IMAGE_PERI 3 |
| 10 | #define BCM2835_POWER_DOMAIN_IMAGE_ISP 4 |
| 11 | #define BCM2835_POWER_DOMAIN_IMAGE_H264 5 |
| 12 | #define BCM2835_POWER_DOMAIN_USB 6 |
| 13 | #define BCM2835_POWER_DOMAIN_DSI0 7 |
| 14 | #define BCM2835_POWER_DOMAIN_DSI1 8 |
| 15 | #define BCM2835_POWER_DOMAIN_CAM0 9 |
| 16 | #define BCM2835_POWER_DOMAIN_CAM1 10 |
| 17 | #define BCM2835_POWER_DOMAIN_CCP2TX 11 |
| 18 | #define BCM2835_POWER_DOMAIN_HDMI 12 |
| 19 | |
| 20 | #define BCM2835_POWER_DOMAIN_COUNT 13 |
| 21 | |
| 22 | #define BCM2835_RESET_V3D 0 |
| 23 | #define BCM2835_RESET_ISP 1 |
| 24 | #define BCM2835_RESET_H264 2 |
| 25 | |
| 26 | #define BCM2835_RESET_COUNT 3 |
| 27 | |
| 28 | #endif /* _DT_BINDINGS_ARM_BCM2835_PM_H */ |