Created
September 13, 2020 23:37
-
-
Save samueldr/92af0f0702b22ad4c889d336ab073c43 to your computer and use it in GitHub Desktop.
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
--- rpi4.fail.dts 1969-12-31 19:02:03.531999926 -0500 | |
+++ rpi4.okay.dts 1969-12-31 19:01:34.367999943 -0500 | |
@@ -2,7 +2,8 @@ | |
/ { | |
#address-cells = <0x02>; | |
- model = "Raspberry Pi 4 Model B"; | |
+ memreserve = <0x3b400000 0x4c00000>; | |
+ model = "Raspberry Pi 4 Model B Rev 1.1"; | |
serial-number = "10000000e4f0e82f"; | |
#size-cells = <0x01>; | |
interrupt-parent = <0x01>; | |
@@ -104,7 +105,7 @@ | |
}; | |
pcie@7d500000 { | |
- dma-ranges = <0x2000000 0x00 0x00 0x00 0x00 0x00 0xc0000000>; | |
+ dma-ranges = <0x2000000 0x00 0x00 0x00 0x00 0x00 0x80000000>; | |
brcm,enable-ssc; | |
#address-cells = <0x03>; | |
interrupts = <0x00 0x94 0x04 0x00 0x94 0x04>; | |
@@ -147,16 +148,6 @@ | |
}; | |
}; | |
- framebuffer@3e3cf000 { | |
- format = "a8r8g8b8"; | |
- height = <0x438>; | |
- width = <0x780>; | |
- stride = <0x1e00>; | |
- compatible = "simple-framebuffer"; | |
- status = "okay"; | |
- reg = <0x00 0x3e3cf000 0x7e9000>; | |
- }; | |
- | |
sd_io_1v8_reg { | |
regulator-max-microvolt = <0x325aa0>; | |
regulator-boot-on; | |
@@ -1249,10 +1240,10 @@ | |
}; | |
uart0_pins { | |
- brcm,pull = <0x00 0x02>; | |
+ brcm,pull = <0x02 0x00 0x00 0x02>; | |
brcm,function = <0x07>; | |
phandle = <0x08>; | |
- brcm,pins = <0x20 0x21>; | |
+ brcm,pins = <0x1e 0x1f 0x20 0x21>; | |
}; | |
spi4_gpio4 { | |
@@ -1985,6 +1976,11 @@ | |
}; | |
}; | |
+ system { | |
+ linux,serial = <0x10000000 0xe4f0e82f>; | |
+ linux,revision = <0xb03111>; | |
+ }; | |
+ | |
timer { | |
arm,cpu-registers-not-fw-configured; | |
interrupts = <0x01 0x0d 0xf08 0x01 0x0e 0xf08 0x01 0x0b 0xf08 0x01 0x0a 0xf08>; | |
@@ -2031,10 +2027,12 @@ | |
sdhost = "/soc/mmc@7e202000"; | |
serial1 = "/soc/serial@7e201000"; | |
pcie0 = "/scb/pcie@7d500000"; | |
+ i2c_vc = "/soc/i2c0mux/i2c@0"; | |
leds = "/leds"; | |
uart0 = "/soc/serial@7e201000"; | |
mmc = "/soc/mmc@7e300000"; | |
i2c4 = "/soc/i2c@7e205800"; | |
+ i2c_arm = "/soc/i2c@7e804000"; | |
fb = "/soc/fb"; | |
spi1 = "/soc/spi@7e215080"; | |
i2s = "/soc/i2s@7e203000"; | |
@@ -2049,13 +2047,16 @@ | |
i2c5 = "/soc/i2c@7e205a00"; | |
serial0 = "/soc/serial@7e215040"; | |
watchdog = "/soc/watchdog@7e100000"; | |
+ i2c = "/soc/i2c@7e804000"; | |
i2c10 = "/soc/i2c0mux/i2c@1"; | |
}; | |
chosen { | |
- linux,initrd-end = <0x00 0x30f8c93>; | |
- bootargs = "systemConfig=/nix/store/h3kwipp49hb9mpsfjcqamx7s5pvrb215-nixos-system-nixos-20.09pre-git init=/nix/store/h3kwipp49hb9mpsfjcqamx7s5pvrb215-nixos-system-nixos-20.09pre-git/init cma=32M console=ttyS0,115200n8 console=ttyAMA0,115200n8 console=tty0 boot.shell_on_fail boot.debug1devices loglevel=7"; | |
- linux,initrd-start = <0x00 0x2700000>; | |
+ linux,initrd-end = <0x2efff545>; | |
+ bootargs = "coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_headphones=1 bcm2708_fb.fbwidth=1824 bcm2708_fb.fbheight=984 bcm2708_fb.fbswap=1 smsc95xx.macaddr=DC:A6:32:00:C8:41 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 boot.shell_on_fail boot.debug1devices loglevel=7 init=/nix/store/lgh747x8f4cb59i3dnlc0xfh4iy9pgd3-nixos-system-nixos-20.09pre-git/init"; | |
+ kaslr-seed = <0x00 0x00>; | |
+ rpi-boardrev-ext = <0x00>; | |
+ linux,initrd-start = <0x2e69d000>; | |
}; | |
phy { | |
@@ -2201,6 +2202,7 @@ | |
pwm0_1_gpio19 = "/soc/gpio@7e200000/pwm0_1_gpio19"; | |
pcie0 = "/scb/pcie@7d500000"; | |
uart3_gpio4 = "/soc/gpio@7e200000/uart3_gpio4"; | |
+ i2c_vc = "/soc/i2c0mux/i2c@0"; | |
uart3_ctsrts_gpio6 = "/soc/gpio@7e200000/uart3_ctsrts_gpio6"; | |
pwm1_0_gpio40 = "/soc/gpio@7e200000/pwm1_0_gpio40"; | |
leds = "/leds"; | |
@@ -2223,6 +2225,7 @@ | |
uart4_gpio8 = "/soc/gpio@7e200000/uart4_gpio8"; | |
mii_gpio36 = "/soc/gpio@7e200000/mii_gpio36"; | |
spi = "/soc/spi@7e204000"; | |
+ i2c_arm = "/soc/i2c@7e804000"; | |
i2c0_gpio0 = "/soc/gpio@7e200000/i2c0_gpio0"; | |
pwm0_1_gpio45 = "/soc/gpio@7e200000/pwm0_1_gpio45"; | |
uart3_pins = "/soc/gpio@7e200000/uart3_pins"; | |
@@ -2323,6 +2326,7 @@ | |
spi4_gpio4 = "/soc/gpio@7e200000/spi4_gpio4"; | |
i2c_slave_gpio8 = "/soc/gpio@7e200000/i2c_slave_gpio8"; | |
cpu0 = "/cpus/cpu@0"; | |
+ i2c = "/soc/i2c@7e804000"; | |
i2c5_pins = "/soc/gpio@7e200000/i2c5"; | |
v3dbus = "/v3dbus"; | |
audio_pins = "/soc/gpio@7e200000/audio_pins"; | |
@@ -2346,6 +2350,13 @@ | |
}; | |
}; | |
+ axi { | |
+ | |
+ vc_mem { | |
+ reg = <0x3ec00000 0x40000000 0xc0000000>; | |
+ }; | |
+ }; | |
+ | |
__overrides__ { | |
i2c1 = "\0\0\02status"; | |
spi_dma4 = <0x30 0x646d6173 0x3a303d00 0x3d 0x30 0x646d6173 0x3a383d00 0x3d>; | |
@@ -2358,28 +2369,34 @@ | |
sd_force_pio = "\0\0\06brcm,force-pio?"; | |
i2c0_baudrate = [00 00 00 10 63 6c 6f 63 6b 2d 66 72 65 71 75 65 6e 63 79 3a 30 00]; | |
krnbt_baudrate = "\0\0\0,max-speed:0"; | |
+ i2c_vc = [00 00 00 10 73 74 61 74 75 73 00 00 00 00 31 73 74 61 74 75 73 00]; | |
uart0 = "\0\0\0-status"; | |
eth_led1 = "\0\0\0+led-modes:4"; | |
pwr_led_gpio = "\0\0\0<gpios:4"; | |
act_led_gpio = "\0\0\0;gpios:4"; | |
spi = "\0\0\00status"; | |
+ i2c_arm = "\0\0\02status"; | |
i2c1_baudrate = "\0\0\02clock-frequency:0"; | |
cam0-pwdn-ctrl; | |
act_led_activelow = "\0\0\0;gpios:8"; | |
krnbt = "\0\0\0,status"; | |
i2s = "\0\0\0/status"; | |
+ i2c_vc_baudrate = [00 00 00 10 63 6c 6f 63 6b 2d 66 72 65 71 75 65 6e 63 79 3a 30 00]; | |
sd_poll_once = "\0\0\0:non-removable?"; | |
i2c0 = [00 00 00 10 73 74 61 74 75 73 00 00 00 00 31 73 74 61 74 75 73 00]; | |
sd_debug = "\0\0\06brcm,debug"; | |
cam0-led-ctrl; | |
+ i2c_baudrate = "\0\0\02clock-frequency:0"; | |
sd_pio_limit = "\0\0\06brcm,pio-limit:0"; | |
cam0-led; | |
pwr_led_trigger = "\0\0\0<linux,default-trigger"; | |
+ i2c_arm_baudrate = "\0\0\02clock-frequency:0"; | |
pwr_led_activelow = "\0\0\0<gpios:8"; | |
axiperf = "\0\0\09status"; | |
uart1 = "\0\0\0.status"; | |
sdio_overclock = "\0\0\07brcm,overclock-50:0\0\0\0\08brcm,overclock-50:0"; | |
watchdog = "\0\0\04status"; | |
+ i2c = "\0\0\02status"; | |
act_led_trigger = "\0\0\0;linux,default-trigger"; | |
eth_led0 = "\0\0\0+led-modes:0"; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment