commit | 8773b07adeee20fbbe07e5523a28b7d9d1e1e019 | [log] [tgz] |
---|---|---|
author | Steven Cho <cho.steven@inventec.corp-partner.google.com> | Mon Jun 23 17:29:56 2025 +0800 |
committer | Steven Cho <cho.steven@inventec.corp-partner.google.com> | Mon Jul 28 22:57:42 2025 -0700 |
tree | 2065bd46813a32e31cb84090ae1d66b73fd76d8d | |
parent | 02cfa1fba73f8b395d60280e353336f6bdd33aec [diff] |
npcm8xx-bootloader: Support set FIU clock speed in machine config Since new nuvoton kernel is set FIU speed in settings.json, modified the current bbappend config to support set FIU speed in machine config file. Tested: Set FIU0 divider to 5 (50.0 MHz) Set FIU1 divider to 10 (25.0 MHz) Set FIU2 divider to 10 (25.0 MHz) PWRON = 0x00003fff Final clk settings: PLL0 = 1000.0 MHz PLL1 = 1000.0 MHz PLL2/2 = 480.0 MHz PLLCON0 = 0x80282101 PLLCON1 = 0x80502201 PLLCON2 = 0x80c02105 CLKSEL = 0x01e98e09 CLKDIV1 = 0x04069a5d CLKDIV2 = 0xea4fcf99 CLKDIV3 = 0x0009310e CLKDIV4 = 0x70009000 CPU CLK = 1000.0 MHz MC CLK = 1000.0 MHz APB1 = 62.500 MHz APB2 = 62.500 MHz APB3 = 62.500 MHz APB4 = 31.250 MHz APB5 = 125.0 MHz SPI0 = 50.0 MHz SPI1 = 25.0 MHz SPI3 = 25.0 MHz SPIX = 31.250 MHz ADC = 25.0 MHz CP/TIP= 250.0 MHz GFX = 142.857 MHz PCI = 125.0 MHz MMC = 50.0 MHz SD = 50.0 MHz CLKOUT= 1.562 MHz PIXEL = 25.173 MHz OHCI = 48.0 MHz UTMI = 30.0 MHz RC,I3C= 100.0 MHz UART = 3.571 MHz GMAC = 125.0 MHz Google-Bug-Id: 427126802 Fusion-Link: https://fusion2.corp.google.com/6b6a7e52-8649-3be2-a212-e51b87877e8a https://fusion2.corp.google.com/0fdd7436-f483-392d-95e9-a16e10693d9d https://fusion2.corp.google.com/5836961a-241c-36cc-a223-3e658411349c https://fusion2.corp.google.com/347bbb18-7f13-3971-8c97-40f3e889a8e8 Change-Id: I3ac530891942462d5cfbe43a2bc5c2f3b01a9ce1 Signed-off-by: Steven Cho <cho.steven@inventec.corp-partner.google.com>