forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'sh-for-4.8' of git://git.libc.org/linux-sh
Pull arch/sh updates from Rich Felker: "These changes improve device tree support (including builtin DTB), add support for the J-Core J2 processor, an open source synthesizable reimplementation of the SH-2 ISA, resolve a longstanding sigcontext ABI mismatch issue, and fix various bugs including nommu-specific issues and minor regressions introduced in 4.6. The J-Core arch support is included here but to be usable it needs drivers that are waiting on approval/inclusion from their subsystem maintainers" * tag 'sh-for-4.8' of git://git.libc.org/linux-sh: (23 commits) sh: add device tree source for J2 FPGA on Mimas v2 board sh: add defconfig for J-Core J2 sh: use common clock framework with device tree boards sh: system call wire up sh: Delete unnecessary checks before the function call "mempool_destroy" sh: do not perform IPI-based cache flush except on boards that need it sh: add SMP support for J2 sh: SMP support for SH2 entry.S sh: add working futex atomic ops on userspace addresses for smp sh: add J2 atomics using the cas.l instruction sh: add AT_HWCAP flag for J-Core cas.l instruction sh: add support for J-Core J2 processor sh: fix build regression with CONFIG_OF && !CONFIG_OF_FLATTREE sh: allow clocksource drivers to register sched_clock backends sh: make heartbeat driver explicitly non-modular sh: make board-secureedge5410 explicitly non-modular sh: make mm/asids-debugfs explicitly non-modular sh: make time.c explicitly non-modular sh: fix futex/robust_list on nommu models sh: disable aliased page logic on NOMMU models ...
- Loading branch information
Showing
45 changed files
with
1,206 additions
and
399 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
obj-$(CONFIG_USE_BUILTIN_DTB) += $(patsubst "%",%,$(CONFIG_BUILTIN_DTB_SOURCE)).dtb.o | ||
|
||
clean-files := *.dtb.S |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,96 @@ | ||
/dts-v1/; | ||
|
||
/ { | ||
compatible = "jcore,j2-soc"; | ||
model = "J2 FPGA SoC on Mimas v2 board"; | ||
|
||
#address-cells = <1>; | ||
#size-cells = <1>; | ||
|
||
interrupt-parent = <&aic>; | ||
|
||
cpus { | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
|
||
cpu@0 { | ||
device_type = "cpu"; | ||
compatible = "jcore,j2"; | ||
reg = <0>; | ||
clock-frequency = <50000000>; | ||
d-cache-size = <8192>; | ||
i-cache-size = <8192>; | ||
d-cache-block-size = <16>; | ||
i-cache-block-size = <16>; | ||
}; | ||
}; | ||
|
||
memory@10000000 { | ||
device_type = "memory"; | ||
reg = <0x10000000 0x4000000>; | ||
}; | ||
|
||
aliases { | ||
serial0 = &uart0; | ||
spi0 = &spi0; | ||
}; | ||
|
||
chosen { | ||
stdout-path = "serial0"; | ||
}; | ||
|
||
soc@abcd0000 { | ||
compatible = "simple-bus"; | ||
ranges = <0 0xabcd0000 0x100000>; | ||
|
||
#address-cells = <1>; | ||
#size-cells = <1>; | ||
|
||
aic: interrupt-controller@200 { | ||
compatible = "jcore,aic1"; | ||
reg = <0x200 0x10>; | ||
interrupt-controller; | ||
#interrupt-cells = <1>; | ||
}; | ||
|
||
cache-controller@c0 { | ||
compatible = "jcore,cache"; | ||
reg = <0xc0 4>; | ||
}; | ||
|
||
timer@200 { | ||
compatible = "jcore,pit"; | ||
reg = <0x200 0x30>; | ||
interrupts = <0x48>; | ||
}; | ||
|
||
spi0: spi@40 { | ||
compatible = "jcore,spi2"; | ||
|
||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
|
||
spi-max-frequency = <25000000>; | ||
|
||
reg = <0x40 0x8>; | ||
|
||
sdcard@0 { | ||
compatible = "mmc-spi-slot"; | ||
reg = <0>; | ||
spi-max-frequency = <25000000>; | ||
voltage-ranges = <3200 3400>; | ||
mode = <0>; | ||
}; | ||
}; | ||
|
||
uart0: serial@100 { | ||
clock-frequency = <125000000>; | ||
compatible = "xlnx,xps-uartlite-1.00.a"; | ||
current-speed = <19200>; | ||
device_type = "serial"; | ||
interrupts = <0x12>; | ||
port-number = <0>; | ||
reg = <0x100 0x10>; | ||
}; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
CONFIG_SMP=y | ||
CONFIG_SYSVIPC=y | ||
CONFIG_POSIX_MQUEUE=y | ||
CONFIG_NO_HZ=y | ||
CONFIG_HIGH_RES_TIMERS=y | ||
CONFIG_CPU_SUBTYPE_J2=y | ||
CONFIG_MEMORY_START=0x10000000 | ||
CONFIG_MEMORY_SIZE=0x04000000 | ||
CONFIG_CPU_BIG_ENDIAN=y | ||
CONFIG_SH_DEVICE_TREE=y | ||
CONFIG_HZ_100=y | ||
CONFIG_CMDLINE_OVERWRITE=y | ||
CONFIG_CMDLINE="console=ttyUL0 earlycon" | ||
CONFIG_BINFMT_ELF_FDPIC=y | ||
CONFIG_BINFMT_FLAT=y | ||
CONFIG_NET=y | ||
CONFIG_PACKET=y | ||
CONFIG_UNIX=y | ||
CONFIG_INET=y | ||
CONFIG_DEVTMPFS=y | ||
CONFIG_DEVTMPFS_MOUNT=y | ||
CONFIG_NETDEVICES=y | ||
CONFIG_SERIAL_UARTLITE=y | ||
CONFIG_SERIAL_UARTLITE_CONSOLE=y | ||
CONFIG_I2C=y | ||
CONFIG_SPI=y | ||
CONFIG_SPI_JCORE=y | ||
CONFIG_WATCHDOG=y | ||
CONFIG_MMC=y | ||
CONFIG_MMC_SPI=y | ||
CONFIG_CLKSRC_JCORE_PIT=y | ||
CONFIG_JCORE_AIC=y | ||
CONFIG_EXT4_FS=y | ||
CONFIG_VFAT_FS=y | ||
CONFIG_FAT_DEFAULT_IOCHARSET="ascii" | ||
CONFIG_FAT_DEFAULT_UTF8=y | ||
CONFIG_NLS_DEFAULT="utf8" | ||
CONFIG_NLS_CODEPAGE_437=y | ||
CONFIG_NLS_ASCII=y | ||
CONFIG_NLS_UTF8=y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.