blob: e953f1ffb38aabb60756d54d815e9937cabedaad [file] [log] [blame]
// Copyright 2023 Google LLC
// Copyright lowRISC contributors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
{ name: "peri",
type: "xbar",
clock_primary: "clk_peri_i", // Main clock, used in sockets
other_clock_list: [] // Secondary clocks used by specific nodes
reset_primary: "rst_peri_ni", // Main reset, used in sockets
other_reset_list: [] // Secondary resets used by specific nodes
nodes: [
{ name: "main",
type: "host",
clock: "clk_peri_i",
reset: "rst_peri_ni",
xbar: "true",
pipeline: false
},
{ name: "uart0",
type: "device",
clock: "clk_peri_i",
reset: "rst_peri_ni",
pipeline: false
},
{ name: "uart1",
type: "device",
clock: "clk_peri_i",
reset: "rst_peri_ni",
pipeline: false
},
{ name: "uart2",
type: "device",
clock: "clk_peri_i",
reset: "rst_peri_ni",
pipeline: false
},
{ name: "uart3",
type: "device",
clock: "clk_peri_i",
reset: "rst_peri_ni",
pipeline: false
},
{ name: "i2c0",
type: "device",
clock: "clk_peri_i",
reset: "rst_peri_ni",
pipeline: false
},
{ name: "i2c1",
type: "device",
clock: "clk_peri_i",
reset: "rst_peri_ni",
pipeline: false
},
{ name: "i2c2",
type: "device",
clock: "clk_peri_i",
reset: "rst_peri_ni",
pipeline: false
},
{ name: "pattgen",
type: "device",
clock: "clk_peri_i",
reset: "rst_peri_ni",
pipeline: false
},
{ name: "pwm_aon",
type: "device",
clock: "clk_peri_i",
reset: "rst_peri_ni",
pipeline: false
},
{ name: "gpio",
type: "device",
clock: "clk_peri_i",
reset: "rst_peri_ni",
pipeline: false
},
{ name: "spi_device",
type: "device",
clock: "clk_peri_i",
reset: "rst_peri_ni",
pipeline: false
},
{ name: "rv_timer",
type: "device",
clock: "clk_peri_i",
reset: "rst_peri_ni",
pipeline: false
},
{ name: "pwrmgr_aon",
type: "device",
clock: "clk_peri_i",
reset: "rst_peri_ni",
pipeline: false
},
{ name: "rstmgr_aon",
type: "device",
clock: "clk_peri_i",
reset: "rst_peri_ni",
pipeline: false
},
{ name: "clkmgr_aon",
type: "device",
clock: "clk_peri_i",
reset: "rst_peri_ni",
pipeline: false
},
{ name: "pinmux_aon",
type: "device",
clock: "clk_peri_i",
reset: "rst_peri_ni",
pipeline: false
},
{ name: "otp_ctrl.core",
type: "device",
clock: "clk_peri_i",
reset: "rst_peri_ni",
pipeline: false
},
{ name: "otp_ctrl.prim",
type: "device",
clock: "clk_peri_i",
reset: "rst_peri_ni",
pipeline: false
},
{ name: "lc_ctrl",
type: "device",
clock: "clk_peri_i",
reset: "rst_peri_ni",
pipeline: false
},
{ name: "sensor_ctrl",
type: "device",
clock: "clk_peri_i",
reset: "rst_peri_ni",
pipeline: false,
},
{ name: "alert_handler",
type: "device",
clock: "clk_peri_i",
reset: "rst_peri_ni",
pipeline: false,
},
{ name: "sram_ctrl_ret_aon.regs",
type: "device",
clock: "clk_peri_i",
reset: "rst_peri_ni",
pipeline: false
},
{ name: "sram_ctrl_ret_aon.ram",
type: "device",
clock: "clk_peri_i",
reset: "rst_peri_ni",
pipeline: false
},
{ name: "aon_timer_aon",
type: "device",
clock: "clk_peri_i",
reset: "rst_peri_ni",
pipeline: false,
},
{ name: "sysrst_ctrl_aon",
type: "device",
clock: "clk_peri_i",
reset: "rst_peri_ni",
pipeline: false,
}
{ name: "adc_ctrl_aon",
type: "device",
clock: "clk_peri_i",
reset: "rst_peri_ni",
pipeline: false,
}
{ name: "ast",
type: "device",
clock: "clk_peri_i",
reset: "rst_peri_ni",
pipeline: false,
},
],
connections: {
main: [
"uart0", "uart1", "uart2", "uart3", "i2c0", "i2c1", "i2c2", "pattgen",
"gpio", "spi_device", "rv_timer",
"pwrmgr_aon", "rstmgr_aon", "clkmgr_aon", "pinmux_aon",
"otp_ctrl.core", "otp_ctrl.prim", "lc_ctrl", "sensor_ctrl",
"alert_handler", "ast", "sram_ctrl_ret_aon.ram", "sram_ctrl_ret_aon.regs",
"aon_timer_aon", "adc_ctrl_aon", "sysrst_ctrl_aon", "pwm_aon"
],
},
}