From b176592e73b8a32d4614b549f7a1ab6d4ffeec5e Mon Sep 17 00:00:00 2001 From: Lukas Rusak Date: Tue, 20 Jun 2017 11:38:01 -0700 Subject: [PATCH] Slice: cleanup dt-blob.bin --- packages/linux/package.mk | 6 -- projects/RPi/devices/Slice/config/dt-blob.bin | Bin 4171 -> 0 bytes projects/RPi/devices/Slice/config/dt-blob.dts | 92 ---------------- projects/RPi/devices/Slice/options | 2 +- .../RPi/devices/Slice3/config/dt-blob.bin | Bin 4451 -> 0 bytes .../RPi/devices/Slice3/config/dt-blob.dts | 98 ------------------ projects/RPi/devices/Slice3/options | 2 +- 7 files changed, 2 insertions(+), 198 deletions(-) delete mode 100644 projects/RPi/devices/Slice/config/dt-blob.bin delete mode 100644 projects/RPi/devices/Slice/config/dt-blob.dts delete mode 100644 projects/RPi/devices/Slice3/config/dt-blob.bin delete mode 100644 projects/RPi/devices/Slice3/config/dt-blob.dts diff --git a/packages/linux/package.mk b/packages/linux/package.mk index c41b37e4c6..5ff874a8fd 100644 --- a/packages/linux/package.mk +++ b/packages/linux/package.mk @@ -135,16 +135,10 @@ post_patch() { for f in $PROJECT_DIR/$PROJECT/config/*-overlay.dts; do [ -f "$f" ] && cp -v $f $PKG_BUILD/arch/$TARGET_KERNEL_ARCH/boot/dts/overlays done - if [ -f $PROJECT_DIR/$PROJECT/config/dt-blob.dts ]; then - cp -v $PROJECT_DIR/$PROJECT/config/dt-blob.dts $PKG_BUILD/arch/$TARGET_KERNEL_ARCH/boot/dts - fi if [ -n "$DEVICE" ]; then for f in $PROJECT_DIR/$PROJECT/devices/$DEVICE/config/*-overlay.dts; do [ -f "$f" ] && cp -v $f $PKG_BUILD/arch/$TARGET_KERNEL_ARCH/boot/dts/overlays done - if [ -f $PROJECT_DIR/$PROJECT/devices/$DEVICE/config/dt-blob.dts ]; then - cp -v $PROJECT_DIR/$PROJECT/devices/$DEVICE/config/dt-blob.dts $PKG_BUILD/arch/$TARGET_KERNEL_ARCH/boot/dts - fi fi } diff --git a/projects/RPi/devices/Slice/config/dt-blob.bin b/projects/RPi/devices/Slice/config/dt-blob.bin deleted file mode 100644 index f4f373db200b959d241ed383a81d030ce3dd4bd3..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4171 zcmcIn-EPw`6n6P9KVn?$3CaaX2tk@LxIwKt#Mruanu@rzN}6`oQYWO&$}V^oUWNzY zMR)^*IOn8sld4G@2O_z#PyL-^`+T2c|9tT07h^lejIq~@J^T&tCr}_sdU4AYm z=h#I1T`2V+@;pBB=Mt^4y$afJ_e7e!m>aM}978OT z#}G>dGQ<*zG&UNBDwYkc`#o66y7W29QOH=!skI^^23YP# z%|hPg??+9|xiVwSJHMch-P9>1HNHZAZdk`cer~{Oe*TO3ZODP<^#6}#ujpV-XU~K` z`QI&D>tNe4E^}yC(1Km4g>~OOoJ$_hit}J=E!+ej4PiMnX{c|pK3We3*wP%w@!)>+ z3<_#AZ_cS4Xf14;zjZNCGwb#k^toQYc2-BTkuwZO=!M3-y1%T(OpQOQ5o14ln*X#8 z=6w?Zm6ltT}V@Fe-{K>azCl^CsVyT{Ky_OR<#KAtXopda$(c)oMNXReCxqcv)` zPCuQX$7TE@_V_!tmzdW3(@ys|t#8!RQSIB;)}mh$1K;()_lBWRR}7{%g$uP3zGO26 sC;uqm@K!DxM-ndPU>=2dJ)f!2l@oQ&r){RL0+-2X`q>THICQ_Tzj2#tyZ`_I diff --git a/projects/RPi/devices/Slice/config/dt-blob.dts b/projects/RPi/devices/Slice/config/dt-blob.dts deleted file mode 100644 index 443b31b7c8..0000000000 --- a/projects/RPi/devices/Slice/config/dt-blob.dts +++ /dev/null @@ -1,92 +0,0 @@ -/dts-v1/; - -/ { - videocore { - - pins_cm { - - pin_config { - - pin@default { - polarity = "active_high"; - termination = "pull_down"; - startup_state = "inactive"; - function = "input"; - }; // pin - - // BANK 0 // - pin@p0 { function = "input"; termination = "pull_up"; }; // NOT USED (DEFAULT STATE) - pin@p1 { function = "input"; termination = "pull_up"; }; // NOT USED (DEFAULT STATE) - pin@p2 { function = "input"; termination = "pull_up"; }; // NOT USED (DEFAULT STATE) - pin@p3 { function = "input"; termination = "pull_up"; }; // NOT USED (DEFAULT STATE) - pin@p4 { function = "input"; termination = "pull_up"; }; // NOT USED (DEFAULT STATE) - pin@p5 { function = "input"; termination = "pull_up"; }; // NOT USED (DEFAULT STATE) - pin@p6 { function = "input"; termination = "pull_up"; }; // NOT USED (DEFAULT STATE) - pin@p7 { function = "input"; termination = "pull_up"; }; // NOT USED (DEFAULT STATE) - pin@p8 { function = "input"; termination = "pull_up"; }; // NOT USED (DEFAULT STATE) - pin@p9 { function = "input"; termination = "pull_down"; }; // NOT USED (DEFAULT STATE) - pin@p10 { function = "input"; termination = "pull_down"; }; // NOT USED (DEFAULT STATE) - pin@p11 { function = "input"; termination = "pull_down"; }; // NOT USED (DEFAULT STATE) - pin@p12 { function = "input"; termination = "pull_down"; }; // NOT USED (DEFAULT STATE) - pin@p13 { function = "input"; termination = "pull_down"; }; // NOT USED (DEFAULT STATE) - pin@p14 { function = "uart0"; termination = "no_pulling"; }; // UART0_TX - pin@p15 { function = "uart0"; termination = "pull_up"; }; // UART0_RX - pin@p16 { function = "input"; termination = "pull_down"; }; // NOT USED (DEFAULT STATE) - pin@p17 { function = "input"; termination = "pull_down"; }; // NOT USED (DEFAULT STATE) - pin@p18 { function = "input"; termination = "pull_down"; }; // NOT USED (DEFAULT STATE) - pin@p19 { function = "input"; termination = "pull_down"; }; // NOT USED (DEFAULT STATE) - pin@p20 { function = "input"; termination = "pull_down"; }; // NOT USED (DEFAULT STATE) - pin@p21 { function = "input"; termination = "pull_down"; }; // NOT USED (DEFAULT STATE) - pin@p22 { function = "input"; termination = "pull_down"; }; // NOT USED (DEFAULT STATE) - pin@p23 { function = "input"; termination = "pull_down"; }; // NOT USED (DEFAULT STATE) - pin@p24 { function = "input"; termination = "pull_down"; }; // NOT USED (DEFAULT STATE) - pin@p25 { function = "input"; termination = "pull_down"; }; // NOT USED (DEFAULT STATE) - pin@p26 { function = "input"; termination = "pull_down"; }; // NOT USED (DEFAULT STATE) - pin@p27 { function = "input"; termination = "pull_down"; }; // NOT USED (DEFAULT STATE) - - // BANK 1 // - pin@p28 { function = "pcm"; termination = "no_pulling"; }; // PCM_CLK - pin@p29 { function = "pcm"; termination = "no_pulling"; }; // PCM_FS - pin@p30 { function = "pcm"; termination = "no_pulling"; }; // PCM_DIN - pin@p31 { function = "pcm"; termination = "no_pulling"; }; // PCM_DOUT - pin@p32 { function = "gp_clk"; termination = "no_pulling"; }; // PCM_MCLK (GPCLK0) - pin@p33 { function = "output"; termination = "no_pulling"; polarity = "active_low"; startup_state = "inactive"; }; // AUD_RST_N - pin@p34 { function = "input"; termination = "pull_up"; }; // NOT USED - pin@p35 { function = "output"; termination = "no_pulling"; polarity = "active_high"; startup_state = "active"; }; // USB_ON - pin@p36 { function = "input"; termination = "no_pulling"; }; // RTC_IRQ - pin@p37 { function = "input"; termination = "no_pulling"; }; // IR_RX - pin@p38 { function = "output"; termination = "no_pulling"; polarity = "active_high"; startup_state = "inactive"; }; // STBY_LED - pin@p39 { function = "output"; termination = "no_pulling"; polarity = "active_high"; startup_state = "inactive"; }; // DISK_OFF - pin@p40 { function = "pwm"; termination = "no_pulling"; }; // LED_PWM - pin@p41 { function = "output"; termination = "no_pulling"; }; // LAN_RUN - pin@p42 { function = "gp_clk"; termination = "no_pulling"; }; // ETH_CLK (GPCLK1) - pin@p43 { function = "output"; termination = "pull_down"; polarity = "active_high"; startup_state = "inactive"; }; // LEDS_ON - pin@p44 { function = "i2c1"; termination = "no_pulling"; }; // SDA1 - pin@p45 { function = "i2c1"; termination = "no_pulling"; }; // SCL1 - - // BANK 2 // - pin@p46 { function = "input"; termination = "no_pulling"; drive_strength_mA = <8>; polarity = "active_high"; }; // HPD_N - pin@p47 { function = "output"; termination = "no_pulling"; drive_strength_mA = <8>; polarity = "active_low"; startup_state = "active"; }; // EMMC_DISABLE_N CONTROL - pin@p48 { function = "sdcard"; termination = "pull_up"; drive_strength_mA = <8>; }; // SD CLK - pin@p49 { function = "sdcard"; termination = "pull_up"; drive_strength_mA = <8>; }; // SD CMD - pin@p50 { function = "sdcard"; termination = "pull_up"; drive_strength_mA = <8>; }; // SD D0 - pin@p51 { function = "sdcard"; termination = "pull_up"; drive_strength_mA = <8>; }; // SD D1 - pin@p52 { function = "sdcard"; termination = "pull_up"; drive_strength_mA = <8>; }; // SD D2 - pin@p53 { function = "sdcard"; termination = "pull_up"; drive_strength_mA = <8>; }; // SD D3 - - }; // pin_config - - pin_defines { - pin_define@HDMI_CONTROL_ATTACHED { type = "internal"; number = <46>; }; // HPD_N on GPIO46 - pin_define@LAN_RUN { type = "internal"; number = <41>; }; // LAN_RUN - }; // pin_defines - - }; // pins_cm - - clock_setup { - clock@PWM { freq = < 2400000>; }; // LEDS PWM CLOCK - clock@GPCLK1 { freq = <25000000>; }; // ETH_CLK - }; // clock_setup - - }; // videocore -}; diff --git a/projects/RPi/devices/Slice/options b/projects/RPi/devices/Slice/options index a2566ab649..612ff1b53c 100644 --- a/projects/RPi/devices/Slice/options +++ b/projects/RPi/devices/Slice/options @@ -1,2 +1,2 @@ # Additional kernel make parameters - KERNEL_MAKE_EXTRACMD+=" dt-blob.dtb overlays/slice.dtbo overlays/ws2812.dtbo" + KERNEL_MAKE_EXTRACMD+=" overlays/slice.dtbo overlays/ws2812.dtbo" diff --git a/projects/RPi/devices/Slice3/config/dt-blob.bin b/projects/RPi/devices/Slice3/config/dt-blob.bin deleted file mode 100644 index 6958aae3943678be8f617a845b6a62ebfee6bac0..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4451 zcmcJT>u%F96vtie$b6|+EPyESn85dE8kAnvc4Tl-78DoYfBx_30L`Xd27@y<0~`w3YwxiS7;SD zmRbdmrB(rCsZ|hZZ9Ir%5;khw@4-mcML;nexkzF;GgbbLo-*VjYZ!t=wmbUm6B>TpbHH!N(SNJk@EqPvfh2Uw3spSZIxm7ssG$ zQ4DYJ`v!hHU=lg)JIcip%)`AvOOIJa`arr=tgD`(~A-fr(BZ6EYc zjt;uCb#l^b?{#+ZCAiQp#^*bBDOn^2J{sXdJM!1Y0$dAqG`p=nJ^I{N&$JIN3Vl3X z;-k~+wP~l{df)Bj{TSMU=laFA9QO{7>G5t0ovhQA=Y>An-F1DunEAlAsP=e%;GNMa zlgSyqrpnF3FFo`)AJ2XA_y?Bfn&yYYcK1_u&BJluuYJF4&fZJwz`Py?{vhJ=ioj4$ z;7A(xDdVgY|vfO#0bkZX7Dr7{&ldmiyqlkSYe*vdF Bm>B>7 diff --git a/projects/RPi/devices/Slice3/config/dt-blob.dts b/projects/RPi/devices/Slice3/config/dt-blob.dts deleted file mode 100644 index 938b72fa2c..0000000000 --- a/projects/RPi/devices/Slice3/config/dt-blob.dts +++ /dev/null @@ -1,98 +0,0 @@ -/dts-v1/; - -/ { - videocore { - - pins_cm3 { - - pin_config { - - pin@default { - polarity = "active_high"; - termination = "pull_down"; - startup_state = "inactive"; - function = "input"; - }; // pin - - // BANK 0 // - pin@p0 { function = "input"; termination = "pull_up"; }; // NOT USED (DEFAULT STATE) - pin@p1 { function = "input"; termination = "pull_up"; }; // NOT USED (DEFAULT STATE) - pin@p2 { function = "input"; termination = "pull_up"; }; // NOT USED (DEFAULT STATE) - pin@p3 { function = "input"; termination = "pull_up"; }; // NOT USED (DEFAULT STATE) - pin@p4 { function = "input"; termination = "pull_up"; }; // NOT USED (DEFAULT STATE) - pin@p5 { function = "input"; termination = "pull_up"; }; // NOT USED (DEFAULT STATE) - pin@p6 { function = "input"; termination = "pull_up"; }; // NOT USED (DEFAULT STATE) - pin@p7 { function = "input"; termination = "pull_up"; }; // NOT USED (DEFAULT STATE) - pin@p8 { function = "input"; termination = "pull_up"; }; // NOT USED (DEFAULT STATE) - pin@p9 { function = "input"; termination = "pull_down"; }; // NOT USED (DEFAULT STATE) - pin@p10 { function = "input"; termination = "pull_down"; }; // NOT USED (DEFAULT STATE) - pin@p11 { function = "input"; termination = "pull_down"; }; // NOT USED (DEFAULT STATE) - pin@p12 { function = "input"; termination = "pull_down"; }; // NOT USED (DEFAULT STATE) - pin@p13 { function = "input"; termination = "pull_down"; }; // NOT USED (DEFAULT STATE) - pin@p14 { function = "uart0"; termination = "no_pulling"; }; // UART0_TX - pin@p15 { function = "uart0"; termination = "pull_up"; }; // UART0_RX - pin@p16 { function = "input"; termination = "pull_down"; }; // NOT USED (DEFAULT STATE) - pin@p17 { function = "input"; termination = "pull_down"; }; // NOT USED (DEFAULT STATE) - pin@p18 { function = "input"; termination = "pull_down"; }; // NOT USED (DEFAULT STATE) - pin@p19 { function = "input"; termination = "pull_down"; }; // NOT USED (DEFAULT STATE) - pin@p20 { function = "input"; termination = "pull_down"; }; // NOT USED (DEFAULT STATE) - pin@p21 { function = "input"; termination = "pull_down"; }; // NOT USED (DEFAULT STATE) - pin@p22 { function = "input"; termination = "pull_down"; }; // NOT USED (DEFAULT STATE) - pin@p23 { function = "input"; termination = "pull_down"; }; // NOT USED (DEFAULT STATE) - pin@p24 { function = "input"; termination = "pull_down"; }; // NOT USED (DEFAULT STATE) - pin@p25 { function = "input"; termination = "pull_down"; }; // NOT USED (DEFAULT STATE) - pin@p26 { function = "input"; termination = "pull_down"; }; // NOT USED (DEFAULT STATE) - pin@p27 { function = "input"; termination = "pull_down"; }; // NOT USED (DEFAULT STATE) - - // BANK 1 // - pin@p28 { function = "pcm"; termination = "no_pulling"; }; // PCM_CLK - pin@p29 { function = "pcm"; termination = "no_pulling"; }; // PCM_FS - pin@p30 { function = "pcm"; termination = "no_pulling"; }; // PCM_DIN - pin@p31 { function = "pcm"; termination = "no_pulling"; }; // PCM_DOUT - pin@p32 { function = "gp_clk"; termination = "no_pulling"; }; // PCM_MCLK (GPCLK0) - pin@p33 { function = "output"; termination = "no_pulling"; polarity = "active_low"; startup_state = "inactive"; }; // AUD_RST_N - pin@p34 { function = "input"; termination = "pull_up"; }; // NOT USED - pin@p35 { function = "output"; termination = "no_pulling"; polarity = "active_high"; startup_state = "active"; }; // USB_ON - pin@p36 { function = "input"; termination = "no_pulling"; }; // RTC_IRQ - pin@p37 { function = "input"; termination = "no_pulling"; }; // IR_RX - pin@p38 { function = "output"; termination = "no_pulling"; polarity = "active_high"; startup_state = "inactive"; }; // STBY_LED - pin@p39 { function = "output"; termination = "no_pulling"; polarity = "active_high"; startup_state = "inactive"; }; // DISK_OFF - pin@p40 { function = "pwm"; termination = "no_pulling"; }; // LED_PWM - pin@p41 { function = "output"; termination = "no_pulling"; }; // LAN_RUN - pin@p42 { function = "gp_clk"; termination = "no_pulling"; }; // ETH_CLK (GPCLK1) - pin@p43 { function = "output"; termination = "pull_down"; polarity = "active_high"; startup_state = "inactive"; }; // LEDS_ON - pin@p44 { function = "i2c1"; termination = "no_pulling"; }; // SDA1 - pin@p45 { function = "i2c1"; termination = "no_pulling"; }; // SCL1 - - // BANK 2 // - pin@p46 { function = "input"; termination = "pull_up"; }; // SMPS_SCL - pin@p47 { function = "input"; termination = "pull_up"; }; // SMPS_SDA - pin@p48 { function = "sdcard"; termination = "pull_up"; drive_strength_mA = <8>; }; // SD CLK - pin@p49 { function = "sdcard"; termination = "pull_up"; drive_strength_mA = <8>; }; // SD CMD - pin@p50 { function = "sdcard"; termination = "pull_up"; drive_strength_mA = <8>; }; // SD D0 - pin@p51 { function = "sdcard"; termination = "pull_up"; drive_strength_mA = <8>; }; // SD D1 - pin@p52 { function = "sdcard"; termination = "pull_up"; drive_strength_mA = <8>; }; // SD D2 - pin@p53 { function = "sdcard"; termination = "pull_up"; drive_strength_mA = <8>; }; // SD D3 - pin@p128 { function = "input"; termination = "no_pulling"; polarity = "active_low"; }; // Hotplug - pin@p129 { function = "output"; termination = "no_pulling"; polarity = "active_low"; }; // EMMC_ENABLE_N - - - }; // pin_config - - pin_defines { - pin_define@HDMI_CONTROL_ATTACHED { type = "external"; number = <0>; }; // HPD_N on external gpio - pin_define@LAN_RUN { type = "internal"; number = <41>; }; // LAN_RUN - pin_define@EMMC_ENABLE { type = "external"; number = <1>; }; - pin_define@SMPS_SDA { type = "internal"; number = <46>; }; - pin_define@SMPS_SCL { type = "internal"; number = <47>; }; - }; // pin_defines - - }; // pins_cm - - clock_setup { - clock@PWM { freq = < 2400000>; }; // LEDS PWM CLOCK - clock@GPCLK1 { freq = <25000000>; }; // ETH_CLK - }; // clock_setup - - }; // videocore -}; diff --git a/projects/RPi/devices/Slice3/options b/projects/RPi/devices/Slice3/options index a2566ab649..612ff1b53c 100644 --- a/projects/RPi/devices/Slice3/options +++ b/projects/RPi/devices/Slice3/options @@ -1,2 +1,2 @@ # Additional kernel make parameters - KERNEL_MAKE_EXTRACMD+=" dt-blob.dtb overlays/slice.dtbo overlays/ws2812.dtbo" + KERNEL_MAKE_EXTRACMD+=" overlays/slice.dtbo overlays/ws2812.dtbo"