commit
0fffbd26d5
@ -0,0 +1,15 @@ |
||||
/*
|
||||
* Copyright (C) 2014 Panasonic Corporation |
||||
* Author: Masahiro Yamada <yamada.m@jp.panasonic.com> |
||||
* |
||||
* SPDX-License-Identifier: GPL-2.0+ |
||||
*/ |
||||
|
||||
#include <common.h> |
||||
#include <asm/arch/board.h> |
||||
|
||||
int board_early_init_r(void) |
||||
{ |
||||
uniphier_board_late_init(); |
||||
return 0; |
||||
} |
@ -0,0 +1,60 @@ |
||||
/* |
||||
* Device Tree Source for UniPhier PH1-sLD3 Reference Board |
||||
* |
||||
* Copyright (C) 2014 Panasonic Corporation |
||||
* Author: Masahiro Yamada <yamada.m@jp.panasonic.com> |
||||
* |
||||
* SPDX-License-Identifier: GPL-2.0+ |
||||
*/ |
||||
|
||||
/dts-v1/; |
||||
/include/ "uniphier-ph1-sld3.dtsi" |
||||
|
||||
/ { |
||||
model = "Panasonic UniPhier PH1-sLD3 Reference Board"; |
||||
compatible = "panasonic,ph1-sld3-ref", "panasonic,ph1-sld3"; |
||||
|
||||
memory { |
||||
device_type = "memory"; |
||||
reg = <0x80000000 0x40000000>; |
||||
}; |
||||
|
||||
chosen { |
||||
bootargs = "console=ttyPS0,115200 earlyprintk"; |
||||
stdout-path = &uart0; |
||||
}; |
||||
|
||||
aliases { |
||||
uart0 = &uart0; |
||||
uart1 = &uart1; |
||||
uart2 = &uart2; |
||||
i2c0 = &i2c0; |
||||
i2c1 = &i2c1; |
||||
i2c2 = &i2c2; |
||||
i2c3 = &i2c3; |
||||
}; |
||||
}; |
||||
|
||||
&uart0 { |
||||
status = "okay"; |
||||
}; |
||||
|
||||
&uart1 { |
||||
status = "okay"; |
||||
}; |
||||
|
||||
&i2c0 { |
||||
status = "okay"; |
||||
eeprom { |
||||
compatible = "i2c-eeprom"; |
||||
reg = <0x50>; |
||||
}; |
||||
}; |
||||
|
||||
&usb0 { |
||||
status = "okay"; |
||||
}; |
||||
|
||||
&usb1 { |
||||
status = "okay"; |
||||
}; |
@ -0,0 +1,125 @@ |
||||
/* |
||||
* Device Tree Source for UniPhier PH1-sLD3 SoC |
||||
* |
||||
* Copyright (C) 2014 Panasonic Corporation |
||||
* Author: Masahiro Yamada <yamada.m@jp.panasonic.com> |
||||
* |
||||
* SPDX-License-Identifier: GPL-2.0+ |
||||
*/ |
||||
|
||||
/include/ "skeleton.dtsi" |
||||
|
||||
/ { |
||||
compatible = "panasonic,ph1-sld3"; |
||||
|
||||
cpus { |
||||
#address-cells = <1>; |
||||
#size-cells = <0>; |
||||
|
||||
cpu@0 { |
||||
device_type = "cpu"; |
||||
compatible = "arm,cortex-a9"; |
||||
reg = <0>; |
||||
}; |
||||
|
||||
cpu@1 { |
||||
device_type = "cpu"; |
||||
compatible = "arm,cortex-a9"; |
||||
reg = <1>; |
||||
}; |
||||
}; |
||||
|
||||
soc { |
||||
compatible = "simple-bus"; |
||||
#address-cells = <1>; |
||||
#size-cells = <1>; |
||||
ranges; |
||||
|
||||
uart0: serial@54006800 { |
||||
compatible = "panasonic,uniphier-uart"; |
||||
status = "disabled"; |
||||
reg = <0x54006800 0x20>; |
||||
clock-frequency = <36864000>; |
||||
}; |
||||
|
||||
uart1: serial@54006900 { |
||||
compatible = "panasonic,uniphier-uart"; |
||||
status = "disabled"; |
||||
reg = <0x54006900 0x20>; |
||||
clock-frequency = <36864000>; |
||||
}; |
||||
|
||||
uart2: serial@54006a00 { |
||||
compatible = "panasonic,uniphier-uart"; |
||||
status = "disabled"; |
||||
reg = <0x54006a00 0x20>; |
||||
clock-frequency = <36864000>; |
||||
}; |
||||
|
||||
i2c0: i2c@58400000 { |
||||
compatible = "panasonic,uniphier-i2c"; |
||||
#address-cells = <1>; |
||||
#size-cells = <0>; |
||||
reg = <0x58400000 0x40>; |
||||
clock-frequency = <100000>; |
||||
status = "disabled"; |
||||
}; |
||||
|
||||
i2c1: i2c@58480000 { |
||||
compatible = "panasonic,uniphier-i2c"; |
||||
#address-cells = <1>; |
||||
#size-cells = <0>; |
||||
reg = <0x58480000 0x40>; |
||||
clock-frequency = <100000>; |
||||
status = "disabled"; |
||||
}; |
||||
|
||||
i2c2: i2c@58500000 { |
||||
compatible = "panasonic,uniphier-i2c"; |
||||
#address-cells = <1>; |
||||
#size-cells = <0>; |
||||
reg = <0x58500000 0x40>; |
||||
clock-frequency = <100000>; |
||||
status = "disabled"; |
||||
}; |
||||
|
||||
i2c3: i2c@58580000 { |
||||
compatible = "panasonic,uniphier-i2c"; |
||||
#address-cells = <1>; |
||||
#size-cells = <0>; |
||||
reg = <0x58580000 0x40>; |
||||
clock-frequency = <100000>; |
||||
status = "disabled"; |
||||
}; |
||||
|
||||
usb0: usb@5a800100 { |
||||
compatible = "panasonic,uniphier-ehci", "usb-ehci"; |
||||
status = "disabled"; |
||||
reg = <0x5a800100 0x100>; |
||||
}; |
||||
|
||||
usb1: usb@5a810100 { |
||||
compatible = "panasonic,uniphier-ehci", "usb-ehci"; |
||||
status = "disabled"; |
||||
reg = <0x5a810100 0x100>; |
||||
}; |
||||
|
||||
usb2: usb@5a820100 { |
||||
compatible = "panasonic,uniphier-ehci", "usb-ehci"; |
||||
status = "disabled"; |
||||
reg = <0x5a820100 0x100>; |
||||
}; |
||||
|
||||
usb3: usb@5a830100 { |
||||
compatible = "panasonic,uniphier-ehci", "usb-ehci"; |
||||
status = "disabled"; |
||||
reg = <0x5a830100 0x100>; |
||||
}; |
||||
|
||||
nand: nand@f8000000 { |
||||
compatible = "denali,denali-nand-dt"; |
||||
reg = <0xf8000000 0x20>, <0xf8100000 0x1000>; |
||||
reg-names = "nand_data", "denali_reg"; |
||||
}; |
||||
}; |
||||
}; |
@ -1,53 +0,0 @@ |
||||
/*
|
||||
* Copyright (C) 2012-2014 Panasonic Corporation |
||||
* Author: Masahiro Yamada <yamada.m@jp.panasonic.com> |
||||
* |
||||
* SPDX-License-Identifier: GPL-2.0+ |
||||
*/ |
||||
|
||||
#ifndef __PH1_XXX_H |
||||
#define __PH1_XXX_H |
||||
|
||||
/*
|
||||
* Support Card Select |
||||
* |
||||
* CONFIG_PFC_MICRO_SUPPORT_CARD - Original Micro Support Card made by PFC. |
||||
* CONFIG_DCC_MICRO_SUPPORT_CARD - DCC version Micro Support Card. |
||||
* CPLD is re-programmed for ARIMA board compatibility. |
||||
* No define - No support card. |
||||
*/ |
||||
|
||||
#if 0 |
||||
#define CONFIG_PFC_MICRO_SUPPORT_CARD |
||||
#else |
||||
#define CONFIG_DCC_MICRO_SUPPORT_CARD |
||||
#endif |
||||
|
||||
/*
|
||||
* Serial Configuration |
||||
* SoC UART : enable CONFIG_UNIPHIER_SERIAL |
||||
* On-board UART: enable CONFIG_SYS_NS16550_SERIAL |
||||
*/ |
||||
#if 0 |
||||
#define CONFIG_SYS_NS16550_SERIAL |
||||
#endif |
||||
|
||||
#define CONFIG_SMC911X |
||||
|
||||
#define CONFIG_DDR_NUM_CH0 1 |
||||
#define CONFIG_DDR_NUM_CH1 1 |
||||
|
||||
/*
|
||||
* Memory Size & Mapping |
||||
*/ |
||||
/* Physical start address of SDRAM */ |
||||
#define CONFIG_SDRAM0_BASE 0x80000000 |
||||
#define CONFIG_SDRAM0_SIZE 0x10000000 |
||||
#define CONFIG_SDRAM1_BASE 0x90000000 |
||||
#define CONFIG_SDRAM1_SIZE 0x10000000 |
||||
|
||||
#define CONFIG_SPL_TEXT_BASE 0x40000 |
||||
|
||||
#include "uniphier-common.h" |
||||
|
||||
#endif /* __PH1_XXX_H */ |
@ -1,55 +0,0 @@ |
||||
/*
|
||||
* Copyright (C) 2012-2014 Panasonic Corporation |
||||
* Author: Masahiro Yamada <yamada.m@jp.panasonic.com> |
||||
* |
||||
* SPDX-License-Identifier: GPL-2.0+ |
||||
*/ |
||||
|
||||
#ifndef __PH1_XXX_H |
||||
#define __PH1_XXX_H |
||||
|
||||
/*
|
||||
* Support Card Select |
||||
* |
||||
* CONFIG_PFC_MICRO_SUPPORT_CARD - Original Micro Support Card made by PFC. |
||||
* CONFIG_DCC_MICRO_SUPPORT_CARD - DCC version Micro Support Card. |
||||
* CPLD is re-programmed for ARIMA board compatibility. |
||||
* No define - No support card. |
||||
*/ |
||||
|
||||
#if 0 |
||||
#define CONFIG_PFC_MICRO_SUPPORT_CARD |
||||
#else |
||||
#define CONFIG_DCC_MICRO_SUPPORT_CARD |
||||
#endif |
||||
|
||||
/*
|
||||
* Serial Configuration |
||||
* SoC UART : enable CONFIG_UNIPHIER_SERIAL |
||||
* On-board UART: enable CONFIG_SYS_NS16550_SERIAL |
||||
*/ |
||||
#if 0 |
||||
#define CONFIG_SYS_NS16550_SERIAL |
||||
#endif |
||||
|
||||
#define CONFIG_SMC911X |
||||
|
||||
#define CONFIG_DDR_NUM_CH0 2 |
||||
#define CONFIG_DDR_NUM_CH1 2 |
||||
|
||||
#define CONFIG_UNIPHIER_SMP |
||||
|
||||
/*
|
||||
* Memory Size & Mapping |
||||
*/ |
||||
/* Physical start address of SDRAM */ |
||||
#define CONFIG_SDRAM0_BASE 0x80000000 |
||||
#define CONFIG_SDRAM0_SIZE 0x20000000 |
||||
#define CONFIG_SDRAM1_BASE 0xa0000000 |
||||
#define CONFIG_SDRAM1_SIZE 0x20000000 |
||||
|
||||
#define CONFIG_SPL_TEXT_BASE 0x100000 |
||||
|
||||
#include "uniphier-common.h" |
||||
|
||||
#endif /* __PH1_XXX_H */ |
@ -1,55 +0,0 @@ |
||||
/*
|
||||
* Copyright (C) 2012-2014 Panasonic Corporation |
||||
* Author: Masahiro Yamada <yamada.m@jp.panasonic.com> |
||||
* |
||||
* SPDX-License-Identifier: GPL-2.0+ |
||||
*/ |
||||
|
||||
#ifndef __PH1_XXX_H |
||||
#define __PH1_XXX_H |
||||
|
||||
/*
|
||||
* Support Card Select |
||||
* |
||||
* CONFIG_PFC_MICRO_SUPPORT_CARD - Original Micro Support Card made by PFC. |
||||
* CONFIG_DCC_MICRO_SUPPORT_CARD - DCC version Micro Support Card. |
||||
* CPLD is re-programmed for ARIMA board compatibility. |
||||
* No define - No support card. |
||||
*/ |
||||
|
||||
#if 0 |
||||
#define CONFIG_PFC_MICRO_SUPPORT_CARD |
||||
#else |
||||
#define CONFIG_DCC_MICRO_SUPPORT_CARD |
||||
#endif |
||||
|
||||
/*
|
||||
* Serial Configuration |
||||
* SoC UART : enable CONFIG_UNIPHIER_SERIAL |
||||
* On-board UART: enable CONFIG_SYS_NS16550_SERIAL |
||||
*/ |
||||
#if 0 |
||||
#define CONFIG_SYS_NS16550_SERIAL |
||||
#endif |
||||
|
||||
#define CONFIG_SMC911X |
||||
|
||||
#define CONFIG_DDR_NUM_CH0 1 |
||||
#define CONFIG_DDR_NUM_CH1 1 |
||||
|
||||
/* #define CONFIG_DDR_STANDARD */ |
||||
|
||||
/*
|
||||
* Memory Size & Mapping |
||||
*/ |
||||
/* Physical start address of SDRAM */ |
||||
#define CONFIG_SDRAM0_BASE 0x80000000 |
||||
#define CONFIG_SDRAM0_SIZE 0x10000000 |
||||
#define CONFIG_SDRAM1_BASE 0x90000000 |
||||
#define CONFIG_SDRAM1_SIZE 0x10000000 |
||||
|
||||
#define CONFIG_SPL_TEXT_BASE 0x40000 |
||||
|
||||
#include "uniphier-common.h" |
||||
|
||||
#endif /* __PH1_XXX_H */ |
Loading…
Reference in new issue