#include <linux/ioport.h>
#include <linux/export.h>
#include <linux/clkdev.h>
#include <linux/of.h>
#include <linux/of_platform.h>
#include <linux/of_address.h>
#include <lantiq_soc.h>
#include "../clk.h"
#include "../prom.h"
Go to the source code of this file.
#define CGU_IFCCR_VR9 0x0024 |
#define CGU_PCICR_VR9 0x0038 |
#define PMU1_PCIE_CTL BIT(1) |
#define PMU1_PCIE_MSI BIT(5) |
#define PMU1_PCIE_PDI BIT(4) |
#define PMU1_PCIE_PHY BIT(0) |
#define PMU_AHBS BIT(13) /* vr9 */ |
#define PMU_EPHY BIT(7) /* ase */ |
#define PMU_PCIE_CLK BIT(31) |
#define PMU_PPE_DPLUM BIT(23) |
#define PMU_PPE_DPLUS BIT(24) |
#define PMU_PPE_EMA BIT(22) |
#define PMU_PPE_QSB BIT(18) |
#define PMU_PPE_SLL01 BIT(19) |
#define PMU_PPE_TC BIT(21) |
#define PMU_PPE_TOP BIT(29) |
#define pmu_r32 |
( |
|
x | ) |
ltq_r32(pmu_membase + (x)) |
#define PMU_SWITCH BIT(28) |
#define PMU_USB0_P BIT(0) |
#define PMU_USB1_P BIT(26) |
#define pmu_w32 |
( |
|
x, |
|
|
|
y |
|
) |
| ltq_w32((x), pmu_membase + (y)) |
void ltq_pmu_disable |
( |
unsigned int |
module | ) |
|
void ltq_pmu_enable |
( |
unsigned int |
module | ) |
|