OMAP3: beagle-xm: generate fake USB ethernet MAC address from dieid
[oweals/u-boot.git] / arch / arm / include / asm / arch-pantheon / cpu.h
index 60955c5a55eae50e70b7e885a2c61fd65f90d1e7..3ccdf8a359fc75dc67bfe9c150b5299fd1ebccea 100644 (file)
@@ -3,23 +3,7 @@
  * Marvell Semiconductor <www.marvell.com>
  * Written-by: Lei Wen <leiwen@marvell.com>
  *
- * See file CREDITS for list of people who contributed to this
- * project.
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
- * MA 02110-1301 USA
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef _PANTHEON_CPU_H
@@ -42,6 +26,17 @@ struct panthmpmu_registers {
        u32 acgr;       /*0x1024*/
 };
 
+/*
+ * Application Power Management (APMU) Registers
+ * Refer Register Datasheet 9.2
+ */
+struct panthapmu_registers {
+       u8 pad0[0x0054];
+       u32 sd1;        /*0x0054*/
+       u8 pad1[0x00e0 - 0x054 - 4];
+       u32 sd3;        /*0x00e0*/
+};
+
 /*
  * APB Clock Reset/Control Registers
  * Refer Register Datasheet 6.14
@@ -77,5 +72,6 @@ struct panthcpu_registers {
  */
 u32 panth_sdram_base(int);
 u32 panth_sdram_size(int);
+int mv_sdh_init(u32 regbase, u32 max_clk, u32 min_clk, u32 quirks);
 
 #endif /* _PANTHEON_CPU_H */