blob: 3a6c63b774fcc63b29e4a69651710916c15e8b4f [file] [log] [blame]
Pascal Linder305329f2019-06-18 13:27:47 +02001# SPDX-License-Identifier: GPL-2.0+
2#
3# Copyright (C) 2019, Pascal Linder <pascal.linder@edu.hefr.ch>
4
5config VENDOR_KM
6 bool
7 help
8 Selected by any KM board to have additional configurations.
9
10if VENDOR_KM
11
Pascal Linderae01e1a2019-07-09 09:28:20 +020012menu "KM Board Setup"
13
14config KM_PNVRAM
15 hex "Pseudo RAM"
16 default 0x80000
Holger Brunckddef8892020-02-19 19:55:14 +010017 depends on !ARCH_SOCFPGA
Pascal Linderae01e1a2019-07-09 09:28:20 +020018 help
19 Start address of the pseudo non-volatile RAM for application.
20
21config KM_PHRAM
22 hex "Physical RAM"
Aleksandar Gerasimovski032bdbc2021-02-22 18:18:11 +000023 default 0x17F000 if ARM && !ARCH_LS1021A
24 default 0x100000 if PPC || ARCH_LS1021A
Holger Brunckddef8892020-02-19 19:55:14 +010025 depends on !ARCH_SOCFPGA
Pascal Linderae01e1a2019-07-09 09:28:20 +020026 help
27 Start address of the physical RAM, which is the mounted /var folder.
28
29config KM_RESERVED_PRAM
30 hex "Reserved RAM"
Trevor Woernerbb7ab072020-05-06 08:02:40 -040031 default 0x801000 if ARCH_KIRKWOOD
Pascal Linderae01e1a2019-07-09 09:28:20 +020032 default 0x0 if MPC83xx
Aleksandar Gerasimovski032bdbc2021-02-22 18:18:11 +000033 default 0x1000 if MPC85xx || ARCH_LS1021A
Holger Brunckddef8892020-02-19 19:55:14 +010034 depends on !ARCH_SOCFPGA
Pascal Linderae01e1a2019-07-09 09:28:20 +020035 help
36 Reserved physical RAM area at the end of memory for special purposes.
37
38config KM_CRAMFS_ADDR
39 hex "CRAMFS Address"
Aleksandar Gerasimovski032bdbc2021-02-22 18:18:11 +000040 default 0x83000000 if ARCH_LS1021A
Holger Brunckc7c71692020-10-09 17:21:32 +020041 default 0x3000000
Holger Brunckddef8892020-02-19 19:55:14 +010042 depends on !ARCH_SOCFPGA
Pascal Linderae01e1a2019-07-09 09:28:20 +020043 help
44 Start address of the CRAMFS containing the Linux kernel.
45
46config KM_KERNEL_ADDR
47 hex "Kernel Load Address"
Aleksandar Gerasimovski032bdbc2021-02-22 18:18:11 +000048 default 0x82000000 if ARCH_LS1021A
Holger Brunckc7c71692020-10-09 17:21:32 +020049 default 0x2000000
Pascal Linderae01e1a2019-07-09 09:28:20 +020050 help
51 Address where to load Linux kernel in RAM.
52
53config KM_FDT_ADDR
54 hex "FDT Load Address"
Aleksandar Gerasimovski032bdbc2021-02-22 18:18:11 +000055 default 0x82FC0000 if ARCH_LS1021A
Holger Brunckc7c71692020-10-09 17:21:32 +020056 default 0x2FC0000
Pascal Linderae01e1a2019-07-09 09:28:20 +020057 help
58 Address where to load flattened device tree in RAM.
59
Aleksandar Gerasimovski032bdbc2021-02-22 18:18:11 +000060config SYS_PAX_BASE
61 hex "PAX IFC Base Address"
62 default 0x78000000
63 depends on ARCH_LS1021A
64 help
65 IFC Base Address for PAXx FPGA.
66
Aleksandar Gerasimovski3b24bbd2021-06-08 14:16:28 +000067config SYS_CLIPS_BASE
68 hex "CLIPS IFC Base Address"
69 default 0x78000000
70 depends on ARCH_LS1021A
71 help
72 IFC Base Address for CLIPS FPGA.
73
Pascal Linderae01e1a2019-07-09 09:28:20 +020074config KM_CONSOLE_TTY
75 string "KM Console"
76 default "ttyS0"
77 help
78 TTY console to use on board.
79
Holger Brunckac4eb2c2019-11-26 19:09:01 +010080config KM_DEF_NETDEV
81 string "Default Netdevice"
82 default "eth0"
83 help
84 Default netdevice for debug interface
85
Pascal Linderae01e1a2019-07-09 09:28:20 +020086config KM_COMMON_ETH_INIT
87 bool "Common Ethernet Initialization"
Trevor Woernerbb7ab072020-05-06 08:02:40 -040088 default y if ARCH_KIRKWOOD || MPC83xx
Aleksandar Gerasimovski032bdbc2021-02-22 18:18:11 +000089 default n if MPC85xx || ARCH_SOCFPGA || ARCH_LS1021A
Pascal Linderae01e1a2019-07-09 09:28:20 +020090 help
Aleksandar Gerasimovski032bdbc2021-02-22 18:18:11 +000091 Use the Ethernet initialization implemented in common code that
Pascal Linderae01e1a2019-07-09 09:28:20 +020092 detects if a Piggy board is present.
93
Holger Bruncke2cbc6e2019-11-25 17:24:13 +010094config PIGGY_MAC_ADDRESS_OFFSET
Pascal Linderae01e1a2019-07-09 09:28:20 +020095 int "Piggy Address Offset"
96 default 0
97 help
98 MAC address offset for the Piggy board.
99
100config KM_MVEXTSW_ADDR
101 hex "Marvell Switch Address"
102 depends on MV88E6352_SWITCH
103 default 0x10
104 help
105 Address of external Marvell switch.
106
107config KM_IVM_BUS
108 int "IVM I2C Bus"
Holger Brunckddef8892020-02-19 19:55:14 +0100109 default 0 if ARCH_SOCFPGA
Aleksandar Gerasimovski032bdbc2021-02-22 18:18:11 +0000110 default 1 if ARCH_KIRKWOOD || MPC85xx || ARCH_LS1021A
Pascal Linderae01e1a2019-07-09 09:28:20 +0200111 default 2 if MPC83xx
112 help
113 Identifier number of I2C bus, where the inventory EEPROM is connected to.
114
115config SYS_IVM_EEPROM_ADR
116 hex "IVM I2C Address"
117 default 0x50
118 help
119 I2C address of the EEPROM containing the inventory.
120
121config SYS_IVM_EEPROM_MAX_LEN
122 hex "IVM Length"
123 default 0x400
124 help
125 Maximum length of inventory in EEPROM.
126
127config SYS_IVM_EEPROM_PAGE_LEN
128 hex "IVM Page Size"
129 default 0x100
130 help
131 Page size of inventory in EEPROM.
132
Pascal Linder305329f2019-06-18 13:27:47 +0200133source "board/keymile/km83xx/Kconfig"
Niel Fouriedb7241d2021-01-21 13:19:20 +0100134source "board/keymile/kmcent2/Kconfig"
Pascal Linder305329f2019-06-18 13:27:47 +0200135source "board/keymile/kmp204x/Kconfig"
136source "board/keymile/km_arm/Kconfig"
Aleksandar Gerasimovski032bdbc2021-02-22 18:18:11 +0000137source "board/keymile/pg-wcom-ls102xa/Kconfig"
Pascal Linder305329f2019-06-18 13:27:47 +0200138
Pascal Linderae01e1a2019-07-09 09:28:20 +0200139endmenu
140
Pascal Linder305329f2019-06-18 13:27:47 +0200141endif