npcm7xx.h (802427bcdae1ad2eceea8a8877ecad835e3f8fde) npcm7xx.h (77c05b0b746119a78bffb595b0313d39ac6b20fc)
1/*
2 * Nuvoton NPCM7xx SoC family.
3 *
4 * Copyright 2020 Google LLC
5 *
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the
8 * Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful, but WITHOUT
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 * for more details.
15 */
16#ifndef NPCM7XX_H
17#define NPCM7XX_H
18
19#include "hw/boards.h"
1/*
2 * Nuvoton NPCM7xx SoC family.
3 *
4 * Copyright 2020 Google LLC
5 *
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the
8 * Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful, but WITHOUT
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 * for more details.
15 */
16#ifndef NPCM7XX_H
17#define NPCM7XX_H
18
19#include "hw/boards.h"
20#include "hw/adc/npcm7xx_adc.h"
20#include "hw/cpu/a9mpcore.h"
21#include "hw/gpio/npcm7xx_gpio.h"
22#include "hw/mem/npcm7xx_mc.h"
23#include "hw/misc/npcm7xx_clk.h"
24#include "hw/misc/npcm7xx_gcr.h"
25#include "hw/misc/npcm7xx_rng.h"
26#include "hw/nvram/npcm7xx_otp.h"
27#include "hw/timer/npcm7xx_timer.h"

--- 43 unchanged lines hidden (view full) ---

71 MemoryRegion sram;
72 MemoryRegion irom;
73 MemoryRegion ram3;
74 MemoryRegion *dram;
75
76 NPCM7xxGCRState gcr;
77 NPCM7xxCLKState clk;
78 NPCM7xxTimerCtrlState tim[3];
21#include "hw/cpu/a9mpcore.h"
22#include "hw/gpio/npcm7xx_gpio.h"
23#include "hw/mem/npcm7xx_mc.h"
24#include "hw/misc/npcm7xx_clk.h"
25#include "hw/misc/npcm7xx_gcr.h"
26#include "hw/misc/npcm7xx_rng.h"
27#include "hw/nvram/npcm7xx_otp.h"
28#include "hw/timer/npcm7xx_timer.h"

--- 43 unchanged lines hidden (view full) ---

72 MemoryRegion sram;
73 MemoryRegion irom;
74 MemoryRegion ram3;
75 MemoryRegion *dram;
76
77 NPCM7xxGCRState gcr;
78 NPCM7xxCLKState clk;
79 NPCM7xxTimerCtrlState tim[3];
80 NPCM7xxADCState adc;
79 NPCM7xxOTPState key_storage;
80 NPCM7xxOTPState fuse_array;
81 NPCM7xxMCState mc;
82 NPCM7xxRNGState rng;
83 NPCM7xxGPIOState gpio[8];
84 EHCISysBusState ehci;
85 OHCISysBusState ohci;
86 NPCM7xxFIUState fiu[2];

--- 34 unchanged lines hidden ---
81 NPCM7xxOTPState key_storage;
82 NPCM7xxOTPState fuse_array;
83 NPCM7xxMCState mc;
84 NPCM7xxRNGState rng;
85 NPCM7xxGPIOState gpio[8];
86 EHCISysBusState ehci;
87 OHCISysBusState ohci;
88 NPCM7xxFIUState fiu[2];

--- 34 unchanged lines hidden ---